CHAPTER 7 8-BIT TIMER/EVENT COUNTER
163
User’s Manual U11302EJ4V0UM
Caution Even if the 16-bit timer/event counter mode is used, when the TM1 count value matches the CR10
value, an interrupt request (INTTM1) is generated and the F/F of 8-bit timer/event counter output
controller 1 is inverted. Thus, when using the 8-bit timer/event counter as a 16-bit interval timer,
set the mask flag TMMK1 to 1 to disable INTTM1 acknowledgment.
When reading the 16-bit timer register (TMS) count value, use a 16-bit memory manipulation
instruction.
Table 7-9. Interval Time When 2-Channel 8-Bit Timer/Event Counter
(TM1 and TM2) Is Used as 16-Bit Timer/Event Counter
TCL13
TCL12
TCL11
TCL10
Minimum Interval Time
Maximum Interval Time
Resolution
0
0
0
0
TI1 input cycle
2
8
x TI1 input cycle
TI1 input edge cycle
0
0
0
1
TI1 input cycle
2
8
x TI1 input cycle
TI1 input edge cycle
0
1
0
1
2 x 1/f
X
(400 ns)
2
17
x 1/f
X
(26.2 ms)
2 x 1/f
X
(400 ns)
0
1
1
0
2
2
x 1/f
X
(800 ns)
2
18
x 1/f
X
(52.4 ms)
2
2
x 1/f
X
(800 ns)
0
1
1
1
2
3
x 1/f
X
(1.6
µ
s)
2
19
x 1/f
X
(104.9 ms)
2
3
x 1/f
X
(1.6
µ
s)
1
0
0
0
2
4
x 1/f
X
(3.2
µ
s)
2
20
x 1/f
X
(209.7 ms)
2
4
x 1/f
X
(3.2
µ
s)
1
0
0
1
2
5
x 1/f
X
(6.4
µ
s)
2
21
x 1/f
X
(419.4 ms)
2
5
x 1/f
X
(6.4
µ
s)
1
0
1
0
2
6
x 1/f
X
(12.8
µ
s)
2
22
x 1/f
X
(838.9 ms)
2
6
x 1/f
X
(12.8
µ
s)
1
0
1
1
2
7
x 1/f
X
(25.6
µ
s)
2
23
x 1/f
X
(1.7 s)
2
7
x 1/f
X
(25.6
µ
s)
1
1
0
0
2
8
x 1/f
X
(51.2
µ
s)
2
24
x 1/f
X
(3.4 s)
2
8
x 1/f
X
(51.2
µ
s)
1
1
0
1
2
9
x 1/f
X
(102.4
µ
s)
2
25
x 1/f
X
(6.7 s)
2
9
x 1/f
X
(102.4
µ
s)
1
1
1
0
2
10
x 1/f
X
(204.8
µ
s)
2
26
x 1/f
X
(13.4 s)
2
10
x 1/f
X
(204.8
µ
s)
1
1
1
1
2
12
x 1/f
X
(819.2
µ
s)
2
28
x 1/f
X
(53.7 s)
2
12
x 1/f
X
(819.2
µ
s)
Other than above
Setting prohibited
Remarks 1.
f
X
: Main system clock oscillation frequency
2.
Figures in parentheses apply to operation with f
X
= 5.0 MHz.