English
Language : 

MC68HC08AZ16 Datasheet, PDF (258/527 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Interrupts
Timer Interface Module A (TIMA)
Interrupts
The following TIMA sources can generate interrupt requests:
• TIMA overflow flag (TOF) — The TOF bit is set when the TIMA
counter value rolls over to $0000 after matching the value in the
TIMA counter modulo registers. The TIMA overflow interrupt
enable bit, TOIE, enables TIMA overflow CPU interrupt requests.
TOF and TOIE are in the TIMA status and control register.
• TIMA channel flags (CH3F–CH0F) — The CHxF bit is set when an
input capture or output compare occurs on channel x. Channel x
TIM CPU interrupt requests are controlled by the channel x
interrupt enable bit, CHxIE. Channel x TIM CPU interrupt requests
are enabled when CHxIE= 1.
• CHxF and CHxIE are in the TIMA channel x status and control
register.
Low-power modes
The WAIT instruction puts the MCU in low-power-consumption standby
mode.
Wait mode
The TIMA remains active after the execution of a WAIT instruction. In
wait mode the TIMA registers are not accessible by the CPU. Any
enabled CPU interrupt request from the TIMA can bring the MCU out of
wait mode.
If TIMA functions are not required during wait mode, reduce power
consumption by stopping the TIMA before executing the WAIT
instruction.
13-tima
MOTOROLA
Timer Interface Module A (TIMA)
MC68HC08AZ32
257