English
Language : 

HD64F2145 Datasheet, PDF (241/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
• PB2/D2/:8(5*2/&66
The pin function is switched as shown below according to the combination of the operating
mode, the HI12E and CS3E bits in SYSCR2, the ABW bit in WSCR, and the PB2DDR bit.
Operating
Mode
Mode 1 and Modes 2, 3 (EXPE = 1)
Modes 2, 3 (EXPE = 0)
HI12E
—
Either cleared to 0
1
CS3E
—
1
ABW
0
1
—
—
PB2DDR
—
0
1
0
1
—
Pin Function D2 I/O pin
PB2
input pin
PB2
output pin
PB2
input pin
PB2
output pin
&66
input pin
:8(5 input pin*1
Notes: 1. Except when used as a data bus pin, this pin can always be used as the :8(5 input
pin. The &66 input pin can only be used in mode 2 or 3 (EXPE = 0).
2. Not supported by the H8S/2148B.
• PB1/D1/:8(4/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
0
1
HI12E
—
Either cleared to 0
1
0*1
CS4E
—
1
—
ABW
0
1
—
—
—
PB1DDR
—
0
1
0
1
—
0*1
Pin
Function
D1 I/O pin PB1
PB1
PB1
PB1
HIRQ4
LSCI*4
input pin output pin input pin output pin output pin output pin
LSCI input pin*2
:8(4 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 :8(4 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.
Rev. 2.0, 08/02, page 201 of 788