User`s guide

Rev. 1.10 86 November 14, 2014 Rev. 1.10 87 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
Bit5 ADOFF :ADCmodulepoweron/offcontrolbit
0:ADCmodulepoweron
1:ADCmodulepoweroff
ThisbitcontrolsthepowertotheA/Dinternalfunction.Thisbitshouldbecleared
tozerotoenabletheA/Dconverter.IfthebitissethighthentheA/Dconverterwill
beswitchedoffreducingthedevicepowerconsumption.AstheA/Dconverterwill
consumealimitedamountofpower,evenwhennotexecutingaconversion,thismay
beanimportantconsiderationinpowersensitivebatterypoweredapplications.
Note:1.itisrecommendedtosetADOFF=1beforeenteringIDLE/SLEEPModefor
savingpower.
2.ADOFF=1willpowerdowntheADCmodule.
Bit4~0 ACS4 ~ ACS0:SelectA/Dchannel(whenACS4is“0”)
00000:AN0
00001:AN1
00010:AN2
00011:AN3
00100:AN4
00101:AN5
00110:AN6
00111:AN7
01000:AN8(DEM_OPA_output)
01001~01111:AN9(OCP_OPA_output)
1xxxx:BandgapVoltage
ThesearetheA/Dchannelselectcontrolbits.Asthereisonlyoneinternalhardware
A/DconvertereachoftheeightA/Dinputsmustberoutedtotheinternalconverter
usingthesebits.IfbitACS4issethighthentheinternalV
BG
willberoutedtotheA/D
Converter.
ADCR1 Register
Bit 7 6 5 4 3 2 1 0
Name VBGEN ADRFS VREFS1 VREFS0 ADCK2 ADCK1 ADCK0
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 Unimplemented,readas"0"
Bit6 VBGEN:InternalreferencevoltagecircuitControl
0:Disable
1:Enable
ThisbitcontrolstheinternalBandgapcircuiton/offfunctiontotheA/Dconverter.
WhenthebitissethighthebandgapreferencevoltagecanbeusedbytheA/D
converter.IfreferencevoltageisnotusedbytheA/DconverterandtheLVR/LVD
functionisdisabledthenthebandgapreferencecircuitwillbeautomaticallyswitched
offtoconservepower.WhenreferencevoltageisswitchedonforusebytheA/D
converter,atimet
BG
shouldbeallowedforthebandgapcircuittostabilisebefore
implementinganA/Dconversion.
Bit5 ADRFS:ADCDataFormatControl
0:ADCDataMSBisADRHbit7,LSBisADRLbit4
1:ADCDataMSBisADRHbit3,LSBisADRLbit0
Thisbitcontrolstheformatofthe12-bitconvertedA/DvalueinthetwoA/Ddata
registers.DetailsareprovidedintheA/Ddataregistersection.