MC9RS08KA1 FREESCALE [Freescale Semiconductor, Inc], MC9RS08KA1 Datasheet - Page 96
MC9RS08KA1
Manufacturer Part Number
MC9RS08KA1
Description
RS08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheets
1.MC9RS08KA2.pdf
(136 pages)
2.MC9RS08KA1.pdf
(136 pages)
3.MC9RS08KA1.pdf
(132 pages)
4.MC9RS08KA1.pdf
(132 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9RS08KA1CPC
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
MC9RS08KA1CSC
Manufacturer:
TI
Quantity:
213
Part Number:
MC9RS08KA1CSC
Manufacturer:
FREESCALE
Quantity:
20 000
Modulo Timer (RS08MTIMV1)
11.4.1
This section shows an example of the MTIM operation as the counter reaches a matching value from the
modulo register.
In the example of
prescaler is set to PS = %0010 or divide-by-4. The modulo value in the MTIMMOD register is set to $AA.
When the counter, MTIMCNT, reaches the modulo value of $AA, the counter overflows to $00 and
continues counting. The timer overflow flag, TOF, sets when the counter value changes from $AA to $00.
An MTIM overflow interrupt is generated when TOF is set, if TOIE = 1.
96
selected
clock source
MTIM clock
(PS=%0010)
MTIMCNT
TOF
MTIMMOD:
MTIM Operation Example
Figure
$A7
11-7, the selected clock source could be any of the four possible choices. The
Figure 11-7. MTIM Counter Overflow Example
$A8
MC9RS08KA2 Series Data Sheet, Rev. 4
$A9
$AA
$AA
$00
Freescale Semiconductor
$01