Datasheet
Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 210 of 788
REJ09B0300-0300
• PA0/A16/ KIN8/CIN8
The pin function is switched as shown below according to the combination of operating mode,
the IOSE bit in SYSCR and the PA0DDR bit.
Operating
Mode
Modes 1, 2 (EXPE = 0), 3 Mode 2 (EXPE = 1)
PA0DDR 0 1 0 1
IOSE — — — 0 1
PA0
input pin
PA0
output pin
PA0
input pin
A16
output pin
PA0
output pin
Pin Function
KIN8 input pin, CIN8 input pin
*
Note: * This pin can always be used as the KIN8 or CIN8 input pin.
8.11.5 Port A Input Pull-Up MOS
Port A has an on-chip input pull-up MOS function that can be controlled by software. This input
pull-up MOS function can be specified as on or off on a bit-by-bit basis.
The input pull-up MOS for pins PA7 to PA4 is always off when IICS is set to 1. When the
keyboard buffer control pin function is selected for pins PA7 to PA2, the input pull-up MOS is
always off.
Table 8.6 summarizes the input pull-up MOS states.
Table 8.6 Input Pull-Up MOS States (Port A)
Mode Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
1 to 3 Off Off On/Off On/Off
Legend:
Off: Input pull-up MOS is always off.
On/Off: On when the pin is in the input state, PADDR = 0, and PAODR = 1; otherwise off.