Port B Control Registers (Pbcr1 And Pbcr2) - Hitachi SH7032 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

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:
Bit name:
Initial value:
R/W:
Bit:
Bit name:
Initial value:
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
0
1
• Bits 13 and 12 (PB14 Mode (PB14MD1 and PB14MD0)): PB14MD1 and PB14MD0 select the
function of the PB14/TP14/IRQ6 pin.
Bit 13: PB14MD1
0
1
434
15
14
PB15
PB15
PB14
MD1
MD0
0
0
R/W
R/W
7
6
PB11
PB11
PB10
MD1
MD0
0
0
R/W
R/W
Bit 14: PB15MD0
Function
0
Input/output (PB15)
1
Interrupt request input (IRQ7)
0
Reserved
1
Timing pattern output (TP15)
Bit 12: PB14MD0
Function
0
Input/output (PB14)
1
Interrupt request input (IRQ6)
0
Reserved
1
Timing pattern output (TP14)
13
12
11
PB14
PB13
MD1
MD0
MD1
0
0
R/W
R/W
R/W
5
4
PB10
PB9
MD1
MD0
MD1
0
0
R/W
R/W
R/W
10
9
PB13
PB12
MD0
MD1
0
0
0
R/W
R/W
3
2
1
PB9
PB8
MD0
MD1
0
0
0
R/W
R/W
8
PB12
MD0
0
R/W
0
PB8
MD0
0
R/W
(Initial value)
(Initial value)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents