
ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 13 Port 2
13-5
13.2.4 Port 2 Mode Register (P2MOD)
Address: 0F214H
Access: R/W
Access size: 8-bit
Initial value: 00H
7 6 5 4 3 2 1 0
P2MOD
⎯
⎯
⎯
⎯
⎯
⎯
P21MD
P20MD
R/W R/W R/W R/W R/W R/W R/W R/W R/W
Initial
value
0 0 0 0 0 0 0 0
P2MOD is a special function register (SFR) to select the primary function or the secondary function of Port 2.
[Description of Bits]
•
P21MD
(bit 1)
The P21MD bit is used to select the primary function or the secondary function of the P21 pin.
P21MD
Description
0
General-purpose output port function (initial value)
1
High-speed clock (OUTCLK) output function
•
P20MD
(bit 0)
The P20MD bit is used to select the primary function or the secondary function of the P20 pin.
P20MD
Description
0
General-purpose output port function (initial value)
1
Low-speed clock (LSCLK) output function
Note:
• P2 (Port 2) is an output-only pin and does not have the register to select the data direction(input or output).
• The output characteristics of the P2 pins (P20, P21) are VOL1 and VOH1 (described in "Appendix C Electrical
Characteristics") when each bit (P20MD, P21MD) of the corresponding P2MOD register is "1" and are VOL2 and
VOH2 when each bit is "0".
• In 48-pin plastic TQFP, P21 pin is not available.
Содержание ML610471
Страница 12: ...Chapter 1 Overview...
Страница 38: ...Chapter 2 CPU and Memory Space...
Страница 44: ...Chapter 3 Reset Function...
Страница 48: ...Chapter 4 MCU Control Function...
Страница 62: ...Chapter 5 Interrupts...
Страница 82: ...Chapter 6 Clock Generation Circuit...
Страница 94: ...Chapter 7 Time Base Counter...
Страница 105: ...Chapter 8 Capture...
Страница 114: ...Chapter 9 Timer...
Страница 133: ...Chapter 10 Watchdog Timer...
Страница 141: ...Chapter 11 UART...
Страница 164: ...Chapter 12 Port 0...
Страница 173: ...Chapter 13 Port 2...
Страница 180: ...Chapter 14 Port 3...
Страница 188: ...Chapter 15 Port 4...
Страница 199: ...Chapter 16 Port 6...
Страница 205: ...Chapter 17 RC Oscillation Type A D Converter...
Страница 225: ...Chapter 18 LCD Drivers...
Страница 243: ...Chapter 19 Power Supply Circuit...
Страница 245: ...Chapter 20 uEASE Flash Writer System...
Страница 249: ...Chapter 21 Software Development...
Страница 258: ...Appendixes...
Страница 280: ...Revision History...