![](http://datasheet.mmic.net.cn/120000/ML66525-XXTB_datasheet_3559839/ML66525-XXTB_6.png)
Contents - 3
Chapter 4
Memory Control Functions
4.1
Overview............................................................................................................................ 4-1
4.2
Memory Control Function Registers.................................................................................. 4-1
4.3
ROM Window Function..................................................................................................... 4-2
4.4
READY Function............................................................................................................... 4-4
4.4.1
ROM Ready Control Register (ROMRDY)............................................................... 4-4
4.4.2
RAM Ready Control Register (RAMRDY)............................................................... 4-5
4.5
EXPANDED RAM Ready Control Register (XPDRDY).................................................. 4-7
Chapter 5
Port Functions
5.1
Overview............................................................................................................................ 5-1
5.2
Hardware Configuration of Each Port................................................................................ 5-3
5.2.1
Type A (P0)................................................................................................................ 5-3
5.2.2
Type B (P1, P2, P3_1, P4) ......................................................................................... 5-4
5.2.3
Type C (P3_3)............................................................................................................ 5-5
5.2.4
Type D (P6, P7, P8, P10_0 to P10_2, P10_4, P10_5, P15, P20, P21) ....................... 5-6
5.2.5
Type E (P12) ..............................................................................................................5-7
5.2.6
Type F (P3_2) ............................................................................................................ 5-8
5.2.7
Type G (P9_0)............................................................................................................ 5-9
5.2.8
Type H (P10_3)........................................................................................................ 5-10
5.2.9
Type I (P13) ............................................................................................................. 5-11
5.3
Port Registers ................................................................................................................... 5-12
5.3.1
Port Data Registers (Pn : n = 0 to 4, 6 to 10, 12, 13, 15, 20, 21).............................. 5-14
5.3.2
Port Mode Registers (PnIO : n = 0 to 4, 6 to 10, 15, 20, 21).................................... 5-14
5.3.3
Port Secondary Function Control Registers
(PnSF : n = 0 to 4, 6 to 10, 15, 20, 21) ..................................................................... 5-15
5.4
Port 0 (P0) ........................................................................................................................ 5-16
5.5
Port 1 (P1) ........................................................................................................................ 5-18
5.6
Port 2 (P2) ........................................................................................................................ 5-20
5.7
Port 3 (P3) ........................................................................................................................ 5-22
5.8
Port 4 (P4) ........................................................................................................................ 5-24
5.9
Port 6 (P6) ........................................................................................................................ 5-26
5.10 Port 7 (P7) ........................................................................................................................ 5-28
5.11 Port 8 (P8) ........................................................................................................................ 5-30
5.12 Port 9 (P9) ........................................................................................................................ 5-32
5.13 Port 10 (P10) .................................................................................................................... 5-34
5.14 Port 12 (P12) .................................................................................................................... 5-37