ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 13 Port 2
13-1
13. Port 2
13.1 Overview
This LSI includes 1-bit Port 2 (P20, P21) dedicated to output.
Port 2 can output low-speed clock (LSCLK), high-speed clock (OUTCLK) as a secondary function. For the clock output,
see Chapter 6, "Clock Generation Circuit."
13.1.1 Features
•
Allows direct LED drive.
•
Allows selection of high-impedance output mode, P-channel open drain output mode, N-channel open drain output
mode, or CMOS output mode for each bit.
•
Allows output of low-speed clock (LSCLK)., high-speed clock (OUTCLK) as a secondary function.
13.1.2 Configuration
Figure 13-1 shows the configuration of Port 2.
P2D
: Port 2 data register
P2CON0 : Port 2 control register 0
P2CON1 : Port 2 control register 1
P2MOD
: Port 2 mode register
Figure 13-1 Configuration of Port 2
13.1.3 List of Pins
Pin name
I/O
Primary function Secondary
function
P20/LED0/LSCLK
O
Output port
Low-speed clock output (LSCLK)
P21/LED1/OUTCLK*
1
O
Output port
High-speed clock output (OUTCLK)
*1:
In 48-pin plastic TQFP, P21 pin is not available.
Data bus
LSCLK
OUTCLK
P20,P21
P2MOD
P2CON0
P2CON1
V
DD
V
DD
V
SS
V
SS
2
2
Port2
Output
Controller
P2D
Содержание ML610472
Страница 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...