English
Language : 

HD64F2168 Datasheet, PDF (268/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
8.10.4 Pin Functions
The relationship between the operating mode, register setting values, and pin functions are as
follows.
Normal Extended Mode: Port A functions as address output, keyboard input, external control
input of SCI_0 and SCI_2, and also as an I/O port, and input or output can be specified in bit units.
Address 18 and 13 in the following table are expressed by the following logical expressions:
Address 18 = 1:ADFULLE
Address 13 = 1:ADFULLE • CS256E • (CPCSE  IOSE)
• PA7/KIN15/EVENT7/A23, PA6/KIN14/EVENT6/A22, PA5/KIN13/EVENT5/A21,
PA4/KIN12/EVENT4/A20, PA3/KIN11/EVENT3/A19, PA2/KIN10/EVENT2/A18
The function of port A pins is switched according to the combination of address 18 setting and
the PAnDDR bit. When the KMIM bit in KMIMRA of the interrupt controller is cleared to 0,
this pin can be used as the KIN input pin. To use this pin as the KIN input pin, clear the
PAnDDR bit to 0. When this pin is used as EVENT input pin according to bits ECSB3 to
ECSB0 in ECCR of the data transfer controller settings, clear the PAnDDR bit to 0. Though
this pin has been set to the EVENT input pin, to use as the PAn or A1 output pin, set the
PAnDDR bit to 1.
PAnDDR
Address 18
Pin function
[Legend]
n = 7 to 2
m = 15 to 10
l = 23 to 18
0
1
PAn input pins
KINm input pin
EVENTn input pin
1
1
PAn output pin
1
0
Al output pin
• PA1/KIN9/EVENT1/A17/SSE2I
The function of port A pins is switched as shown below according to the combination of the
SSE bit in SEMR of SCI_2, the C/A bit in SMR, the CKE1 bit in SCR, address 13 setting, and
the PA1DDR bit.
When the KMIM9 bit in KMIMRA of the interrupt controller is cleared to 0, this pin can be
used as the KIN9 input pin. To use this pin as the KIN9 input pin, clear the PA1DDR bit to 0.
When this pin is used as EVENT1 input pin according to bits ECSB3 to ECSB0 in ECCR of
the data transfer controller settings, clear the PA1DDR bit to 0. Though this pin has been set to
the EVENT1 input pin, to use as the PA1 or A17 output pin, set the PA1DDR bit to 1.
Rev. 3.00, 03/04, page 228 of 830