|
SH7729R Datasheet, PDF (661/855 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series | |||
|
◁ |
19.3.2 Port B Control Register (PBCR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PB7 PB7 PB6 PB6 PB5 PB5 PB4 PB4 PB3 PB3 PB2 PB2 PB1 PB1 PB0 PB0
MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0
Initial value: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 B control register (PBCR) is a 16-bit readable/writable register that selects the pin
functions. PBCR is initialized to H'0000 by a power-on reset, but is not initialized by a manual
reset, in standby mode, or in sleep mode.
Bits 15 and 14âPB7 Mode 1 and 0 (PB7MD1, PB7MD0)
Bits 13 and 12âPB6 Mode 1 and 0 (PB6MD1, PB6MD0)
Bits 11 and 10âPB5 Mode 1 and 0 (PB5MD1, PB5MD0)
Bits 9 and 8âPB4 Mode 1 and 0 (PB4MD1, PB4MD0)
Bits 7 and 6âPB3 Mode 1 and 0 (PB3MD1, PB3MD0)
Bits 5 and 4âPB2 Mode 1 and 0 (PB2MD1, PB2MD0)
Bits 3 and 2âPB1 Mode 1 and 0 (PB1MD1, PB1MD0)
Bits 1 and 0âPB0 Mode 1 and 0 (PB0MD1, PB0MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1)
PBnMD1
0
0
1
1
Bit 2n
PBnMD0
0
1
0
1
Pin Function
Other function (see table 19.1)
Port output
Port input (Pull-up MOS: on)
Port input (Pull-up MOS: off)
(Initial value)
(n = 0 to 7)
Rev. 5.0, 09/03, page 615 of 806
|
▷ |