Datasheet

Section 8 I/O Ports
Rev.7.00 Dec. 24, 2008 Page 217 of 698
REJ09B0074-0700
8.1.2 Port 1 Data Register (P1DR)
P1DR stores output data for the port 1 pins.
Bit Bit Name Initial Value R/W Description
7
6
5
4
3
2
1
0
P17DR
P16DR
P15DR
P14DR
P13DR
P12DR
P11DR
P10DR
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Store output data for a pin that functions as a general
output port.
8.1.3 Port 1 Register (PORT1)
PORT1 indicates the pin states of the port 1.
Bit Bit Name Initial Value R/W Description
7
6
5
4
3
2
1
0
P17
P16
P15
P14
P13
P12
P11
P10
*
*
*
*
*
*
*
*
R
R
R
R
R
R
R
R
If the port 1 is read while P1DDR bits are set to 1, the
P1DR value is read. If the port 1 is read while P1DDR bits
are cleared to 0, the pin states are read.
Note: * Determined by the states of pins P17 to P10.