Chapter 10
General-Purpose Time Base/Free-Running Timer
X - 12 Time Base Timer
10.4 Time Base Timer
10.4.1 Operation
Time Base Timer (Time Base Timer)
The timer generates interrupts regularly by selecting a clock source and a interrupt generation cycle.
Table:10.4.1 shows the interrupt generation cycles on each clock source.
Table:10.4.1 Selection of Time Base Timer Interrupt Generation Cycle
Selected clock source Interrupt generation cycle
HCLK
2
7
× 1/f
HCLK
16 µs
2
8
× 1/f
HCLK
32 µs
2
9
× 1/f
HCLK
64 µs
2
10
× 1/f
HCLK
128 µs
2
12
× 1/f
HCLK
512 µs
2
13
× 1/f
HCLK
1024 µs
2
14
× 1/f
HCLK
2048 µs
2
15
× 1/f
HCLK
4096 µs
SCLK
2
7
× 1/f
SCLK
3.9 ms
2
8
x 1/f
SCLK
7.8 ms
2
9
× 1/f
SCLK
15.6 ms
2
10
× 1/f
SCLK
31.3 ms
2
12
× 1/f
SCLK
125 ms
2
13
× 1/f
SCLK
250 ms
2
14
× 1/f
SCLK
500 ms
2
15
× 1/f
SCLK
1000 ms
f
HCLK
= 8 MHz, f
SCLK
= 32.768 kHz