434
15.3.4 Port B Control Registers (PBCR1 and PBCR2)
PBCR1 and PBCR2 are 16-bit read/write registers that select the functions of the sixteen
multiplexed pins of port B. PBCR1 selects the function of the upper eight bits of port B; PBCR2
selects the function of the lower eight bits of port B. PBCR1 and PBCR2 are initialized to H'0000
by a power-on reset, but are not initialized by a manual reset, or in standby mode or sleep mode.
PBCR1:
Bit: 15 14 13 12 11 10 9 8
Bit name: PB15
MD1
PB15
MD0
PB14
MD1
PB14
MD0
PB13
MD1
PB13
MD0
PB12
MD1
PB12
MD0
Initial value: 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
Bit: 7 6 5 4 3 2 1 0
Bit name: PB11
MD1
PB11
MD0
PB10
MD1
PB10
MD0
PB9
MD1
PB9
MD0
PB8
MD1
PB8
MD0
Initial value: 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
• Bits 15 and 14 (PB15 Mode (PB15MD1 and PB15MD0)): PB15MD1 and PB15MD0 select the
function of the PB15/TP15/IRQ7 pin.
Bit 15: PB15MD1 Bit 14: PB15MD0 Function
0 0 Input/output (PB15) (Initial value)
1 Interrupt request input (IRQ7)
1 0 Reserved
1 Timing pattern output (TP15)
• Bits 13 and 12 (PB14 Mode (PB14MD1 and PB14MD0)): PB14MD1 and PB14MD0 select the
function of the PB14/TP14/IRQ6 pin.
Bit 13: PB14MD1 Bit 12: PB14MD0 Function
0 0 Input/output (PB14) (Initial value)
1 Interrupt request input (IRQ6)
1 0 Reserved
1 Timing pattern output (TP14)