Datasheet
Section 8 I/O Ports
Rev. 4.00 Sep 27, 2006 page 272 of 1130
REJ09B0327-0400
8.12 Port B
8.12.1 Overview
Port B is an 8-bit I/O port. Port B pins also have HIF input/output pins (CS3, CS4, HIRQ3,
HIRQ4) (H8S/2148 Group and H8S/2147N only), and a data bus input/output function (as D7 to
D0). The pin functions depend on the operating mode.
Figure 8.19 shows the port B pin configuration.
PB7/D7
PB6/D6
PB5/D5
PB4/D4
PB3/D3/CS4
PB2/D2/CS3
PB1/D1/HIRQ4
PB0/D0/HIRQ3
Port B
Port B pins
D7 (I/O)
D6 (I/O)
D5 (I/O)
D4 (I/O)
D3 (I/O)
D2 (I/O)
D1 (I/O)
D0 (I/O)
Mode 1, modes 2 and 3 (EXPE = 1) when ABW = 0
PB7 (I/O)
PB6 (I/O)
PB5 (I/O)
PB4 (I/O)
PB3 (I/O)/CS4 (Input)
PB2 (I/O)/CS3 (Input)
PB1 (I/O)/HIRQ4 (Output)
PB0 (I/O)/HIRQ3 (Output)
Mode 1, modes 2 and 3 (EXPE = 1) when ABW = 1,
and mode 1, modes 2 and 3 (EXPE = 0)
Figure 8.19 Port B Pin Functions