Port 2 Register (Port2) - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

10.2.3

Port 2 Register (PORT2)

PORT2 shows the pin states.
PORT2 cannot be modified.
Bit
Bit Name
7
P27
6
P26
5
P25
4
P24
3
P23
2
P22
1
P21
0
P20
Note: Determined by the states of pins P27 to P20.
Rev. 1.0, 09/01, page 420 of 904
Initial Value
R/W
R
—*
R
—*
R
—*
R
—*
R
—*
R
—*
R
—*
R
—*
Description
If a port 2 read is performed while P2DDR bits are
set to 1, the P2DR values are read. If a port 2 read is
performed while P2DDR bits are cleared to 0, the pin
states are read.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents