Datasheet
Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 214 of 788
REJ09B0300-0300
Operating
Mode
Mode 1 and Modes 2, 3 (EXPE = 1) Modes 2, 3 (EXPE = 0)
HI12E — 1
CS3E —
Either cleared to 0
1
ABW 0 1 — —
PB2DDR — 0 1 0 1 —
PB2
input pin
PB2
output pin
PB2
input pin
PB2
output pin
CS3
input pin
Pin
Function
D2 I/O pin
WUE2 input pin
*
1
Notes: 1. Except when used as a data bus pin, this pin can always be used as the WUE2 input
pin. The CS3 input pin can only be used in mode 2 or 3 (EXPE = 0).
2. Not supported by the H8S/2148B and H8S/2145B (5-V version).
• PB1/D1/WUE1/HIRQ4/LSCI
*
4
The pin function is switched as shown below according to the combination of the operating
mode, the HI12E and CS4E bits in SYSCR2, the LSCIE bits in HICR0 of host interface (LPC),
the ABW bit in WSCR, and the PB1DDR bit.
Operating
Mode
Modes 1, 2, 3 (EXPE = 1) Mode 2, 3 (EXPE = 0)
LSCIE 0
*
3
01
HI12E — 1 0
*
1
CS4E —
Either cleared to 0
1—
ABW 0 1 — — —
PB1DDR — 0 1 0 1 — 0
*
1
PB1
input pin
PB1
output pin
HIRQ4
output pin
LSCI
*
4
output pin
PB1
input pin
PB1
output pin
LSCI input pin
*
2
Pin
Function
D1 I/O pin
WUE1 input pin
*
2
*
4
Notes: 1. When bit LSCIE is set to 1 in HICR0, bits HI12E and PB1DDR should be cleared to 0.
2. Except when used as a data bus pin, this pin can always be used as the WUE1 input
pin. The HIRQ4 output pin and LSCI I/O pin can only be used in mode 2 or 3 (EXPE =
0).
3. In mode 1, 2, 3 (EXPE = 1), clear the LSCIE bit to 0.
4. Not supported by the H8S/2148B and H8S/2145B (5-V version).