
ML610Q421/ML610Q422/ML610421User’s Manual
Chapter 17 Port 0
17 – 1
17. Port 0
17.1 Overview
This LSI includes Port 0 (P00 to P03) which is a 4-bit input port.
17.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.
17.1.2 Configuration
Figure 17-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 17-1 Configuration of Port 0
17.1.3 List of Pins
Pin name
I/O
Description
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
CAP0, CAP1
2
RXD0
1
Pull-up
Pull-down
Controller
P0D
EXICON0
EXICON1
EXICON2
Summary of Contents for ML610421
Page 1: ...ML610Q421 ML610Q422 ML610421 User s Manual Issue Date Feb 9 2015 FEUL610Q421 06...
Page 15: ...Chapter 1 Overview...
Page 44: ...Chapter 2 CPU and Memory Space...
Page 49: ...Chapter 3 Reset Function...
Page 53: ...Chapter 4 MCU Control Function...
Page 69: ...Chapter 5 Interrupts INTs...
Page 93: ...Chapter 6 Clock Generation Circuit...
Page 110: ...Chapter 7 Time Base Counter...
Page 121: ...Chapter 8 Capture...
Page 129: ...Chapter 9 1 kHz Timer 1kHzTM...
Page 135: ...Chapter 10 Timers...
Page 160: ...Chapter 11 PWM...
Page 172: ...Chapter 12 Watchdog Timer...
Page 180: ...Chapter 13 Synchronous Serial Port...
Page 195: ...Chapter 14 UART...
Page 216: ...Chapter 15 I2 C Bus Interface...
Page 231: ...Chapter 16 NMI Pin...
Page 237: ...Chapter 17 Port 0...
Page 246: ...Chapter 18 Port 1...
Page 252: ...Chapter 19 Port 2...
Page 259: ...Chapter 20 Port 3...
Page 270: ...Chapter 21 Port 4...
Page 282: ...Chapter 22 Port A...
Page 290: ...Chapter 23 Melody Driver...
Page 304: ...Chapter 24 RC Oscillation Type A D Converter...
Page 327: ...Chapter 25 Successive Approximation Type A D Converter...
Page 338: ...Chapter 26 LCD Drivers...
Page 371: ...Chapter 27 Battery Level Detector...
Page 378: ...Chapter 28 Power Supply Circuit...
Page 381: ...Chapter 29 On Chip Debug Function...
Page 384: ...Appendixes...
Page 435: ...Revision History...