Datasheet

Section 10 I/O Ports
Rev.7.00 Mar. 18, 2009 page 536 of 1136
REJ09B0109-0700
10.15.2 Port G Data Register (PGDR)
PGDR stores output data for the port G pins.
Bit Bit Name Initial Value R/W Description
7 0 Reserved
This bit is always read as 0, and cannot be modified.
6 PG6DR 0 R/W
5 PG5DR 0 R/W
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 I/O.
0 PG0DR 0 R/W
10.15.3 Port G Register (PORTG)
PORTG shows port G pin states.
PORTG cannot be modified.
Bit Bit Name Initial Value R/W Description
7 Undefined Reserved
If this bit is read, it will return an undefined value.
6 PG6 * R
5 PG5 * R
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 PG6 to PG0.