Fujitsu MB91460 SERIES FR60 User Manual page 321

32-bit microcontroller
Table of Contents

Advertisement

5.3 Returning from the Stop Mode due to Interval Operation (Clock Interrupt)
Clock timer
counting
7FFFh
4000h
0000h
14
(3)
2
(Bit 13)
WCL
(1)
WIF
WIE
Main
MCU state
RUN
(1) The sub oscillation stabilisation timer is cleared by software. (Writes "0" to WCL.)
(2) Counts up the sub oscillation stabilisation timer with the subclock.
(3) Selects the interval time. (In this example, 0.5 second: Selects WS[1:0]="10".)
(4) Sets the flag clear (WIF="0") and sub oscillation stabilisation timer interrupt enable (WIE="1") by the software.
(5) Switches the MCU operation from the main RUN to sub-RUN.
(6) Switches to the stop mode.
(7) Makes the interval time be the selected time. (0.5 second)
(8) The interrupt request flag (WIF) is set to "1".
(9) As the interrupt request is enabled (WIE="1"), returns from the stop mode to sub-RUN.
(10) Clears the interrupt request flag by software. (Writes "0" to the WIF.)
(11) Repeats Items (6) from (10).
(2)
(7)
Interval time
(10)
(8)
(4)
(5)
(9)
(6)
Sub-
Sub-
STOP
STOP
RUN
RUN
Oscillation stability wait time
Chapter 23 Sub Oscillation Stabilisation Timer
Sub-
Sub-
STOP
STOP
RUN
RUN
Sub-
Sub-
STOP
RUN
RUN
5.Operation
305

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60Mb91460 series

Table of Contents