Hitachi H8S/2646 Hardware Manual page 310

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Port E Register (PORTE)
Bit
:
7
PE7
Initial value :
—*
R/W
:
R
Note: * Determined by state of pins PE7 to PE0.
PORTE is an 8-bit read-only register that shows the pin states. It cannot be written to. Writing of
output data for the port E pins (PE7 to PE0) must always be performed on PEDR.
If a port E read is performed while PEDDR bits are set to 1, the PEDR values are read. If a port E
read is performed while PEDDR bits are cleared to 0, the pin states are read.
Pins used as LCD driver pins will return an undefined value if read.
After a reset and in hardware standby mode, PORTE contents are determined by the pin states, as
PEDDR and PEDR are initialized. PORTE retains its prior state in software standby mode.
Port E MOS Pull-Up Control Register (PEPCR)
Bit
:
7
PE7PCR PE6PCR PE5PCR PE4PCR PE3PCR PE2PCR PE1PCR PE0PCR
Initial value :
0
R/W
:
R/W
PEPCR is an 8-bit readable/writable register that controls the MOS input pull-up function
incorporated into port E on an individual bit basis.
In modes 4 to 6 with 8-bit-bus mode selected, or in mode 7, if a pin is in the input state in
accordance with the settings in LPCR and PEDDR, setting the corresponding PEPCR bit to 1 turns
on the MOS input pull-up for that pin.
PEPCR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
278
6
5
PE6
PE5
PE4
—*
—*
R
R
6
5
0
0
R/W
R/W
R/W
4
3
PE3
PE2
—*
—*
—*
R
R
4
3
0
0
R/W
R/W
2
1
0
PE1
PE0
—*
—*
R
R
R
2
1
0
0
0
0
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents