MC9RS08KA1 FREESCALE [Freescale Semiconductor, Inc], MC9RS08KA1 Datasheet - Page 94

no-image

MC9RS08KA1

Manufacturer Part Number
MC9RS08KA1
Description
RS08 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MC9RS08KA1CDB
Quantity:
12 306
Part Number:
MC9RS08KA1CPC
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC9RS08KA1CSC
Manufacturer:
TI
Quantity:
213
Part Number:
MC9RS08KA1CSC
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
MC9RS08KA1CSC
0
Company:
Part Number:
MC9RS08KA1CSCR
Quantity:
2 439
Chapter 11 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.
94
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. 3
$A9
$AA
$AA
$00
Freescale Semiconductor
$01

Related parts for MC9RS08KA1