English
Language : 

HD6413008VF25 Datasheet, PDF (195/688 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
7. I/O Ports
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 4 (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 7.7.
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.
Port 6 Data Register (P6DR): P6DR is an 8-bit readable/writable register that stores output data
for port 6. When port 6 functions as an output port, the value of this register is output. For bit 7, a
value of 1 is returned if the bit is read while the PSTOP bit in MSTCRH is cleared to 0, and the
P67 pin logic level is returned if the bit is read while the PSTOP bit is set to 1. Bit 7 cannot be
modified. For bits 6 to 0, the pin logic level is returned if the bit is read while the corresponding
bit in P6DDR is cleared to 0, and the P6DR value is returned if the bit is read while the
corresponding bit in P6DDR is set to 1.
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
P67
P6 6
P6 5
P6 4
P6 3
P6 2
P6 1
P6 0
1
0
0
0
0
0
0
0
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Port 6 data 7 to 0
These bits store data for port 6 pins
P6DR is initialized to H'80 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
Rev.4.00 Aug. 20, 2007 Page 149 of 638
REJ09B0395-0400