Datasheet

Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 376 of 980
REJ09B0050-0600
9.9.6 Port B MOS Input Pull-Up States
Port B has a built-in MOS input pull-up function that can be controlled by software. This MOS
input pull-up function can be used in modes 4 and 7. MOS input pull-up can be specified as on or
off on a bit-by-bit basis.
In modes 4 and 7, when a PBDDR bit is cleared to 0, setting the corresponding PBPCR bit to 1
turns on the MOS input pull-up for that pin.
Table 9.3 summarizes the MOS input pull-up states.
Table 9.3 MOS Input Pull-Up States (Port B)
Mode
Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
1, 2 Off Off Off Off
4, 7 On/Off On/Off
Legend:
Off: MOS input pull-up is always off.
On/Off: On when PBDDR = 0 and PBPCR = 1; otherwise off.