English
Language : 

SH7065 Datasheet, PDF (742/941 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
Section 18 I/O Ports (I/O)
When a pin functions as a general output, if a value is written to PGDRH, that value is output
directly from the pin, and if PGDRH is read, the register value is returned directly regardless of
the pin state.
When a pin functions as a general input, if PGDRH is read the pin state, not the register value, is
returned directly. If a value is written to PGDRH, although that value is written into PGDRH it
does not affect the pin state. Table 18.14 summarizes port G data register read/write operations.
PGDRH is initialized by an external power-on reset, but is not initialized by a WDT reset or in
standby mode or sleep mode.
Table 18.14 Port G Data Register (PGDR) Read/Write Operations
PGIOR
0
1
Pin Function
General input
Other than general
input
General output
Other than general
output
Read
Pin state
Undefined
PGDR value
PGDR value
Write
Value is written to PGDR, but does not
affect pin state
Value is written to PGDR, but does not
affect pin state
Write value is output from pin
Value is written to PGDR, but does not
affect pin state
Rev. 5.00 Sep 11, 2006 page 720 of 916
REJ09B0332-0500