Download Print this page

Hitachi H8S/2633 Hardware Manual page 415

Advertisement

Mode 7: In mode 7, port E pins function as I/O ports. Input or output can be specified for each pin
on a bit-by-bit basis. Setting a PEDDR bit to 1 makes the corresponding port E pin an output port,
while clearing the bit to 0 makes the pin an input port.
Port E pin functions in mode 7 are shown in figure 10-21.
10.11.4 MOS Input Pull-Up Function
Port E 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 to 6 when 8-bit bus mode is selected, or in mode 7,
and can be specified as on or off on an individual bit basis.
When a PEDDR bit is cleared to 0 in mode 4 to 6 when 8-bit bus mode is selected, or in mode 7,
setting the corresponding PEPCR 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 power-on reset, and in hardware standby
mode. The prior state is retained by a manual reset or in software standby mode.
Table 10-19 summarizes the MOS input pull-up states.
Table 10-19 MOS Input Pull-Up States (Port E)
Modes
7
4 to 6
8-bit bus
16-bit bus
Legend:
OFF
: MOS input pull-up is always off.
ON/OFF : On when PEDDR = 0 and PEPCR = 1; otherwise off.
Port E
Figure 10-21 Port E Pin Functions (Mode 7)
Power-On
Hardware
Reset
Standby Mode
OFF
OFF
PE7
(I/O)
PE6
(I/O)
PE5
(I/O)
PE4
(I/O)
PE3
(I/O)
PE2
(I/O)
PE1
(I/O)
PE0
(I/O)
Manual
Software
Reset
Standby Mode
ON/OFF
ON/OFF
OFF
OFF
In Other
Operations
ON/OFF
OFF
391

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631