Rev. 1.00, 09/03, page 626 of 704
22.2 Operation
22.2.1
Clock Division Mode
When the SCK2 to SCK0 bits in SCKCR are set to a value from B'001 to B'010, a transition is
made to clock division mode. In clock division mode, the CPU and on-chip peripheral functions
all operate on the operating clock (1/2 or 1/4) specified by bits SCK2 to SCK0.
Clock division mode is cleared by clearing all of bits SCK2 to SCK0 to 0. A transition is made to
high-speed mode at the end of the bus cycle, and clock division mode is cleared.
If a SLEEP instruction is executed while the SSBY bit in SBYCR is cleared to 0, the chip enters
sleep mode. When sleep mode is cleared by an interrupt, clock division mode is restored.
If a SLEEP instruction is executed while the SSBY bit in SBYCR is set to 1, the chip enters
software standby mode. When software standby mode is cleared by an external interrupt, clock
division mode is restored.
When the
RES
pin is driven low, the reset state is entered and clock division mode is cleared. The
same applies to a reset caused by a watchdog timer overflow.
When the
STBY
pin is driven low, a transition is made to hardware standby mode.
22.2.2 Sleep
Mode
Transition to Sleep Mode:
When the SLEEP instruction is executed when the SSBY bit is 0 in SBYCR, the CPU enters sleep
mode. In sleep mode, CPU operation stops but the contents of the CPU’s internal registers are
retained. Other peripheral functions do not stop.
Exiting Sleep Mode:
Sleep mode is exited by any interrupt, or signals at the
RES
or
STBY
pin.
•
Exiting Sleep Mode by Interrupts
When an interrupt occurs, sleep mode is exited and interrupt exception handling starts. Sleep
mode is not exited if the interrupt is disabled, or interrupts other than NMI are masked by the
CPU.
•
Exiting Sleep Mode by
RES
pin
Setting the
RES
pin level low selects the reset state. After the stipulated reset input duration,
driving the
RES
pin high starts the CPU performing reset exception handling.
Содержание H8S/2437
Страница 2: ...Rev 1 00 09 03 page ii of xxxviii ...
Страница 8: ...Rev 1 00 09 03 page viii of xxxviii ...
Страница 32: ...Rev 1 00 09 03 page xxxii of xxxviii ...
Страница 38: ...Rev 1 00 09 03 page xxxviii of xxxviii ...
Страница 168: ...Rev 1 00 09 03 page 130 of 704 ...
Страница 336: ...Rev 1 00 09 03 page 298 of 704 ...
Страница 402: ...Rev 1 00 09 03 page 364 of 704 ...
Страница 454: ...Rev 1 00 09 03 page 416 of 704 ...
Страница 512: ...Rev 1 00 09 03 page 474 of 704 ...
Страница 562: ...Rev 1 00 09 03 page 524 of 704 ...
Страница 648: ...Rev 1 00 09 03 page 610 of 704 ...
Страница 672: ...Rev 1 00 09 03 page 634 of 704 ...
Страница 732: ...Rev 1 00 09 03 page 694 of 704 ...
Страница 742: ...Rev 1 00 09 03 page 704 of 704 ...
Страница 745: ......
Страница 746: ...H8S 2437 Group Hardware Manual REJ09B0059 0100Z ...