English
Language : 

HD6432633 Datasheet, PDF (486/1453 Pages) Renesas Technology Corp – Series of Microcomputers (MCUs: microcomputer units)
10A.13.2 Register Configuration
Table 10A-22 shows the port G register configuration.
Table 10A-22 Port G Registers
Name
Abbreviation R/W
Port G data direction register
PGDDR
W
Port G data register
PGDR
R/W
Port G register
PORTG
R
Notes: *1 Lower 16 bits of the address.
*2 Value of bits 4 to 0.
*3 The initial value varies according to the mode.
Initial Value*2 Address*1
H'10/H'00*3 H'FE3F
H'00
H'FF0F
Undefined
H'FFBF
Port G Data Direction Register (PGDDR)
Bit
:7
6
5
4
3
2
1
0
—
—
— PG4DDR PG3DDR PG2DDR PG1DDR PG0DDR
Modes 4 and 5
Initial value : Undefined Undefined Undefined 1
0
0
0
0
R/W
:—
—
—
W
W
W
W
W
Modes 6 and 7
Initial value : Undefined Undefined Undefined 0
0
0
0
0
R/W
:—
—
—
W
W
W
W
W
PGDDR is an 8-bit write only register and specifies I/O of each pin of port G in bit units. Read
processing is invalid. Bits 7 to 5 are reserved bits. When the contents are read, undefined values
are read.
In modes 4 and 5, the PG4DDR bits are initialized to H'10 (bits 4 to 0) in power-on reset or
hardware standby mode, in modes 6 and 7, the bits are initialized to H'00 (bits 4 to 0). In manual
reset or software standby mode, PGDDR retains the last status. Use the OPE bit of SBYCR to
select whether the bus control output pin retains the output state or becomes the high-impedance
when the mode is changed to a software standby mode.
• Modes 4 to 6
When PGDDR is set to 1, pins PG4 to PG1 function as bus control signal output pins (CS0 to
CS3 and OE). When PGDDR is cleared to 0, the pins function as input ports.
When the DRAM interface is set, pin PG0 functions as the CAS output pin. When PGDDR is
set to 1, the pin functions as an output port. When PGDDR is cleared to 0, the pin functions as
an input port.
432