English
Language : 

3069RF-ZTAT Datasheet, PDF (296/1003 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER
8.7.2 Register Descriptions
Table 8.10 summarizes the registers of port 6.
Table 8.10 Port 6 Registers
Address*
Name
Abbreviation R/W
H'EE005
Port 6 data direction register P6DDR
W
H'FFFD5
Port 6 data register
P6DR
R/W
Note: * Lower 20 bits of the address in advanced mode.
Initial Value
H'80
H'80
Port 6 Data Direction Register (P6DDR): P6DDR is an 8-bit write-only register that can select
input or output for each pin in port 6.
Bit 7 is reserved. It is fixed at 1, and cannot be modified.
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
— P66DDR P65DDR P64DDR P63DDR P62DDR P61DDR P60DDR
1
0
0
0
0
0
0
0
—
W
W
W
W
W
W
W
Reserved bit
Port 6 data direction 6 to 0
These bits select input or output for port 6 pins
Modes 1 to 5 (Expanded Modes): P67 functions as the clock output pin (φ) or an input port. P67 is
the clock output pin (φ) if the PSTOP bit in MSTRCH is cleared to 0 (initial value), and an input
port if this bit is set to 1.
P66 to P63 function as bus control output pins (LWR, HWR, RD, and AS), regardless of the
settings of bits P66DDR to P63DDR.
P62 to P60 function as bus control input/output pins (BACK, BREQ, and WAIT) or input/output
ports. For the method of selecting the pin functions, see table 8.11.
When P62 to P60 function as input/output ports, the pin becomes an output port if the
corresponding P6DDR bit is set to 1, and an input port if this bit is cleared to 0.
Mode 7 (Single-Chip Mode): P67 functions as the clock output pin (φ) or an input port. P66 to
P60 function as generic input/output ports. P67 is the clock output pin (φ) if the PSTOP bit in
MSTCRH is cleared to 0, and an input port if this bit is set to 1 (initial value). A pin in port 6
becomes an output port if the corresponding bit of P66DDR to P60DDR is set to 1, and an input
port if this pin is cleared to 0.
Rev. 5.0, 09/04, page 274 of 978