Rev.2.00 Oct 16, 2006 page 276 of 354
REJ09B0340-0200
M30245 Group
2. Power Control
(3) Returning from stop mode
The stop mode can be canceled by hardware reset, or by generating an interrupt request. If an inter-
rupt is to be used to cancel stop mode, that interrupt must first have been enabled and the priority level
of the interrupt not to be used for clearing must be set to level 0 before changing to stop mode.
If an interrupt is used to cancel stop mode, that interrupt routine is processed. If only a hardware reset
and NMI interrupt are used to cancel stop mode, the priority level of all interrupts must be set to level
0 before changing to stop mode.
When changing from high-speed/medium mode to stop mode and at reset, the main clock division
select bit 0 (bit 6 at address 0006
16
) is set to “1”. When changing from low-speed/low power dissipa-
tion mode, the value before stop mode is retained.
(4) Returning form wait mode
The wait mode can be canceled by hardware reset, or by generating an interrupt request. If an inter-
rupt is to be used to cancel wait mode, that interrupt must first have been enabled and the priority level
of the interrupt not to be used for clearing must be set to level 0 before changing to wait mode.
If an interrupt is used to cancel wait mode, the microcomputer selects the clock used when the WAIT
instruction is executed for BCLK and restarts operating in that interrupt routine. If only a hardware
reset or NMI interrupt will be used to cancel wait mode, the priority level of all interrupts must be set to
level 0 before changing to stop mode.
Table 2.16.1 shows the interrupts that can be used for canceling stop mode and wait mode.
(5) BCLK in returning from wait mode or stop mode
(a) Returning from wait mode
The processor immediately returns to the BCLK, which was in use before entering wait mode.
(b) Returning from stop mode
CM06 is set to “1” when the device enters stop mode after selecting the main clock for BCLK. CM17
and CM16 do not change state. In this case, when restored from stop mode, the device starts oper-
ating in divided-by-8 mode.
When the device enters stop mode after selecting the subclock for BCLK, CM06, CM17, CM16, and
CM07 all do not change state. In this case, when restored from stop mode, the device starts operat-
ing in low-speed mode.
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...