Rev. 1.50 122 August 28, 2017 Rev. 1.50 123 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
• SADC2 Register
Bit 7 6 5 4 3 2 1 0
Name ADPGAEN VBGEN VREFIPS VREFPS SAVRS3 SAVRS2 SAVRS1 SAVRS0
R/W R/W R/W R/W R/W R/W R/W R/W R/W
POR 0 0 0 0 0 0 0 0
Bit7 ADPGAEN:A/DconverterPGAfunctionenablecontrol
0:Disable
1:Enable
ThisbitcontrolstheinternalPGAfunctiontoprovidevariousreferencevoltagefor
theA/Dconverter.Whenthebitissethigh,theinternalreferencevoltage,V
R
,canbe
usedastheinternalconvertedsignalorreferencevoltagebytheA/Dconverter.Ifthe
internalreferencevoltageisnotusedbytheA/Dconverter,thenthePGAfunction
shouldbeproperlyconguredtoconservepower.
Bit6 VBGEN:InternalBandgapreferencevoltageenablecontrol
0:Disable
1:Enable
ThisbitcontrolstheinternalBandgapcircuiton/offfunctiontotheA/Dconverter.
Whenthebitissethigh,theBandgapreferencevoltagecanbeusedbytheA/D
converter.IftheBandgapreferencevoltageisnotusedbytheA/Dconverterand
theLVDorLVRfunctionisdisabled,thenthebandgapreferencecircuitwillbe
automaticallyswitchedofftoconservepower.WhentheBandgapreferencevoltage
isswitchedonforusebytheA/Dconverter,atime,t
BGS
,shouldbeallowedforthe
BandgapcircuittostabilisebeforeimplementinganA/Dconversion.
Bit5 VREFIPS:VREFIpinselectionbit
0:Disable–VREFIpinisnotselected
1:Enable–VREFIpinisselected
Bit4 VREFPS:VREFpinselectionbit
0:Disable–VREFpinisnotselected
1:Enable–VREFpinisselected
Bit3~0 SAVRS3~SAVRS0:A/DConverterreferencevoltageselect
0000:V
DD
0001:V
REFI
0010:V
REFI
×2
0011:V
REFI
×3
0100:V
REFI
×4
1001:Reserved,cannotbeused.
1010:V
BG
×2
1011:V
BG
×3
1100:V
BG
×4
Others:V
DD
WhentheA/Dconverterreferencevoltagesourceisselectedtoderivefromthe
internalV
BG
voltage,thereferencevoltagewhichcomesfromtheexternalVDDor
VREFIpinwillbeautomaticallyswitchedoff.