Datasheet
Section 8 I/O Ports
Rev. 4.00 Sep 27, 2006 page 268 of 1130
REJ09B0327-0400
Pin Selection Method and Pin Functions
PA6/A22/PS2CC/
KIN14/CIN14
The pin function is switched as shown below according to the combination of
operating mode, the KBIOE bit in KBCR2H of the keyboard buffer controller,
the IOSE bit in SYSCR, and bit PA6DDR.
Operating
mode
Modes 1, 2 (EXPE = 0), 3 Mode 2 (EXPE = 1)
KBIOE 0 1 0 1
PA6DDR 0 1 — 01—
IOSE ———— 01—
Pin function PA6
input
pin
PA6
output
pin
PS2CC
output
pin
PA6
input
pin
A22
output
pin
PA6
output
pin
PS2CC
output
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/
KIN13/CIN13
The pin function is switched as shown below according to the combination of
operating mode, the KBIOE bit in KBCR1H of the keyboard buffer controller,
the IOSE bit in SYSCR, and bit PA5DDR.
Operating
mode
Modes 1, 2 (EXPE = 0), 3 Mode 2 (EXPE = 1)
KBIOE 0 1 0 1
PA5DDR 0 1 — 01—
IOSE ———— 01—
Pin function PA5
input
pin
PA5
output
pin
PS2BD
output
pin
PA5
input
pin
A21
output
pin
PA5
output
pin
PS2BD
output
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.