English
Language : 

HD64F2149 Datasheet, PDF (255/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.7.2 Register Configuration
Table 8.12 shows the port 6 register configuration.
Table 8.12 Port 6 Registers
Name
Abbreviation R/W
Initial Value Address*1
Port 6 data direction register
P6DDR
W
H'00
H'FFB9
Port 6 data register
P6DR
R/W
H'00
H'FFBB
Port 6 MOS pull-up control register KMPCR
R/W
H'00
H'FFF2*2
System control register
SYSCR2
R/W
H'00
H'FF83
Notes: 1. Lower 16 bits of the address.
2. KMPCR has the same address as TICRR/TCORAY of TMRX/TMRY. To select
KMPCR, set the HIE bit to 1 in SYSCR and set the MSTP2 bit to 0 in MSTPCRL.
Port 6 Data Direction Register (P6DDR)
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
P67DDR P66DDR P65DDR P64DDR P63DDR P62DDR P61DDR P60DDR
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
P6DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 6. P6DDR cannot be read; if it is, an undefined value will be returned.
Setting a P6DDR bit to 1 makes the corresponding port 6 pin an output pin, while clearing the bit
to 0 makes the pin an input pin.
P6DDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
221