Datasheet

Table Of Contents
Section 9 I/O Ports
REJ09B0140-0900 Rev. 9.00 Page 279 of 846
Sep 16, 2010
H8S/2215 Group
9.12.2 Port G Data Register (PGDR)
PGDR stores output data for the port G pins.
Bit Bit Name Initial Value R/W Description
7 to
5
— Undefined Reserved
These bits are undefined and cannot be modified.
4 PG4DR 0 R/W
3 PG3DR 0 R/W
2 PG2DR 0 R/W
1 PG1DR 0 R/W
An output data for a pin is stored when the pin function
is
specified to a general purpose output port.
0 PG0DR 0 R/W
9.12.3 Port G Register (PORTG)
PORTG shows port G pin states.
Bit Bit Name Initial Value R/W Description
7 to
5
— Undefined Reserved
These bits are undefined and cannot be modified.
4 PG4
*
R
3 PG3
*
R
2 PG2
*
R
1 PG1
*
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 is
performed while PGDDR bits are cleared to 0, the pin
states are read.
0 PG0
*
R
Note: * Determined by the states of pins PG4 to PG0.