English
Language : 

HT45F5Q Datasheet, PDF (36/114 Pages) Holtek Semiconductor Inc – Charger Flash MCU
HT45F5Q
Charger Flash MCU
System Operation Modes
There are six different modes of operation for the microcontroller, each one with its own
special characteristics and which can be chosen according to the specific performance and
power requirements of the application. There are two modes allowing normal operation of the
microcontroller, the NORMAL Mode and SLOW Mode. The remaining four modes, the SLEEP0,
SLEEP1, IDLE0 and IDLE1 modes are used when the microcontroller CPU is switched off to
conserve power.
Operating
Description
Mode
CPU
fSYS
fLIRC
fTBC
NORMAL mode
On
fH~fH/64
On
On
SLOW mode
On
fL
On
On
IDLE0 mode
Off
Off
On
On
IDLE1 mode
Off
On
On
On
SLEEP0 mode
Off
Off
Off
Off
SLEEP1 mode
Off
Off
On
Off
NORMAL Mode
As the name suggests this is one of the main operating modes where the microcontroller has all
of its functions operational and where the system clock is provided the high speed oscillator. This
mode operates allowing the microcontroller to operate normally with a clock source will come from
the high speed oscillator HIRC. The high speed oscillator will however first be divided by a ratio
ranging from 1 to 64, the actual ratio being selected by the CKS2~CKS0 and HLCLK bits in the
SMOD register. Although a high speed oscillator is used, running the microcontroller at a divided
clock ratio reduces the operating current.
SLOW Mode
This is also a mode where the microcontroller operates normally although now with a slower
speed clock source. The clock source used will be from the low speed oscillator LIRC. Running
the microcontroller in this mode allows it to run with much lower operating currents. In the SLOW
Mode, the fH is off.
SLEEP0 Mode
The SLEEP Mode is entered when an HALT instruction is executed and when the IDLEN bit in the
SMOD register is low. In the SLEEP0 mode the CPU will be stopped, and the fLIRC clock will be
stopped too, and the Watchdog Timer function is disabled.
SLEEP1 Mode
The SLEEP Mode is entered when an HALT instruction is executed and when the IDLEN bit in the
SMOD register is low. In the SLEEP1 mode the CPU will be stopped. However the fLIRC clocks will
continue to operate if the Watchdog Timer function is enabled.
IDLE0 Mode
The IDLE0 Mode is entered when a HALT instruction is executed and when the IDLEN bit in the
SMOD register is high and the FSYSON bit in the SMOD1 register is low. In the IDLE0 Mode the
system oscillator will be inhibited from driving the CPU but some peripheral functions will remain
operational such as the Watchdog Timer and TM. In the IDLE0 Mode, the system oscillator will be
stopped.
Rev. 1.10
36
December 13, 2016