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 (IRQ0 to IRQ3), DMAC I/O pins (DREQ0,
TEND0, DREQ1, and TEND1), and bus control output pins (CS4 to CS7). The functions of pins P6
all operating modes, while the functions of pins P6
P6
are schmitt-triggered inputs. Figure 9-6 shows the port 6 pin configuration.
4
Port 6
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
9.7.2
Register Configuration
Table 9-11 shows the port 6 register configuration.
Table 9-11 Port 6 Registers
Name
Port 6 data direction register
Port 6 data register
Port 6 register
Note: * Lower 16 bits of the address.
, P6
, P6
, and P6
7
6
1
Port 6 pins
P6
/IRQ3/ CS7
7
P6
/IRQ2/ CS6
6
P6
/IRQ1
5
P6
/IRQ0
4
P6
/TEND1
3
P6
/DREQ1
2
P6
/TEND0/ CS5
1
P6
/DREQ0/ CS4
0
Figure 9-6 Port 6 Pin Functions
Abbreviation
P6DDR
P6DR
PORT6
change according to the operating mode. Pins P6
0
Pin functions in mode 7*
P6
(I/O)/IRQ3 (input)
7
P6
(I/O)/IRQ2 (input)
6
P6
(I/O)/IRQ1 (input)
5
P6
(I/O)/IRQ0 (input)
4
P6
(I/O)/TEND1 (output)
3
P6
(I/O)/DREQ1 (input)
2
P6
(I/O)/TEND0 (output)
1
P6
(I/O)/DREQ0 (input)
0
Pin functions in modes 4 to 6*
P6
(input)/IRQ3 (input)/CS7 (output)
7
P6
(input)/IRQ2 (input)/CS6 (output)
6
P6
(I/O)/IRQ1 (input)
5
P6
(I/O)/IRQ0 (input)
4
P6
(I/O)/TEND1 (output)
3
P6
(I/O)/DREQ1 (input)
2
P6
(input)/TEND0 (output)/CS5 (output)
1
P6
(input)/DREQ0 (input)/CS4 (output)
0
R/W
Initial Value
W
H'00
R/W
H'00
R
Undefined
Rev.6.00 Oct.28.2004 page 297 of 1016
to P6
are the same in
5
2
to
7
Address*
H'FEB5
H'FF65
H'FF55
REJ09B0138-0600H