![LAPIS Semiconductor ML610472 Скачать руководство пользователя страница 189](http://html1.mh-extra.com/html/lapis-semiconductor/ml610472/ml610472_user-manual_3645865189.webp)
ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 15 Port 4
15-1
15. Port 4
15.1 Overview
This LSI includes Port 4 (P42 to P47) which is an 6-bit input/output port.
This Port 4 can have the UART and RC-ADC output functions as the secondary and tertiary functions.
For the UART, see Chapter 11, "UART." For the RC-ADC, see Chapter 17, "RC Oscillation Type A/D Converter."
15.1.1 Features
•
Allows selection of high-impedance output, P-channel open drain output, N-channel open drain output, or CMOS
output for each bit in output mode.
•
Allows selection of high-impedance input, input with a pull-down resistor, or input with a pull-up resistor for each
bit in input mode.
•
The P44 pin can be used as the external clock input pin for the Timer 0 and Timer 2. The P45 pin can be used as
the external clock input pin for the Timer 1 and Timer 3.
•
The UART pins (RXD0, TXD0) and RC-ADC (channel 1) oscillation pins (IN1, CS1, RS1, RT1) can be used as
the secondary functions.
15.1.2 Configuration
Figure 15-1 shows the configuration of Port 4.
P4D
: Port 4 data register
P4DIR
: Port 4 direction register
P4CON0 : Port 4 control register 0
P4CON1 : Port 4 control register 1
P4MOD0 : Port 4 mode register 0
P4MOD1 : Port 4 mode register 1
Figure 15-1 Configuration of Port 4
Data bus
Output for UART (TXD0)
Output for RC-ADC (CS1, RS1, RT1)
P42 to P47
P4DIR
P4MOD0,1
P4CON0,1
V
DD
V
DD
V
SS
V
SS
6
4
Port4
Output
Controller
P4D
V
DD
V
SS
Pull-up
Pull-down
Controller
Input/Output for UART (RXD0)
Input for RC-ADC (IN1)
Input for timer
(T2CK, T3CK)
4
6
Содержание 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...