Rev. 1.00
40
August 29, 2018
Rev. 1.00
41
August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator Flash MCU
• SCC Register
Bit
7
6
5
4
3
2
1
0
Name
CKS2
CKS1
CKS0
—
—
—
FHIDEN
FSIDEN
R/W
R/W
R/W
R/W
—
—
—
R/W
R/W
POR
0
0
0
—
—
—
0
0
Bit 7~5
CKS2~CKS0
: System clock selection
000: f
H
001: f
H
/2
010: f
H
/4
011: f
H
/8
100: f
H
/16
101: f
H
/32
110: f
H
/64
111: f
SUB
These three bits are used to select which clock is used as the system clock source. In
addition to the system clock source directly derived from f
H
or f
SUB
, a divided version
of the high speed system oscillator can also be chosen as the system clock source.
Bit 4~2
Unimplemented, read as “0”
Bit 1
FHIDEN
: High frequency oscillator control when CPU is switched off
0: Disable
1: Enable
This bit is used to control whether the high speed oscillator is activated or stopped
when the CPU is switched off by executing an “HALT” instruction.
Bit 0
FSIDEN
: Low frequency oscillator control when CPU is switched off
0: Disable
1: Enable
This bit is used to control whether the low speed oscillator is activated or stopped
when the CPU is switched off by executing an “HALT” instruction.
• HIRCC Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
—
—
HIRCF
HIRCEN
R/W
—
—
—
—
—
—
R
R/W
POR
—
—
—
—
—
—
0
1
Bit 7~2
Unimplemented, read as “0”
Bit 1
HIRCF
: HIRC oscillator stable flag
0: HIRC unstable
1: HIRC stable
This bit is used to indicate whether the HIRC oscillator is stable or not. When the
HIRCEN bit is set to 1 to enable the HIRC oscillator, the HIRCF bit will first be
cleared to 0 and then set to 1 after the HIRC oscillator is stable.
Bit 0
HIRCEN
: HIRC oscillator enable control
0: Disable
1: Enable