23 port g data register (pgdr) – Renesas SH7781 User Manual
Page 1454

28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1424 of 1658
REJ09B0261-0100
28.2.23
Port G Data Register (PGDR)
PGDR is an 8-bit readable/writable register that stores port G data.
0
1
2
3
4
5
6
7
0
0
0
0
0
0
0
0
PG0DT
PG1DT
PG2DT
PG3DT
PG4DT
PG5DT
PG6DT
PG7DT
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit:
Initial value:
R/W:
Bit Bit
Name
Initial
value R/W Description
7 PG7DT
0 R/W
6 PG6DT
0 R/W
5 PG5DT
0 R/W
4 PG4DT
0 R/W
3 PG3DT
0 R/W
2 PG2DT
0 R/W
1 PG1DT
0 R/W
These bits store output data of a pin which is used as a
general-purpose output port. When the pin functions as
a general-purpose output port, reading the port will read
out the value of the corresponding bit of this register.
When the pin functions as a general-purpose input port,
reading the port will read out the status of the
corresponding pin.
0 PG0DT
0 R/W