English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (33/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 2 PIN FUNCTIONS
2.2 Description of Pin Functions
2.2.1 P12, P13 (port 1)
P12 and P13 function as a 2-bit I/O port. These pins also function as pins for key interrupt and serial interface data
I/O. P13 can be selected to function as pins, using port function register 1 (PF1) (see Figure 4-19).
The following operation modes can be specified in 1-bit units.
(1) Port mode
P12 and P13 function as a 2-bit I/O port. P12 and P13 can be set to input or output port 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
P12 and P13 function as key interrupt and serial interface data I/O.
(a) KR3, KR4
These are key interrupt input pins.
(b) RxD0, RxD6
These are the serial data input pins of the asynchronous serial interface.
(c) TxD0, TxD6
These are the serial data output pins of the asynchronous serial interface.
2.2.2 P20 to P25 (port 2)
P20 to P25 function as a 6-bit I/O port. These pins also function as pins for segment signal output pins for the LCD
controller/driver, 10-bit successive approximation type A/D converter analog input (μPD78F041x only). Either I/O port
function or segment signal output function can be selected using port function register 2 (PF2).
The following operation modes can be specified in 1-bit units.
(1) Port mode
P20 to P25 function as a 6-bit I/O port. P20 to P25 can be set to input or output port in 1-bit units using port
mode register 2 (PM2).
(2) Control mode
P20 to P25 function as segment signal output for the LCD controller/driver and 10-bit successive approximation
type A/D converter analog input (μPD78F041x only).
(a) SEG16 to SEG21
These pins are the segment signal output pins for the LCD controller/driver.
(b) ANI0 to ANI5 (μPD78F041x only)
These are 10-bit successive approximation type A/D converter analog input pins. When using these pins as
analog input pins, see (5) ANI0/SEG21/P20 to ANI5/SEG16/P25 pins in 12.6 Cautions for 10-bit
successive approximation type A/D Converter.
Caution P20 to P25 are set in the digital input mode after release of reset.
User’s Manual U18698EJ1V0UD
31