Datasheet
Section 10 I/O Ports
Rev.7.00 Mar. 18, 2009 page 523 of 1136
REJ09B0109-0700
10.12.4 Port D Pull-up Control Register (PDPCR)
PDPCR controls on/off states of the input pull-up MOS of port D. PDPCR is valid in mode 7.
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 PDDDR = 0 (input port), the input pull-up
MOS of the input pin is on when the corresponding
bit is set to 1.
0 PD0PCR 0 R/W
10.12.5 Pin Functions
Port D pins also function as the pins for data I/Os. The correspondence between the register
specification and the pin functions is shown below.
• PD7/D15, PD6/D14, PD5/D13, PD4/D12, PD3/D11, PD2/D10, PD1/D9, PD0/D8
The pin function is switched as shown below according to the operating mode, bit EXPE, and
bit PDDDR.
Operating
mode
1, 2, 4 7
EXPE ⎯ 0 1
PDnDDR ⎯ 0 1 ⎯
Pin function Data I/O PDn input PDn output Data I/O
Legend: n = 7 to 0










