![LAPIS Semiconductor ML610472 User Manual Download Page 176](http://html1.mh-extra.com/html/lapis-semiconductor/ml610472/ml610472_user-manual_3645865176.webp)
ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 13 Port 2
13-3
13.2.2 Port 2 Data Register (P2D)
Address: 0F210H
Access: R/W
Access size: 8-bit
Initial value: 00H
7 6 5 4 3 2 1 0
P2D
⎯
⎯
⎯
⎯
⎯
⎯
P21D
P20D
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
P2D is a special function register (SFR) to set the output value of the Port 2. The value of this register is output to Port 2.
The value written to P2D is readable.
[Description of Bits]
•
P20D, P21D
(bits 0, 1)
The P20D bits are used to set the output value of the Port 2 pin.
P21D
Description
0
Output level of the P21 pin: ”L”
1
Output level of the P21 pin: ”H”
P20D
Description
0
Output level of the P20 pin: ”L”
1
Output level of the P20 pin: ”H”
Note:
In 48-pin plastic TQFP, P21 pin is not available.
Summary of Contents for ML610472
Page 12: ...Chapter 1 Overview...
Page 38: ...Chapter 2 CPU and Memory Space...
Page 44: ...Chapter 3 Reset Function...
Page 48: ...Chapter 4 MCU Control Function...
Page 62: ...Chapter 5 Interrupts...
Page 82: ...Chapter 6 Clock Generation Circuit...
Page 94: ...Chapter 7 Time Base Counter...
Page 105: ...Chapter 8 Capture...
Page 114: ...Chapter 9 Timer...
Page 133: ...Chapter 10 Watchdog Timer...
Page 141: ...Chapter 11 UART...
Page 164: ...Chapter 12 Port 0...
Page 173: ...Chapter 13 Port 2...
Page 180: ...Chapter 14 Port 3...
Page 188: ...Chapter 15 Port 4...
Page 199: ...Chapter 16 Port 6...
Page 205: ...Chapter 17 RC Oscillation Type A D Converter...
Page 225: ...Chapter 18 LCD Drivers...
Page 243: ...Chapter 19 Power Supply Circuit...
Page 245: ...Chapter 20 uEASE Flash Writer System...
Page 249: ...Chapter 21 Software Development...
Page 258: ...Appendixes...
Page 280: ...Revision History...