CHAPTER 2 PIN FUNCTIONS
Preliminary User’s Manual U16846EJ1V0UD
30
(e) TxD0
Note
, TxD6
These are serial data output pins of the asynchronous serial interface.
Note TxD0 and RxD0 are available only in the
µ
PD78F0102H and 78F0103H.
(f) TI50
This is the pin for inputting an external count clock to 8-bit timer/event counter 50.
(g) TO50, TOH0, and TOH1
These are timer output pins.
(h) INTP5
This is an external interrupt request input pin for which the valid edge (rising edge, falling edge, or both rising
and falling edges) can be specified.
(i) FLMD1
This pin sets the flash memory programming mode.
2.2.3 P20 to P23 (port 2)
P20 to P23 function as a 4-bit input-only port. These pins also function as pins for A/D converter analog input.
The following operation modes can be specified in 1-bit units.
(1) Port
mode
P20 to P23 function as a 4-bit input-only port.
(2) Control
mode
P20 to P23 function as A/D converter analog input pins (ANI0 to ANI3). When using these pins as analog input
pins, see (5) ANI0/P20 to ANI3/P23 in 10.6 Cautions for A/D Converter.
2.2.4 P30 to P33 (port 3)
P30 to P33 function as a 4-bit I/O port. These pins also function as pins for external interrupt request input.
The following operation modes can be specified in 1-bit units.
(1) Port
mode
P30 to P33 function as a 4-bit I/O port. P30 to P33 can be set to input or output in 1-bit units using port mode
register 3 (PM3). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 3 (PU3).
(2) Control
mode
P30 to P33 function as external interrupt request input pins (INTP1 to INTP4) for which the valid edge (rising
edge, falling edge, or both rising and falling edges) can be specified.
2.2.5 P120 (port 12)
P120 functions as a 1-bit I/O port. This pin also functions as a pin for external interrupt request input.
The following operation modes can be specified in 1-bit units.
(1) Port
mode
P120 functions as a 1-bit I/O port. P120 can be set to input or output in 1-bit units using port mode register 12
(PM12). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 12 (PU12).