ST7265x
16-BIT TIMER (Cont’d)
11.4.4 Low Power Modes
Mode
WAIT
HALT
Description
No effect on 16-bit Timer.
Timer interrupts cause the device to exit from WAIT mode.
16-bit Timer registers are frozen.
In HALT mode, the counter stops counting until Halt mode is exited. Counting resumes from the previous
count when the MCU is woken up by an interrupt with “exit from HALT mode” capability or from the counter
reset value when the MCU is woken up by a RESET.
11.4.5 Interrupts
Output Compare 1 event
Output Compare 2 event
Timer Overflow event
Interrupt Event
Event
Flag
OCF1
OCF2
TOF
Enable
Control
Bit
OCIE
TOIE
Exit
from
Wait
Yes
Yes
Yes
Exit
from
Halt
No
No
No
Note: The 16-bit Timer interrupt events are connected to the same interrupt vector (see Interrupts chap-
ter). These events generate an interrupt if the corresponding Enable Control Bit is set and the interrupt
mask bits in the CC register are reset (RIM instruction).
87/166