Datasheet

Rev.6.00 Oct.28.2004 page 299 of 1016
REJ09B0138-0600H
9.7.3 Pin Functions
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). 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
/IRQ3/CS7 The pin function is switched as shown below according to bit P67DDR.
Mode Mode 7* Modes 4 to 6*
P67DDR 0 1 0 1
Pin function P6
7
input pin P6
7
output pin P6
7
input pin CS7 output pin
IRQ3 interrupt input pin
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
P6
6
/IRQ2/CS6 The pin function is switched as shown below according to bit P66DDR.
Mode Mode 7* Modes 4 to 6*
P66DDR 0 1 0 1
Pin function P6
6
input pin P6
6
output pin P6
6
input pin CS6 output pin
IRQ2 interrupt input pin
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
P6
5
/IRQ1 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
IRQ1 interrupt input pin
P6
4
/IRQ0 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
IRQ0 interrupt input pin