10.3
Port 3
Port 3 is a 6-bit I/O port that also has other functions. The port 3 has the following registers.
• Port 3 data direction register (P3DDR)
• Port 3 data register (P3DR)
• Port 3 register (PORT3)
• Port 3 open drain control register (P3ODR)
• Port function control register 2(PFCR2)
10.3.1
Port 3 Data Direction Register (P3DDR)
The individual bits of P3DDR specify input or output for the pins of port 3.
P3DDR cannot be read; if it is, an undefined value will be read.
Bit
Bit Name
7
—
6
—
5
P35DDR
4
P34DDR
3
P33DDR
2
P32DDR
1
P31DDR
0
P30DDR
Initial Value
R/W
0
—
0
—
0
W
0
W
0
W
0
W
0
W
0
W
Description
Reserved
These bits are always read as 0 and cannot be
modified.
When a pin function is specified to a general purpose
I/O, setting this bit to 1 makes the corresponding port
1 pin an output pin, while clearing this bit to 0 makes
the pin an input pin.
Rev. 1.0, 09/01, page 429 of 904