Datasheet

Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 396 of 980
REJ09B0050-0600
9.14.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
0 PG0DR 0 R/W
An output data for a pin is stored when the pin
function is specified to a general purpose I/O.
9.14.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
0 PG0
*
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.
Note: * Determined by the states of pins PG6 to PG0.