mc9s08sg4 Freescale Semiconductor, Inc, mc9s08sg4 Datasheet - Page 186

no-image

mc9s08sg4

Manufacturer Part Number
mc9s08sg4
Description
8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08sg4MTJG
Manufacturer:
FREESCALE
Quantity:
20 000
Chapter 12 Modulo Timer (S08MTIMV1)
12.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
When the counter,
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.
186
selected
clock source
MTIM clock
(PS=%0010)
MTIMCNT
TOF
MTIMMOD:
MTIM Operation Example
Figure
MTIM
$A7
CNT, reaches the modulo value of $AA, the counter overflows to $00 and
12-8, the selected clock source could be any of the five possible choices. The
Figure 12-8. MTIM counter overflow example
MC9S08SG8 MCU Series Data Sheet, Rev. 3
$A8
$A9
$AA
$AA
MTIM
$00
MOD register is set to $AA.
Freescale Semiconductor
$01

Related parts for mc9s08sg4