Fujitsu MB95630H Series Hardware Manual page 137

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

MB95630H Series
In sub-CR clock mode
Only the sub-CR clock is used as the input clock of the watch prescaler.
■ Operation Example of Watch Prescaler
Figure 9.4-1 shows an operation example under the following conditions:
1. When a power-on reset occurs
2. When the device transits to the sleep mode during the operation of the interval timer
function in subclock mode or sub-CR clock mode
3. When the device transits to the stop mode during the operation of the interval timer
function in subclock mode or sub-CR clock mode
4. When a request for clearing the counter is issued
The same operation is performed when changing to the watch mode as for when changing to
the sleep mode.
Counter value
(count down)
0xFFFF
Count value detected in
WPCR:WTC[2:0]
0x0000
Oscillation stabilization wait time
1) Power-on reset
WTIF bit
WTIE bit
2) SLP bit
(STBC register)
3) STP bit
(STBC register)
• When setting interval time select bits in the watch prescaler control register (WPCR:WTC[2:0]) to "0b011" (2
• WPCR:WTC[2:0]
• WPCR:WCLR
• WPCR:WTIF
• WPCR:WTIE
• STBC:SLP
• STBC:STP
MN702-00009-1v0-E
Figure 9.4-1 Watch Prescaler Operation Example
4)
Cleared at interval
: Watch prescaler interrupt interval time select bits in watch prescaler control register
: Watch prescaler clear bit in watch prescaler control register
: Watch prescaler interrupt request flag bit in watch prescaler control register
: Watch prescaler interrupt request enable bit in watch prescaler control register
: Sleep bit in standby control register
: Stop bit in standby control register
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER 9 WATCH PRESCALER
9.4 Operations and Setting Procedure
Interval time
(WPCR:WTC[2:0] = 0b011)
Cleared by transition
Counter cleared
(WPCR:WCLR = 1)
setting
Sleep
Sleep mode
released
by watch interrupt
Stop mode released by external interrupt
Oscillation
stabilization
to stop mode
wait time
Cleared in interrupt
processing routine
Stop
14
× 2/F
)
CL
Example
117

Advertisement

Table of Contents
loading

Table of Contents