English
Language : 

MC68HC08AZ60 Datasheet, PDF (272/452 Pages) Motorola, Inc – Advance Information
Freescale Semiconductor, Inc.
Modulo Timer (TIM)
TIM Counter Prescaler
The clock source can be one of the seven prescaler outputs. The
prescaler generates seven clock rates from the internal bus clock. The
prescaler select bits, PS[2:0], in the status and control register select the
TIM clock source.
The value in the TIM counter modulo registers and the selected
prescaler output determines the frequency of the periodic interrupt. The
TIM overflow flag (TOF) is set when the TIM counter value rolls over to
$0000 after matching the value in the TIM counter modulo registers. The
TIM interrupt enable bit, TOIE, enables TIM overflow CPU interrupt
requests. TOF and TOIE are in the TIM status and control register.
Low-Power Modes
The WAIT and STOP instructions put the MCU in low power-consump-
tion standby modes.
Wait Mode
The TIM remains active after the execution of a WAIT instruction. In wait
mode the TIM registers are not accessible by the CPU. Any enabled
CPU interrupt request from the TIM can bring the MCU out of wait mode.
If TIM functions are not required during wait mode, reduce power
consumption by stopping the TIM before executing the WAIT instruction.
Stop Mode
The TIM is inactive after the execution of a STOP instruction. The STOP
instruction does not affect register conditions or the state of the TIM
counter. TIM operation resumes when the MCU exits stop mode after an
external interrupt.
MC68HC08AZ60 — Rev 1.0
272
Modulo Timer (TIM)
For More Information On This Product,
Go to: www.freescale.com
4-tim
MOTOROLA