Datasheet
Section 9 I/O Ports
Rev.6.00 Sep. 27, 2007 Page 388 of 1268
REJ09B0220-0600
9.7 Port 6
9.7.1 Overview
Port 6 is an 8-bit I/O port. Port 6 pins also function as interrupt input pins (IRQ
0
to IRQ
3
),
DMAC
*
I/O pins (DREQ
0
, TEND
0
, DREQ
1
, and TEND
1
), and bus control output pins (CS
4
to
CS
7
). The functions of pins P6
5
to P6
2
are the same in all operating modes, while the functions of
pins P6
7
, P6
6
, P6
1
, and P6
0
change according to the operating mode. Switching of CS
4
to CS
7
output can be performed by setting PFCR2. Pins P6
7
to P6
4
are Schmitt-triggered inputs. Figure
9.6 shows the port 6 pin configuration.
Note: * The DMAC is not supported in the H8S/2321.
P6
7
/ IRQ
3
/ CS
7
P6
6
/ IRQ
2
/ CS
6
P6
5
/ IRQ
1
P6
4
/ IRQ
0
P6
3
/ TEND
1
P6
2
/ DREQ
1
P6
1
/ TEND
0
/ CS
5
P6
0
/ DREQ
0
/ CS
4
Port 6 pins
P6
7
(I/O) / IRQ
3
(input)
P6
6
(I/O) / IRQ
2
(input)
P6
5
(I/O) / IRQ
1
(input)
P6
4
(I/O) / IRQ
0
(input)
P6
3
(I/O) / TEND
1
*
(output)
P6
2
(I/O) / DREQ
1
*
(input)
P6
1
(I/O) / TEND
0
*
(output)
P6
0
(I/O) / DREQ
0
*
(input)
Pin functions in mode 7
P6
7
(I/O) / IRQ
3
(input) / CS
7
(output)
P6
6
(I/O) / IRQ
2
(input) / CS
6
(output)
P6
5
(I/O) / IRQ
1
(input)
P6
4
(I/O) / IRQ
0
(input)
P6
3
(I/O) / TEND
1
*
(output)
P6
2
(I/O) / DREQ
1
*
(input)
P6
1
(I/O) / TEND
0
*
(output) / CS
5
(output)
P6
0
(I/O) / DREQ
0
*
(input) / CS
4
(output)
Pin functions in modes 4 to 6
Port 6
Note: * The TEND
1
, DREQ
1
, TEND
0
, and DREQ
0
pin functions are not supported in the H8S/2321.
Figure 9.6 Port 6 Pin Functions