Datasheet

Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 328 of 980
REJ09B0050-0600
9.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 P17DR 0 R/W
6 P16DR 0 R/W
5 P15DR 0 R/W
4 P14DR 0 R/W
Output data for a pin is stored when the pin function
is specified to a general purpose I/O.
3 P13DR 0 R/W
2 P12DR 0 R/W
1 P11DR 0 R/W
0 P10DR 0 R/W
9.1.3 Port 1 Register (PORT1)
PORT1 shows the pin states.
PORT1 cannot be modified.
Bit Bit Name Initial Value R/W Description
7 P17
*
R
6 P16
*
R
5 P15
*
R
4 P14
*
R
If a port 1 read is performed while P1DDR bits are
set to 1, the P1DR values are read. If a port 1 read is
performed while P1DDR bits are cleared to 0, the pin
states are read.
3 P13
*
R
2 P12
*
R
1 P11
*
R
0 P10
*
R
Note: * Determined by the states of pins P17 to P10.