Port G Data Register; Port G Register (Portg) - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

10.15.2 Port G Data Register (PGDR)
PGDR stores output data for the port G pins.
Bit
Bit Name
7
6
PG6DR
5
PG5DR
4
PG4DR
3
PG3DR
2
PG2DR
1
PG1DR
0
PG0DR

10.15.3 Port G Register (PORTG)

PORTG shows port G pin states.
PORTG cannot be modified.
Bit
Bit Name
7
6
PG6
5
PG5
4
PG4
3
PG3
2
PG2
1
PG1
0
PG0
Note: Determined by the states of pins PG6 to PG0.
Rev. 1.0, 09/01, page 484 of 904
Initial Value
R/W
0
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Initial Value
R/W
Undefined
—*
R
—*
R
—*
R
—*
R
—*
R
—*
R
—*
R
Description
Reserved
This bit is always read as 0, and cannot be modified.
An output data for a pin is stored when the pin
function is specified to a general purpose I/O.
Description
Reserved
If this bit is read, it will return an undefined value.
If a port G read is performed while PGDDR bits are
set to 1, the PGDR values are read. If a port G read
is performed while PGDDR bits are cleared to 0, the
pin states are read.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents