English
Language : 

HD64F2149 Datasheet, PDF (277/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
Pin
Selection Method and Pin Functions
PA6/A22/PS2CC/ The pin function is switched as shown below according to the combination of
KIN14/CIN14
operating mode, the KBIOE bit in KBCR2H of the keyboard buffer controller,
the IOSE bit in SYSCR, and bit PA6DDR.
Operating Modes 1, 2 (EXPE = 0), 3
mode
Mode 2 (EXPE = 1)
KBIOE
0
1
0
1
PA6DDR
0
1
—
0
1
—
IOSE
—
—
—
—
0
1
—
Pin function
PA6
input
pin
PA6 PS2CC PA6
output output input
pin
pin
pin
A22 PA6 PS2CC
output output output
pin
pin
pin
KIN14 input pin, CIN14 input pin, PS2CC input pin
When the IICS bit in STCR is set to 1, this pin functions as a bus buffer. This
pin can always be used as the PS2CC, KIN14, or CIN14 input pin.
PA5/A21/PS2BD/ The pin function is switched as shown below according to the combination of
KIN13/CIN13
operating mode, the KBIOE bit in KBCR1H of the keyboard buffer controller,
the IOSE bit in SYSCR, and bit PA5DDR.
Operating Modes 1, 2 (EXPE = 0), 3
mode
Mode 2 (EXPE = 1)
KBIOE
0
1
0
1
PA5DDR
0
1
—
0
1
—
IOSE
—
—
—
—
0
1
—
Pin function
PA5
input
pin
PA5 PS2BD
output output
pin
pin
PA5
input
pin
A21 PA5 PS2BD
output output output
pin
pin
pin
KIN13 input pin, CIN13 input pin, PS2BD input pin
When the IICS bit in STCR is set to 1, this pin functions as a bus buffer. This
pin can always be used as the PS2BD, KIN13, or CIN13 input pin.
243