Datasheet

Section 8 I/O Ports
Rev. 2.00 Sep. 28, 2009 Page 192 of 870
REJ09B0429-0200
8.3.2 Port 3 Data Register (P3DR)
P3DR stores output data for the port 3 pins.
Bit Bit Name Initial Value R/W Description
7 P37DR 0 R/W
6 P36DR 0 R/W
5 P35DR 0 R/W
4 P34DR 0 R/W
3 P33DR 0 R/W
2 P32DR 0 R/W
1 P31DR 0 R/W
0 P30DR 0 R/W
Normal extended mode (ADMXE = 0)
Since the port 3 pins function as bidirectional data
bus pins, the value of this register has no effect on
operation.
If this register is read, the P3DR values are read for
the bits with the corresponding P3DDR bits set to 1.
For the bits with the corresponding P3DDR bits
cleared to 0, 1 is read.
Other modes
P3DR stores output data for the port 3 pins that are
used as the general output port.
If this register is read, the P3DR values are read for
the bits with the corresponding P3DDR bits set to 1.
For the bits with the corresponding P3DDR bits
cleared to 0, the pin states are read.
8.3.3 Port 3 Pull-Up MOS Control Register (P3PCR)
P3PCR controls the port 3 built-in input pull-up MOSs.
Bit Bit Name Initial Value R/W Description
7 P37PCR 0 R/W
6 P36PCR 0 R/W
5 P35PCR 0 R/W
4 P34PCR 0 R/W
3 P33PCR 0 R/W
2 P32PCR 0 R/W
1 P31PCR 0 R/W
Normal extended mode (ADMXE = 0)
This register has no effect on operation.
Other modes
When the pins are in the input state, the
corresponding input pull-up MOS is turned on when
a P3PCR bit is set to 1.
0 P30PCR 0 R/W