HD6417660 RENESAS [Renesas Technology Corp], HD6417660 Datasheet - Page 674

no-image

HD6417660

Manufacturer Part Number
HD6417660
Description
Renesas 32-Bit RISC Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
23.5.2
PGDR is a 5-bit readable/writable register that stores data for pins PTG4 to PTG0. Bits PG4DT to
PG0DT correspond to pins PTG4 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.
If the TE or RE bit is set to 1 in the serial control register _0 (SCSCR_0) of the serial
communication interface with FIFO (SCIF), the SCIF0_TxD or SCIF0_RxD is selected regardless
of the PGCR register setting.
Table 23.5 Port G Data Register (PGDR) Read/Write Operations
Notes: 1. For details on PGCR, refer to section 24, Pin Function Controller (PFC).
Rev. 1.00, 02/04, page 636 of 804
Bit
7 to 5
4
3
2
1
0
PGnMD1*
0
1
PGCR State*
2. n = 0 to 4
3. When n = 1, pin state is a high impedance (output).
Bit Name
PG4DT
PG3DT
PG2DT
PG1DT
PG0DT
Port G Data Register (PGDR)
2
PGnMD0*
0
1
0
1
1
Initial
Value
All 0
0
0
0
0
0
2
Pin State
Other
function
Output
Input (Pull-up
MOS on)*
Input (Pull-up
MOS off)*
R/W
R
R/W
R/W
R/W
R/W
R/W
3
3
Read
PGDR value Value is written to PGDR, but does not affect
PGDR value Write value is output from pin.
Pin state
Pin state
Description
Reserved
These bits are always read as 0. The write value should
always be 0. If 1 is written to these bits, correct operation
cannot be guaranteed.
Table 23.5 shows the function of PGDR.
Write
pin state.
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 HD6417660