Datasheet

Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 492 of 926
REJ09B0283-0300
10.10.5 Pin Functions
Port B pins also function as address outputs. The correspondence between the register
specification and the pin functions is shown below.
PB7/A15, PB6/A14, PB5/A13, PB4/A12, PB3/A11, PB2/A10, PB1/A9, PB0/A8
The pin function is switched as shown below according to the operating mode, bit EXPE, and
bit PBDDR.
Operating
mode
1, 2, 5,
6
43
*
, 7
EXPE 0 1
PBDDR 0 1 0 1 0 1
Pin function Address
output
PB
input
Address
output
PB
input
PB
output
PB
input
Address
output
Note: * Only in H8S/2678R Group.
10.10.6 Port B Input Pull-Up MOS States
Port B has a built-in input pull-up MOS function that can be controlled by software. This input
pull-up MOS function can be used in modes 4 and 7. Input pull-up MOS can be specified as on or
off on a bit-by-bit basis.
In modes 3, 4, and 7, when a PBDDR bit is cleared to 0, setting the corresponding PBPCR bit to 1
turns on the input pull-up MOS for that pin.
Table 10.3 summarizes the input pull-up MOS states.
Table 10.3 Input Pull-Up MOS States (Port B)
Mode Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
1, 2, 5, 6 Off Off
3
*
, 4, 7
Off Off
On/Off On/Off
Legend:
Off: Input pull-up MOS is always off.
On/Off: On when PBDDR = 0 and PBPCR = 1; otherwise off.
Note: * Only in H8S/2678R Group.