Datasheet

Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 499 of 926
REJ09B0283-0300
10.12.5 Pin Functions
Port D pins also function as data I/Os. The correspondence between the register specification and
the pin functions is shown below.
PD7/D15, PD6/D14, PD5/D13, PD4/D12, PD3/D11, PD2/D10, PD1/D9, PD0/D8
The pin function is switched as shown below according to the operating mode, bit EXPE, and
bit PDDDR.
Operating
mode
1, 2, 4, 5, 6 3
*
, 7
EXPE 0 1
PDDDR 0 1
Pin function Data I/O PD input PD output Data I/O
Note: * Only in H8S/2678R Group.
10.12.6 Port D Input Pull-Up MOS States
Port D 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 3
*
and 7. Input pull-up MOS can be specified as on
or off on a bit-by-bit basis.
In modes 3
*
and 7, when a PDDDR bit is cleared to 0, setting the corresponding PDPCR bit to 1
turns on the input pull-up MOS for that pin.
Note: * Only in H8S/2678R Group.
Table 10.5 summarizes the input pull-up MOS states.
Table 10.5 Input Pull-Up MOS States (Port D)
Mode Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
1, 2, 4, 5, 6 Off Off
3
*
, 7
Off Off
On/Off On/Off
Legend:
OFF: Input pull-up MOS is always off.
On/Off: On when PDDDR = 0 and PDPCR = 1; otherwise off.
Note: * Only in H8S/2678R Group.