Rev. 1.00
74
August 29, 2018
Rev. 1.00
75
August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator Flash MCU
• SADC1 Register
Bit
7
6
5
4
3
2
1
0
Name
SAINS3
SAINS2
SAINS1
SAINS0
—
SACKS2 SACKS1 SACKS0
R/W
R/W
R/W
R/W
R/W
—
R/W
R/W
R/W
POR
0
0
0
0
—
0
0
0
Bit 7~4
SAINS3~SAINS0
: A/D converter input signal select
0000: External source – External analog channel input, ANn
0001: Internal source – Internal A/D converter power supply voltage V
DD
0010: Internal source – Internal A/D converter power supply voltage V
DD
/2
0011: Internal source – Internal A/D converter power supply voltage V
DD
/4
0100: External source – External analog channel input, ANn
0101: Internal source
– Internal A/D converter PGA output voltage V
R
0110: Internal source
– Internal A/D converter PGA output voltage V
R
/2
0111: Internal source
– Internal A/D converter PGA output voltage V
R
/4
1000: Internal source – Internal Operational Amplifier 0 output voltage, V
OPA0O
1001: Internal source – Internal Operational Amplifier 1 output voltage, V
OPA1O
1010~1011: Reserved, connected to ground
1100~1111: External input – External analog channel input, ANn
When the internal analog signal is selected to be converted, the external channel signal
input will automatically be switched off regardless of the SACS field value.
Bit 3
Unimplemented, read as “0”
Bit 2~0
SACKS2~SACKS0
: A/D conversion clock source select
000: f
SYS
001: f
SYS
/2
010: f
SYS
/4
011: f
SYS
/8
100: f
SYS
/16
101: f
SYS
/32
110: f
SYS
/64
111: f
SYS
/128
These three bits are used to select the clock source for the A/D converter.
• SADC2 Register
Bit
7
6
5
4
3
2
1
0
Name
ADPGAEN
—
—
PGAIS
SAVRS1 SAVRS0 PGAGS1 PGAGS0
R/W
R/W
—
—
R/W
R/W
R/W
R/W
R/W
POR
0
—
—
0
0
0
0
0
Bit 7
ADPGAEN
: PGA enable/disable control
0: Disable
1: Enable
When the PGA output V
R
is selected as A/D converter input or A/D converter
reference voltage, the PGA must to be enabled by setting this bit high. Otherwise the
PGA should to be disabled by clearing this bit to zero to conserve the power.
Bit 6~5
Unimplemented, read as “0”
Bit 4
PGAIS
: PGA input (V
RI
) select
0: External VREFI pin
1: Internal independent reference voltage, V
BG
This bit is used to select the PGA input source. When the internal voltage independent
reference V
BG
is selected, the external voltage on VREFI pin will automatically be
switched off.