Datasheet

Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 189 of 788
REJ09B0300-0300
8.7.1 Port 6 Data Direction Register (P6DDR)
P6DDR specifies input or output for the pins of port 6 on a bit-by-bit basis.
Bit Bit Name Initial Value R/W Description
7 P67DDR 0 W
6 P66DDR 0 W
5 P65DDR 0 W
4 P64DDR 0 W
3 P63DDR 0 W
2 P62DDR 0 W
1 P61DDR 0 W
0 P60DDR 0 W
The corresponding port 6 pins are output ports
when P6DDR bits are set to 1, and input ports
when cleared to 0.
8.7.2 Port 6 Data Register (P6DR)
P6DR stores output data for port 6.
Bit Bit Name Initial Value R/W Description
7 P67DR 0 R/W
6 P66DR 0 R/W
5 P65DR 0 R/W
4 P64DR 0 R/W
3 P63DR 0 R/W
2 P62DR 0 R/W
1 P61DR 0 R/W
0 P60DR 0 R/W
If a port 6 read is performed while P6DDR bits are
set to 1, the P6DR values are read directly,
regardless of the actual pin states. If a port 6 read
is performed while P6DDR bits are cleared to 0,
the pin states are read.