
ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 12 Port 0
12-1
12. Port 0
12.1 Overview
This LSI includes the 4-bit, input-only Port 0 (P00 to P03).
12.1.1 Features
•
All bits support a maskable interrupt function.
•
Allows selection of interrupt disabled mode, falling-edge interrupt mode, rising-edge interrupt mode, or
both-edge interrupt mode for each bit.
•
Allows selection of with/without interrupt sampling for each bit. (Sampling frequency: T16KHZ)
•
Allows selection of high-impedance input mode, input mode with a pull-down resistor, or input mode with a
pull-up resistor for each bit.
•
The P00 and P01 pins can be used as the trigger input pins of the capture circuit and the P02 pin can be used as
the RXD0 input pin of UART0.
12.1.2 Configuration
Figure 12-1 shows the configuration of Port 0.
P0D
: Port 0 data register
P0CON0 : Port 0 control register 0
P0CON1 : Port 0 control register 1
EXICON0 : External interrupt control register 0
EXICON1 : External interrupt control register 1
EXICON2 : External interrupt control register 2
Figure 12-1 Configuration of Port 0
12.1.3 List of Pins
Pin name
I/O
Function
P00/EXI0/CAP0 I
Input
port,
External 0 interrupt, Capture 0 trigger signal input
P01/EXI1/CAP1 I
Input
port,
External 1 interrupt, Capture 1 trigger signal input
P02/EXI2/RXD0
I
Input port, External 2 interrupt, UART0 data input (RXD0)
P03/EXI3 I
Input
port,
External 3 interrupt
Data bus
P00INT to P03INT
P00 to P03
P0CON0
P0CON1
Interrupt
Controller
V
DD
V
DD
V
SS
V
SS
4
4
Sampling Clock
T16KHZ
RXD0
1
Pull-up
Pull-down
Controller
P0D
EXICON0
EXICON1
EXICON2
Summary of Contents for ML610471
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...