207
Pin
Selection Method and Pin Functions
P26/PO6/
TIOCA5/
IRQ14
/
EDRAK0
The pin function is switched as shown below according to the combination of the
TPU channel 5 settings (by bits MD3 to MD0 in TMDR5, bits IOA3 to IOA0 in
TIOR5, and bits CCLR1 and CCLR0 in TCR5), bit NDER6 in NDERL, bit
EDRAKE in EDMDR0, bit P26DDR, and bit ITS14 in ITSR.
Modes 1, 2, 4, 5, 6, 7 (EXPE = 1)
EDRAKE
0
1
TPU channel 5
settings
(1) in table
below
(2) in table below
—
P26DDR
—
0
1
1
—
NDER6
—
—
0
1
—
Pin function
TIOCA5
output
P26
input
P26
output
PO6
output
EDRAK0
output
TIOCA5 input
*
1
IRQ14
interrupt input pin
*
2
Mode 7 (EXPE = 0)
EDRAKE
—
TPU channel 5
settings
(1) in table
below
(2) in table below
P26DDR
—
0
1
1
NDER6
—
—
0
1
Pin function
TIOCA5 output
P26 input
P26 output
PO6 output
TIOCA5 input
*
1
IRQ14
interrupt input pin
*
2
Notes: 1. TIOCA5 input when MD3 to MD0 = B'0000 or B'01xx and IOA3 = 1.
2.
IRQ14
input when ITS14 = 1.
TPU channel 5
settings
(2)
(1)
(2)
(2)
(1)
(2)
MD3 to MD0
B'0000 to B'0011
B'0010
B'0010
B'0011
IOA3 to IOA0
B'0000
B'0100
B'1xxx
B'0001 to B'0011
B'0101 to B'0111
B'xx00
Other than
B'xx00
Other than B'xx00
CCLR1, CCLR0
—
—
—
—
Other
than
B'10
B'10
Output function
—
Output compare
output
—
PWM
*
3
mode 1
output
PWM
mode 2
output
—
x: Don’t care
Note:
3. TIOCB5 output disabled.
Summary of Contents for H8S/2670
Page 5: ......
Page 9: ......
Page 199: ...182 ...
Page 361: ...344 ...
Page 393: ...376 ...
Page 647: ...630 ...