Datasheet

Section 9 I/O Ports
Rev.6.00 Sep. 27, 2007 Page 389 of 1268
REJ09B0220-0600
9.7.2 Register Configuration
Table 9.11 shows the port 6 register configuration.
Table 9.11 Port 6 Registers
Name Abbreviation R/W Initial Value Address
*
Port 6 data direction register P6DDR W H'00 H'FEB5
Port 6 data register P6DR R/W H'00 H'FF65
Port 6 register PORT6 R Undefined H'FF55
Port function control register 2 PFCR2 R/W H'30 H'FFAC
Note: * Lower 16 bits of the address.
Port 6 Data Direction Register (P6DDR)
Bit : 7 6 5 4 3 2 1 0
P67DDR P66DDR P65DDR P64DDR P63DDR P62DDR P61DDR P60DDR
Initial value : 0 0 0 0 0 0 0 0
R/W : 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 read.
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.