Rev. 1.10
36
November 04, 2019
Rev. 1.10
37
November 04, 2019
HT45F5Q-3
Battery Charger Flash MCU
HT45F5Q-3
Battery Charger Flash MCU
Prescaler
f
H
High Speed
Oscillator
Low Speed
Oscillator
f
H
/2
f
H
/16
f
H
/64
f
H
/8
f
H
/4
f
H
/32
CKS2~CKS0
f
SYS
f
SUB
f
LIRC
SLEEP
IDLE0
IDLE2
SLEEP
LIRC
HIRC
HIRCEN
f
SUB
WDT
f
SYS
/4
Time Base 0
CLKSEL[1:0]
f
SUB
f
SYS
Prescaler
Time Base 1
TB0[2:0]
TB1[2:0]
Device Clock Configurations
Note: When the system clock source f
SYS
is switched to f
SUB
from f
H
, the high speed oscillat
or
will
stop to conserve the power or continue to oscillate to provide the clock source, f
H
~f
H
/64, for
peripheral circuit to use, which is determined by configuring the corresponding high speed
oscillator enable control bit
.
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 FAST Mode and SLOW Mode. The remaining four modes, the SLEEP, IDLE0,
IDLE1 and IDLE2 Mode are used when the microcontroller CPU is switched off to conserve power.
Operation
Mode
CPU
Register Setting
f
SYS
f
H
f
SUB
f
LIRC
FHIDEN FSIDEN
CKS2~CKS0
FAST
On
x
x
000~110
f
H
~f
H
/64
On
On
On
SLOW
On
x
x
111
f
SUB
On/Off
(1)
On
On
IDLE0
Off
0
1
000~110
Off
Off
On
On
111
On
IDLE1
Off
1
1
xxx
On
On
On
On
IDLE2
Off
1
0
000~110
On
On
Off
On
111
Off
SLEEP
Off
0
0
xxx
Off
Off
Off
On/Off
(2)
“x”: Don’t care
Note: 1. The f
H
clock will be switched on or off by configuring the corresponding oscillator enable bit
in the SLOW mode.
2. The f
LIRC
clock can be switched on or off which is controlled by the WDT function being
enabled or disabled in the SLEEP mode.