English
Language : 

MC68HC908KX8 Datasheet, PDF (218/310 Pages) Motorola, Inc – Microcontrollers
Timebase Module (TBM)
15.6 TBM Interrupt Rate
The interrupt rate is determined by the equation:
tTBMRATE = -f-T----B---M----1-R----A---T----E- = f--DT----B-i-v-M---i-d-C---e-L---rK-
where:
fTBMCLK = Frequency supplied from the internal clock
generator (ICG) module
Divider = Divider value as determined by TBR2–TBR0
settings. See Table 15-1.
As an example, a clock source of 4.9152 MHz and the TBR2–TBR0 set
to {011}, the divider tap is 128 and the interrupt rate calculates to
128/4.9152 x 106 = 26 µs.
Table 15-1. Timebase Divider Selection
TBR2
0
0
0
0
1
1
1
1
TBR1
0
0
1
1
0
0
1
1
TBR0
0
1
0
1
0
1
0
1
Divider Tap
32768
8192
2048
128
64
32
16
8
NOTE: Do not change TBR2–TBR0 bits while the timebase is enabled
(TBON = 1).
Technical Data
218
MC68HC908KX8 • MC68HC908KX2 • MC68HC08KX8 — Rev. 1.0
Timebase Module (TBM)
MOTOROLA