Fujitsu MB91150 Series Hardware Manual page 109

32-bit microcontroller
Table of Contents

Advertisement

[Setting method]
LDI:8
LDI:32
STB
LDI:8
LDI:32
STB
NOP
NOP
NOP
NOP
NOP
NOP
I Return from the sleep status
The return from the sleep status can be performed with an interrupt and by reset generation.
❍ Return with an interrupt
When the interrupt enable bit for the peripheral function is valid, a return from sleep status is
performed by generating a peripheral interrupt.
The system changes from sleep status to ordinary operation status in the following order:
1. Interrupt generation
2. restart of supplying the internal bus clock signal
3. restart of supplying the internal CPU clock signal
After the required clock signals are supplied, the program is executed as follows:
When the ILM I flag of the CPU permits the level of the generated interrupt:
After register saving, the interrupt vector is fetched and then the program is executed from
the interrupt processing routine.
When the ILM I flag of the CPU does not allow the level of the generated interrupt:
The program is executed from the next instruction after the instruction at which the sleep
status was entered.
CHAPTER 3 MEMORY SPACE, CPU AND CONTROL UNIT
#11001100b,R1 ; CPU=Peripheral gear ratio(The following is
an example of oscillation x 1/8),
The value of CHC is arbitrary.
#GCR,R2
R1,@R2
#01010000b,R1 ; SLEP=1
#STCR,R2
R1,@R2
;
;
;
;
;
;
93

Advertisement

Table of Contents
loading

Table of Contents