Fujitsu F2MC-16LX Hardware Manual page 155

Mb90470 series 16-bit microcontroller
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

I Canceling the sleep mode
The low-power control circuit cancels the sleep mode by input of a reset or by an interrupt.
❍ Reset by a reset
Reset initializes to the main clock mode.
❍ Reset by interrupt
The sleep mode is canceled if an interrupt request whose interrupt level is higher than 7 is
generated in a peripheral circuit, etc., in the sleep mode. After the sleep mode is canceled, the
interrupt is processed with the same method as for ordinary interrupt processing. If interrupts
are accepted by setting the I-flag of the condition code register (CCR), interrupt level mask
register (ILM), or the interrupt control register (ICR), then the CPU executes the interrupts. If the
interrupts cannot be accepted, the CPU continues processing beginning from an instruction next
to the instruction specifying the sleep mode.
Figure 6.5-1 "Canceling of sleep mode by interrupt" illustrates the canceling of the sleep mode
by an interrupt.
Setting interrupt enable flag
Interrupt from peripheral functions
Note:
When executing an interrupt, an instruction next to the instruction that specified the sleep
mode is normally executed first before an interrupt request is processed. If a change to the
sleep mode occurs at the same time as an external bus hold request is received, an interrupt
may be executed first before the next instruction is executed.
Figure 6.5-1 Canceling of sleep mode by interrupt
NO
INT generates (IL<7)
YES
YES
I = 0
NO
YES
ILM < IL
NO
Interrupt executed
CHAPTER 6 LOW-POWER CONSUMPTION MODE
Sleep not canceled
Next instruction
Executes next instruction
Sleep not canceled
Sleep canceled
139

Advertisement

Table of Contents
loading

Table of Contents