Datasheet
Section 9 I/O Ports
Rev.6.00 Sep. 27, 2007 Page 392 of 1268
REJ09B0220-0600
9.7.3 Pin Functions
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
). Port 6 pin functions are shown in
table 9.12.
Table 9.12 Port 6 Pin Functions
Pin Selection Method and Pin Functions
P6
7
/IRQ
3
/CS
7
The pin function is switched as shown below according to the combination of
bits P67DDR and CS167E.
Mode Modes 4 to 6 Mode 7
P67DDR 0 1 0 1
CS167E — 0 1 — —
Pin function P6
7
input
pin
P6
7
output
pin
CS
7
output
pin
P6
7
input
pin
P6
7
output
pin
IRQ
3
interrupt input pin
P6
6
/IRQ
2
/CS
6
The pin function is switched as shown below according to the combination of
bits P66DDR and CS167E.
Mode Modes 4 to 6 Mode 7
P66DDR 0 1 0 1
CS167E — 0 1 — —
Pin function P6
6
input
pin
P6
6
output
pin
CS
6
output
pin
P6
6
input
pin
P6
6
output
pin
IRQ
2
interrupt input pin
P6
5
/IRQ
1
The pin function is switched as shown below according to bit P65DDR.
P65DDR 0 1
Pin function P6
5
input pin P6
5
output pin
IRQ
1
interrupt input pin
P6
4
/IRQ
0
The pin function is switched as shown below according to bit P64DDR.
P64DDR 0 1
Pin function P6
4
input pin P6
4
output pin
IRQ
0
interrupt input pin