English
Language : 

HD64F2145 Datasheet, PDF (234/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
• PA6/A22/.,147/CIN14/PS2CC
The pin function is switched as shown below according to the combination of operating mode,
the KBIOE bit in KBCRH_2 of the keyboard buffer controller, the IOSE bit in SYSCR, and
the PA6DDR bit.
Operating
Mode
Modes 1, 2 (EXPE = 0), 3
Mode 2 (EXPE = 1)
KBIOE
0
1
0
1
PA6DDR
0
1
—
0
1
—
IOSE
—
—
—
—
0
1
—
Pin
Function
PA6 PA6 output PS2CC
PA6 A22 output PA6 output PS2CC
input pin
pin
output pin input pin
pin
pin
output pin
.,147 input pin, CIN14 input pin, PS2CC input pin*
Note:* When the KBIOE bit is set to 1 or the IICS bit in STCR is set to 1, this pin is an NMOS
open-drain output, and has direct bus drive capability. This pin can always be used as the
PS2CC, .,147, or CIN14 input pin.
• PA5/A21/.,146/CIN13/PS2BD
The pin function is switched as shown below according to the combination of operating mode,
the KBIOE bit in KBCRH_1 of the keyboard buffer controller, the IOSE bit in SYSCR, and
the PA5DDR bit.
Operating
Mode
Modes 1, 2 (EXPE = 0), 3
Mode 2 (EXPE = 1)
KBIOE
0
1
0
1
PA5DDR
0
1
—
0
1
—
IOSE
—
—
—
—
0
1
—
Pin
Function
PA5
PA5
PS2BD
PA5
A21
PA5
PS2BD
input pin output pin output pin input pin output pin output pin output pin
.,146 input pin, CIN13 input pin, PS2BD input pin*
Note:* When the KBIOE bit is set to 1 or the IICS bit in STCR is set to 1, this pin is an NMOS
open-drain output, and has direct bus drive capability. This pin can always be used as the
PS2BD, .,146, or CIN13 input pin.
Rev. 2.0, 08/02, page 194 of 788