16.15 States in Each Mode during Operation
This section describes how the 8/16-bit composite timer behaves when the
microcontroller enters watch mode or stop mode or when a suspend (T00CR1/
T01CR1:HO = "1") request is issued during operation.
When Interval Timer, Input Capture, or PWC Function Has Been Selected
Figure 16.15-1 shows how the counter value changes when transition to watch mode or stop mode or a
suspend request occurs during operation of the 8/16-bit composite timer.
The counter stops operation while holding the value when transition to stop mode or watch mode occurs.
When the stop mode or watch mode is canceled by an interrupt, the counter resumes operation with the last
value held. So the first interval time and external clock count are incorrect. After releasing from stop mode
or watch mode, be sure to initialize the counter value.
Figure 16.15-1 Operations of Counter in Standby Mode or in Pause (Not Serving as PWM Timer)
Counter value
IF bit
STA bit
HO bit
IE bit
SLP bit
(STBC register)
STP bit
(STBC register)
FF
H
80
H
00
H
HO request
HO request ends
Operation history
Wake-up from sleep mode by interrupt
CHAPTER 16 8/16-BIT COMPOSITE TIMER
T00/01DR data register value (FF
Timer cycle
Request ends
Delay of oscillation stabilization wait time
Interval time after wake-up
from stop mode (indeterminate)
Cleared by program
Sleep mode
Wake-up from stop mode by external interrupt
Stop mode
)
H
Time
Operation halts
Operation halts
Operation reactivated
271