CHAPTER 2 PIN FUNCTIONS
Preliminary User’s Manual U16846EJ1V0UD
29
2.2 Description of Pin Functions
2.2.1 P00 to P03 (port 0)
P00 to P03 function as a 4-bit I/O port. These pins also function as timer I/O.
The following operation modes can be specified in 1-bit units.
(1) Port
mode
P00 to P03 function as a 4-bit I/O port. P00 to P03 can be set to input or output in 1-bit units using port mode
register 0 (PM0). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 0 (PU0).
(2) Control
mode
P00 to P03 function as timer I/O.
(a) TI000
This is the pins for inputting an external count clock to 16-bit timer/event counter 00 and is also for inputting a
capture trigger signal to the capture registers (CR000, CR010) of 16-bit timer/event counter 00.
(b) TI010
This is the pin for inputting a capture trigger signal to the capture register (CR000) of 16-bit timer/event
counter 00.
(c) TO00
This is a timer output pin.
2.2.2 P10 to P17 (port 1)
P10 to P17 function as an 8-bit I/O port. These pins also function as pins for external interrupt request input, serial
interface data I/O, clock I/O, and timer I/O, and flash memory programming mode setting.
The following operation modes can be specified in 1-bit units.
(1) Port
mode
P10 to P17 function as an 8-bit I/O port. P10 to P17 can be set to input or output in 1-bit units using port mode
register 1 (PM1). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 1 (PU1).
(2) Control
mode
P10 to P17 function as external interrupt request input, serial interface data I/O, clock I/O, and timer I/O, and flash
memory programming mode setting.
(a) SI10
This is a serial data input pin of the serial interface.
(b) SO10
This is a serial data output pin of the serial interface.
(c) SCK10
This is a serial clock I/O pin of the serial interface.
(d) RxD0
Note
, RxD6
These are the serial data input pins of the asynchronous serial interface.