R01UH0136EJ0210 Rev.2.10
Page 130 of 800
Jul 31, 2012
M16C/64A Group
9. Power Control
The following is an example program for entering stop mode:
Program Example:
FSET
I
BSET
0, CM1
; Enter stop mode
JMP.B
L2
; Insert a JMP.B instruction
L2:
NOP
; At least four NOP instructions
NOP
NOP
NOP
•
Do not enter stop mode from PLL operating mode. To enter stop mode from PLL operating mode,
first enter medium-speed mode, then set the PLC07 bit to 0 (PLL off).
•
Do not enter stop mode from low current consumption read mode. To enter stop mode from low
current consumption read mode, set the FMR23 bit in the FMR2 register to 0 (low current
consumption read mode disabled).
•
Do not enter stop mode from CPU rewrite mode. To enter stop mode from CPU rewrite mode, first
set the FMR01 bit in the FMR0 register to 0 (CPU rewrite mode disabled), then disable the DMA
transfer.
•
Do not enter stop mode when the oscillator stop/restart detect function is enabled. To enter stop
mode, set the CM20 bit in the CM2 register to 0 (oscillator stop/restart detect function disabled).
•
Do not enter stop mode when the FMR01 bit is 1 (CPU rewrite mode enabled), and do not enter
stop mode when the flash memory is stopped (bits FMR01 and FMSTP are 1).
9.6.4
Low Current Consumption Read Mode
•
Enter low current consumption read mode through slow read mode (see Figure 9.5 “Setting and
Canceling Low Current Consumption Read Mode” for details).
•
When the FMR23 bit in the FMR2 register is 1 (low current consumption read mode enabled), do
not set the FMSTP bit to 1 (flash memory stopped). Also, when the FMSTP bit is 1, do not set the
FMR23 bit to 1.
•
When the FMR01 bit in the FMR0 register to 1 (CPU rewrite mode enabled), do not set the FMR23
bit in the FMR2 register to 1 (low current consumption read mode enable).
9.6.5
Slow Read Mode
•
When the FMR01 bit in the FMR0 register to 1 (CPU rewrite mode enabled), do not set the FMR22
bit in the FMR2 register to 1 (slow read mode enabled).
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...