| Electronic Components Datasheet Search |
|
HT45F5Q Datasheet(PDF) 78 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q Datasheet(HTML) 78 Page - Holtek Semiconductor Inc |
|
78 / 114 page ![]() Rev. 1.10 78 De�e��e� 1�� �01� Rev. 1.10 79 De�e��e� 1�� �01� HT45F5Q Charger Flash MCU HT45F5Q Charger Flash MCU Summary of A/D Conversion Steps ThefollowingsummarisestheindividualstepsthatshouldbeexecutedinordertoimplementanA/D conversionprocess. • Step1 SelecttherequiredA/DconversionfrequencybySACKS2~SACKS0 • Step2 EnabletheADCbysetENADC=1 • Step3 SelectwhichpinswillbeconfigureasADCanaloginputs • Step4 IfinputcomesfromI/O,setSAINS[2:0]=000andthensetSACSbitfieldstocorrespondingPA input Ifinputcomesfrominternalinput,setSAINS[2:0]tocorrespondinginternalinputsource • Step5 SelectreferencevoltagecomesfromexternalVREForVDDbySAVRS[1:0] Note:IfselectVREFasreferencevoltage,(PAS2,PAS1)=(1,0) • Step6 SelectADCoutputdataformatbyADRFS • Step7 IfADCinterruptisused,theinterruptcontrolregistersmustbecorrectlyconfiguredtoensure theA/Dinterruptfunctionisactive.Themasterinterruptcontrolbit,EMI,andtheA/Dconverter interruptbits,ADE,mustbothsethighinadvance. • Step8 TheA/DconverterprocedurecannowbeinitializedbysetSTARTfromlowtohighandthenlow again • Step9 IfADCisunderconversion,ADBZ=1.AfterA/Dconversionprocessiscompleted,theADBZ flagwillgolow,andthenoutputdatacanbereadfromSADOHandSADOLregisters.Ifthe ADCinterruptisenabledandthestackisnotfull,datacanbeacquiredbyinterruptservice program.AnotherwaytogettheA/DoutputdataispollingtheADBZflag. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |