CHAPTER 7 8-BIT TIMER/EVENT COUNTER
147
User’s Manual U11302EJ4V0UM
(2) External event counter
The number of pulses of an externally input signal can be measured.
(3) Square-wave output
A square wave with any selected frequency can be output.
Table 7-2. 8-Bit Timer/Event Counter Square-Wave Output Ranges
Minimum Pulse Width
Maximum Pulse Width
Resolution
2 x 1/f
X
(400 ns)
2
9
x 1/f
X
(102.4
µ
s)
2 x 1/f
X
(400 ns)
2
2
x 1/f
X
(800 ns)
2
10
x 1/f
X
(204.8
µ
s)
2
2
x 1/f
X
(800 ns)
2
3
x 1/f
X
(1.6
µ
s)
2
11
x 1/f
X
(409.6
µ
s)
2
3
x 1/f
X
(1.6
µ
s)
2
4
x 1/f
X
(3.2
µ
s)
2
12
x 1/f
X
(819.2
µ
s)
2
4
x 1/f
X
(3.2
µ
s)
2
5
x 1/f
X
(6.4
µ
s)
2
13
x 1/f
X
(1.64 ms)
2
5
x 1/f
X
(6.4
µ
s)
2
6
x 1/f
X
(12.8
µ
s)
2
14
x 1/f
X
(3.28 ms)
2
6
x 1/f
X
(12.8
µ
s)
2
7
x 1/f
X
(25.6
µ
s)
2
15
x 1/f
X
(6.55 ms)
2
7
x 1/f
X
(25.6
µ
s)
2
8
x 1/f
X
(51.2
µ
s)
2
16
x 1/f
X
(13.1 ms)
2
8
x 1/f
X
(51.2
µ
s)
2
9
x 1/f
X
(102.4
µ
s)
2
17
x 1/f
X
(26.2 ms)
2
9
x 1/f
X
(102.4
µ
s)
2
10
x 1/f
X
(204.8
µ
s)
2
18
x 1/f
X
(52.4 ms)
2
10
x 1/f
X
(204.8
µ
s)
2
12
x 1/f
X
(819.2
µ
s)
2
20
x 1/f
X
(209.7 ms)
2
12
x 1/f
X
(819.2
µ
s)
Remarks 1.
f
X
: Main system clock oscillation frequency
2.
Figures in parentheses apply to operation with f
X
= 5.0 MHz.