English
Language : 

SH7101 Datasheet, PDF (415/486 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
14.5 Port G
Port G is an input-only port with the four pins shown in figure 14.5.
14. I/O Ports
Port G
PG3 (input)
PG2 (input)
PG1 (input)
PG0 (input)
Figure 14.5 Port G
14.5.1 Register Description
Port G is a 4-bit input-only port. Port G has the following register. For details on register addresses
and register states during each processing, refer to section 18, List of Registers.
• Port G data register (PGDR)
14.5.2 Port G Data Register (PGDR)
PGDR is an 8-bit read-only register that stores port G data.
Bits PG3DR to PG0DR correspond to pins PG3 to PG0.
Any value written into these bits is ignored, and there is no effect on the state of the pins. When
any of the bits are read, the pin state rather than the bit value is read directly. Table 14.5
summarizes port G data register read operation.
Initial
Bit
Bit Name Value R/W Description
7 to 4 ⎯
All 0
R
Reserved
These bits are always read as 0.
3
PG3DR 0/1*
R
See table 14.5.
2
PG2DR 0/1*
R
1
PG1DR 0/1*
R
0
PG0DR 0/1*
R
Note: * Initial values are dependent on the state of the external pins.
Rev.2.00 Sep. 27, 2007 Page 381 of 448
REJ09B0394-0200