Port G Data Register; Port G Register (Portg) - Renesas H8S/2368 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

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

Port G Register (PORTG)

PORTG shows port G pin states.
PORTG cannot be modified.
Bit
Bit Name
Initial Value
7
Undefined
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. 2.00, 05/03, page 370 of 820
R/W
Description
Reserved
This bit is always read as 0, and cannot be modified.
R/W
An output data for a pin is stored when the pin
function is specified to a general purpose I/O.
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
Reserved
If this bit is read, it will return an undefined value.
R
If a port G read is performed while PGDDR bits are
set to 1, the PGDR values are read. If a port G read
R
is performed while PGDDR bits are cleared to 0, the
R
pin states are read.
R
R
R
R

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents