HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 1256

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 35
35.7.2
PGDR is a register that stores data for pins PTG6 to PTG0. Bits PG6DT to PG0DT correspond to
pins PTG6 to PTG0. When the pin function is general output port, if the port is read, the value of
the corresponding PGDR bit is returned directly. When the function is general input port, if the
port is read, the corresponding pin level is read.
Table 35.7 Port G Data Register (PGDR) Read/Write Operations
Note: n = 0 to 6
Rev. 3.00 Jan. 18, 2008 Page 1194 of 1458
REJ09B0033-0300
Bit
7
6
5
4
3
2
1
0
PGnMD1 PGnMD0 Pin State
0
1
PGCR State
Bit Name
PG6DT
PG5DT
PG4DT
PG3DT
PG2DT
PG1DT
PG0DT
Port G Data Register (PGDR)
0
1
0
1
I/O Ports
Initial
Value
0
0
0
0
0
0
0
0
Other function PGDR value
Output
Input (Pull-up
MOS on)
Input (Pull-up
MOS off)
R/W
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Read
PGDR value
Pin state
Pin state
Description
Reserved
This bit is always read as 0. The write value should always
be 0.
Table 35.7 shows the function of PGDR.
Write
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.
Value is written to PGDR, but does not affect
pin state.

Related parts for HD6417320