Rev. 2.50 172 June 22, 2017 Rev. 2.50 173 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
ADCR1 Register
Bit 7 6 5 4 3 2 1 0
Name ACS4
V125EN — VREFS — ADCK2 ADCK1 ADCK0
R/W R/W R/W — R/W — R/W R/W R/W
POR 0 0 — 0 — 0 0 0
Bit7 ACS4:SelecteInternal1.25VasADCinputControl
0:Disable
1:Enable
Thisbitenables1.25VtobeconnectedtotheA/Dconverter.TheV125ENbitmust
rsthavebeensettoenablethebandgapcircuit1.25VvoltagetobeusedbytheA/D
converter.WhentheACS4bitissethigh,thebandgap1.25Vvoltagewillberoutedto
theA/DconverterandtheotherA/Dinputchannelsdisconnected.
Bit6 V125EN:Internal1.25VControl
0:Disable
1:Enable
ThisbitcontrolstheinternalBandgapcircuiton/offfunctiontotheA/Dconverter.
Whenthebitissethighthebandgapvoltage1.25VcanbeusedbytheA/Dconverter.
If1.25VisnotusedbytheA/DconverterandtheLVR/LVDfunctionisdisabledthen
thebandgapreferencecircuitwillbeautomaticallyswitchedofftoconservepower.
When1.25VisswitchedonforusebytheA/Dconverter,atimet
BG
shouldbeallowed
forthebandgapcircuittostabilisebeforeimplementinganA/Dconversion.
Bit5 Unimplemented,readas“0”
Bit4 VREFS:SelecteADCreferencevoltage
0:InternalADCpower
1:VREFpin
ThisbitisusedtoselectthereferencevoltagefortheA/Dconverter.Ifthebitishigh,
thentheA/DconverterreferencevoltageissuppliedontheexternalVREFpin.Ifthepin
islow,thentheinternalreferenceisusedwhichistakenfromthepowersupplypinVDD.
Bit3 Unimplemented,readas“0”
Bit2~0 ADCK2, ADCK1, ADCK0:SelectADCclocksource
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:Undened
ThesethreebitsareusedtoselecttheclocksourcefortheA/Dconverter.