![Sino Wealth SH69K55A Скачать руководство пользователя страница 57](http://html1.mh-extra.com/html/sino-wealth/sh69k55a/sh69k55a_manual_1283061057.webp)
SH69P55A/K55A
57
18. HALT and STOP Mode
After the execution of HALT instruction, SH69P55A/69K55A will enter the HALT mode. In the HALT mode, CPU will stop
operating but peripheral circuits (Timer0, Timer1, Timer2, ADC, PWM and watchdog timer) will keep status.
After the execution of STOP instruction, SH69P55A/69K55A will enter the STOP mode. The whole chip (If the OSC is not
32.768kHz, the oscillator will stop in STOP mode. If the OSC is 32.768kHz, the oscillator ON/OFF in STOP mode will be
controlled by the register $23) will stop operating without watchdog timer if it is enabled.
In the HALT mode, SH69P55A/69K55A can be waked up if any interrupt occurs.
In the STOP mode, SH69P55A/69K55A can be waked up if any port interrupt occurs or watchdog timer overflows (WDT is
enabled).
When CPU is awaked from the HALT/STOP by any interrupt source, it will execute the relevant interrupt serve subroutine at
first. Then the instruction next to HALT/STOP is executed.
19. Warm-up Timer
The device has a build-in warm-up timer to eliminate unstable state of initial oscillation when oscillator starts oscillating in the
following conditions:
A. Power-on Reset
(1) In Internal RC oscillator mode, f
OSC
= 4MHz, the warm-up counter prescaler divide ratio is 1/2
13
(8192).
(2) In External RC oscillator mode, f
OSC
= 400kHz - 8MHz, the warm-up counter prescaler divide ratio is 1/2
13
(8192).
(3) In Crystal oscillator or Ceramic resonator mode, the warm-up counter prescaler divide ratio is 1/2
13
(8192).
(4) In 32.768kHz mode, the warm-up counter prescaler divide ratio is 1/2
13
(8192).
B. WDT Reset, LVR Reset, Pin Reset
(1) In Internal RC oscillator mode, f
OSC
= 4MHz, the warm-up counter prescaler divide ratio is 1/2
7
(128).
(2) In External RC oscillator mode, f
OSC
= 400kHz - 8MHz, the warm-up counter prescaler divide ratio is 1/2
7
(128).
(3) In crystal oscillator or ceramic resonator mode, the warm-up counter prescaler divide ratio is 1/2
12
(4096).
(4) In 32.768kHz mode, the warm-up counter prescaler divide ratio is 1/2
12
(4096).
C. Wake up from STOP Mode
(1) In Internal RC oscillator mode, f
OSC
= 4MHz, the warm-up counter prescaler divide ratio is 1/2
7
(128).
(2) In External RC oscillator mode, f
OSC
= 400kHz - 8MHz, the warm-up counter prescaler divide ratio is 1/2
7
(128).
(3) In crystal oscillator or ceramic resonator mode, the warm-up counter prescaler divide ratio is 1/2
12
(4096).
(4) In 32.768kHz mode, the warm-up counter prescaler divide ratio is as follows:
System Clock
32.768kHz in Stop
Warm-up counter prescaler divide ratio
On 1/2
7
PLL
Off 1/2
12
On 1/2
2
32.768kHz
Off 1/2
12