English
Language : 

SH7709S Datasheet, PDF (617/807 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
18.3.4 Port D Control Register (PDCR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PD7 PD7 PD6 PD6 PD5 PD5 PD4 PD4 PD3 PD3 PD2 PD2 PD1 PD1 PD0 PD0
MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0
Initial value: 1 0 1 0 1 0 1 0 1 0 0 0 1 0 1 0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
The port D control register (PDCR) is a 16-bit readable/writable register that selects the pin
functions. PDCR is initialized to H'AA8A by a power-on reset, but is not initialized by a manual
reset, in standby mode, or in sleep mode.
Bits 15 and 14—PD7 Mode 1 and 0 (PD7MD1, PD7MD0)
Bits 11 and 10—PD5 Mode 1 and 0 (PD5MD1, PD5MD0)
Bits 7 and 6—PD3 Mode 1 and 0 (PD3MD1, PD3MD0)
Bits 5 and 4—PD2 Mode 1 and 0 (PD2MD1, PD2MD0)
Bits 3 and 2—PD1 Mode 1 and 0 (PD1MD1, PD1MD0)
Bits 1 and 0—PD0 Mode 1 and 0 (PD0MD1, PD0MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1) Bit 2n
PDnMD1 PDnMD0 Pin Function
0
0
Other function (see table 18.1)
(Initial value) (n = 2)
0
1
Port output
1
0
Port input (Pull-up MOS: on)
(Initial value) (n = 0, 1, 3, 5, 7)
1
1
Port input (Pull-up MOS: off)
(n = 0 to 3, 5, 7)
Bits 13 and 12—PD6 Mode 1 and 0 (PD6MD1, PD6MD0)
Bits 9 and 8—PD4 Mode 1 and 0 (PD4MD1, PD4MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1)
PDnMD1
0
0
1
1
Bit 2n
PDnMD0
0
1
0
1
Pin Function
Other function (see table 18.1)
Reserved
Port input (Pull-up MOS: on)
Port input (Pull-up MOS: off)
(Initial value)
(n = 4, 6)
Rev. 5.00, 09/03, page 573 of 760