Datasheet

Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 207 of 788
REJ09B0300-0300
PA6/A22/KIN14/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
PA6
input pin
PA6
output pin
PS2CC
output pin
PA6
input pin
A22
output pin
PA6
output pin
PS2CC
output pin
Pin Function
KIN14 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, KIN14, or CIN14 input pin.
PA5/A21/KIN13/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
PA5
input pin
PA5
output pin
PS2BD
output pin
PA5
input pin
A21
output pin
PA5
output pin
PS2BD
output pin
Pin Function
KIN13 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, KIN13, or CIN13 input pin.