Datasheet

Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 345 of 982
REJ09B0054-0600
10.9.4 Port D Pull-Up MOS Control Register (PDPCR)
PDPCR controls the on/off state of port D input pull-up MOS.
Bit Bit Name Initial Value R/W Description
7 PD7PCR 0 R/W
6 PD6PCR 0 R/W
5 PD5PCR 0 R/W
4 PD4PCR 0 R/W
3 PD3PCR 0 R/W
2 PD2PCR 0 R/W
1 PD1PCR 0 R/W
When a pin is specified as an input port, setting the
corresponding bit to 1 turns on the input pull-up MOS
for that pin.
0 PD0PCR 0 R/W
10.9.5 Pin Functions
Port D pins also function as data I/O pins. The values of register and pin functions are shown
below.
PD7/D15, PD6/D14, PD5/D13, PD4/D12, PD3/D11, PD2/D10, PD1/D9, PD0/D8
The pin functions are switched as shown below according to the combination of the operating
mode and the PDnDDR bit.
Operating mode Modes 4 to 6 Mode 7
PDnDDR 0 1
Pin functions Data I/O pin PDn input pin PDn output pin
Note: n = 7 to 0