Datasheet
Section 9 I/O Ports
Rev.6.00 Sep. 27, 2007 Page 403 of 1268
REJ09B0220-0600
9.8.4 MOS Input Pull-Up Function
Port A has a built-in MOS input pull-up function that can be controlled by software. This MOS
input pull-up function can be used by pins PA
7
to PA
5
in modes 4 and 5, and by all pins in modes
6 and 7. MOS input pull-up can be specified as on or off on an individual bit basis.
When a PADDR bit is cleared to 0, setting the corresponding PAPCR bit to 1 turns on the MOS
input pull-up for that pin.
The MOS input pull-up function is in the off state after a reset, and in hardware standby mode.
The prior state is retained in software standby mode.
Table 9.15 summarizes the MOS input pull-up states.
Table 9.15 MOS Input Pull-Up States (Port A)
Modes
Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
6, 7 PA
7
to PA
0
Off Off On/off On/off
4, 5 PA
7
to PA
5
On/off On/off
PA
4
to PA
0
Off Off
Legend:
Off: MOS input pull-up is always off.
On/off: On when PADDR = 0 and PAPCR = 1; otherwise off.