|
SH7729R Datasheet, PDF (663/855 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series | |||
|
◁ |
19.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 19.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 19.1)
Reserved
Port input (Pull-up MOS: on)
Port input (Pull-up MOS: off)
(Initial value)
(n = 4, 6)
Rev. 5.0, 09/03, page 617 of 806
|
▷ |