R01UH0136EJ0210 Rev.2.10
Page 118 of 800
Jul 31, 2012
M16C/64A Group
9. Power Control
9.3.2
Clock Mode Transition Procedure
Figure 9.1 shows Clock Mode Transition. Arrows indicate possible mode transitions.
Figure 9.1
Clock Mode Transition
To start or stop clock oscillations, or to change modes in normal operating mode, follow the instructions
below.
•
Enter a different mode after the clock for that mode stabilizes completely.
•
When stopping a clock, do it after mode transition is completed. Do not stop the clock at the same
time as mode transition.
•
When entering a new mode from PLL operating mode, high-speed or medium-speed mode, or 125
kHz on-chip oscillator mode, or entering one of these modes from another mode, select divide by 8
or divide by 16.
•
When the clock division ratio is switched in PLL operating mode or high-speed or medium-speed
mode, the ratio changes in the order shown in Figure 9.2.
•
To change the mode, follow procedures a to c, and e to h listed below. For details on register and
bit access, refer to 9.2 “Registers”. Letters a to c, and e to h correspond to those in Figure 9.1
“Clock Mode Transition” and Figure 9.2 “Clock Divide Transition”.
•
For details on oscillator start and stop, refer to 8.3.1 “Main Clock” to 8.3.4 “Sub Clock (fC)”.
CM10 = 1
All oscillations stop
Stop mode
Reset
Wait mode
125 kHz on-chip
oscillator mode
High-speed or
medium-speed
mode
Normal
Operating Mode
CPU operation stop
Interrupt
or
reset
WAIT
instruction
Low-speed mode
Low power mode
125 kHz on-chip
oscillator low power
mode
PLL operating mode
Interrupt
or
reset
Transitions to
wait mode and stop mode enabled
CM10 : Bit in the CM1 register
a
a
b
c
e
e
f
f
g
g
h
h
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...