Datasheet

Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 347 of 980
REJ09B0050-0600
9.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)
9.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 Initial Value R/W Description
7, 6 All 0 Reserved
These bits are always read as 0 and cannot be
modified.
5 P35DDR 0 W
4 P34DDR 0 W
3 P33DDR 0 W
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.
2 P32DDR 0 W
1 P31DDR 0 W
0 P30DDR 0 W