| Electronic Components Datasheet Search |
|
HT45F5Q Datasheet(PDF) 76 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q Datasheet(HTML) 76 Page - Holtek Semiconductor Inc |
|
76 / 114 page ![]() Rev. 1.10 7� De�e��e� 1�� �01� Rev. 1.10 77 De�e��e� 1�� �01� HT45F5Q Charger Flash MCU HT45F5Q Charger Flash MCU A/D Operation TheSTARTbitisusedtostartandresettheA/Dconverter.Whenthemicrocontrollersetsthisbit fromlowtohighandthenlowagain,ananalogtodigitalconversioncyclewillbeinitiated.When theSTARTbitisbroughtfromlowtohighbutnotlowagain,theADBZbitintheSADC0register willbeclearedtozeroandtheanalogtodigitalconverterwillbereset.ItistheSTARTbitthatis usedtocontroltheoverallstartoperationoftheinternalanalogtodigitalconverter. TheADBZbitintheSADC0registerisusedtoindicatewhethertheanalogtodigitalconversion processisinprocessornot.WhentheA/DconverterisresetbysettingtheSTARTbitfrom lowtohigh,theADBZflagwillbeclearedto0.Thisbitwillbeautomaticallysetto“1”bythe microcontrollerafteranA/Dconversionissuccessfullyinitiated.WhentheA/Dconversionis complete,theADBZwillbeclearedto0.Inaddition,thecorrespondingA/Dinterruptrequestflag willbesetintheinterruptcontrolregister,andiftheinterruptsareenabled,anappropriateinternal interruptsignalwillbegenerated.ThisA/Dinternalinterruptsignalwilldirecttheprogramflowto theassociatedA/Dinternalinterruptaddressforprocessing.IftheA/Dinternalinterruptisdisabled, themicrocontrollercanbeusedtopolltheADBZbitintheSADC0registertocheckwhetherithas beenclearedasanalternativemethodofdetectingtheendofanA/Dconversioncycle. AlthoughtheA/DclocksourceisdeterminedbythesystemclockfSYS,andbybitsSACKS2~ SACKS0,therearesomelimitationsonthemaximumA/Dclocksourcespeedthatcanbeselected. AstherecommendedvalueofpermissibleA/Dclockperiod,tADCK,isfrom0.5μsto10μs,caremust betakenforsystemclockfrequencies.Forexample,ifthesystemclockoperatesatafrequencyof 4MHz,theSACKS2~SACKS0bitsshouldnotbesetto000Bor11xB.DoingsowillgiveA/Dclock periodsthatarelessthantheminimumA/DclockperiodorgreaterthanthemaximumA/Dclock periodwhichmayresultininaccurateA/Dconversionvalues. Controllingthepoweron/offfunctionoftheA/Dconvertercircuitryisimplementedusingthe ENADCbitintheSADC0register.ThisbitmustbesethightopowerontheA/Dconverter.When theENADCbitissethightopowerontheA/Dconverterinternalcircuitryacertaindelay,as indicatedinthetimingdiagram,mustbeallowedbeforeanA/Dconversionisinitiated.Evenifno pinsareselectedforuseasA/Dinputsbyconfiguringthecorrespondingpin-sharedcontrolbits,if theENADCbitishighthensomepowerwillstillbeconsumed.Inpowerconsciousapplicationsit isthereforerecommendedthattheENADCissetlowtoreducepowerconsumptionwhentheA/D converterfunctionisnotbeingused. ThereferencevoltagesupplytotheA/DConvertercanbesuppliedfromeithertheinternalADC powerorfromanexternalreferencesourcessuppliedonpinVREFvoltage.Thedesiredselectionis madeusingtheSAVRS1~SAVRS0bits.AstheVREFpinispin-sharedwithotherfunctions,when theVREFpinisselectedasthereferencevoltagesupplypin,theVREFpin-sharedfunctioncontrol bitsshouldbeproperlyconfiguredtodisableotherpinfunctions. |
|
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 |