mc9s08qg8 Freescale Semiconductor, Inc, mc9s08qg8 Datasheet - Page 189
mc9s08qg8
Manufacturer Part Number
mc9s08qg8
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.MC9S08QG8.pdf
(300 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mc9s08qg84CDNE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Company:
Part Number:
mc9s08qg84CDTE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s08qg8CDT
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08qg8CDTE
Manufacturer:
ABB
Quantity:
101
Company:
Part Number:
mc9s08qg8CDTE
Manufacturer:
Freescale Semiconductor
Quantity:
41 991
Part Number:
mc9s08qg8CDTE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qg8CFFE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08qg8CPBE
Manufacturer:
CYPRESS
Quantity:
310
13.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 0xAA to
0x00. An MTIM overflow interrupt is generated when TOF is set, if TOIE = 1.
Freescale Semiconductor
selected
clock source
MTIM clock
(PS=%0010)
MTIMCNT
TOF
MTIMMOD:
MTIM Operation Example
Figure
MTIM
0xA7
CNT, reaches the modulo value of 0xAA, the counter overflows to 0x00 and
13-7, the selected clock source could be any of the five possible choices. The
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 1.01
Figure 13-7. MTIM counter overflow example
0xA8
0xA9
0xA
0xAA
MTIM
MOD register is set to 0xAA.
0x00
Modulo Timer (S08MTIMV1)
0x01
189