
618
18.3.6
Port B Control Registers (PBCR1 and PBCR2)
PBCR1 and PBCR2 are 16-bit read/write registers that select the functions of the ten multiplexed
pins of port B. PBCR1 selects the functions of the top two bits of port B; PBCR2 selects the
functions of the bottom eight bits of port B.
Port B has bus control signals (RDWR,
RAS
,
CASH
,
CASL
,
WAIT
,
BREQ
,
BACK
) and address
outputs (A21, A20, A19, A18, A17, A16), but there are instances when the register settings that
select these pin functions will be ignored, depending on the operation mode. Refer to table 18.2,
Pin Arrangement by Mode, for details.
PBCR1 and PBCR2 are both initialized to H'0000 by external power-on reset but are not
initialized for manual resets, reset by WDT, standby mode, or sleep mode, so the previous data is
maintained.
Port B Control Register 1 (PBCR1):
Bit:
15
14
13
12
11
10
9
8
—
—
—
—
—
—
—
—
Initial value:
0
0
0
0
0
0
0
0
R/W:
R
R
R
R
R
R
R
R
Bit:
76
5
4
3
2
1
0
—
—
—
—
PB9
MD1
PB9
MD0
PB8
MD1
PB8
MD0
Initial value:
0
0
0
0
0
0
0
0
R/W:
R
R
R
R
R/W
R/W
R/W
R/W
•
Bits 15-4—Reserved: These bits always read as 0. The write value should always be 0.
•
Bits 3 and 2—PB9 Mode (PB9MD1 and PB9MD0): PB9MD1 and PB9MD0 select the
function of the PB9/
IRQ7
/A21/
ADTRG
pin.
Bit 3: PB9MD1
Bit 2: PB9MD0
Description
0
0
General input/output (PB9) (initial value)
1
Interrupt request input (
IRQ7
)
1
0
Address output (A21) (PB9 in single chip mode)
1
A/D conversion trigger input (
ADTRG
)
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...