| Electronic Components Datasheet Search |
|
HT45F5Q Datasheet(PDF) 74 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q Datasheet(HTML) 74 Page - Holtek Semiconductor Inc |
|
74 / 114 page ![]() Rev. 1.10 74 De�e��e� 1�� �01� Rev. 1.10 75 De�e��e� 1�� �01� HT45F5Q Charger Flash MCU HT45F5Q Charger Flash MCU A/D Converter Register Description OveralloperationoftheA/Dconverteriscontrolledusingfiveregisters.Areadonlyregisterpair existstostoretheADCdata12-bitvalue.Theremainingthreeregistersarecontrolregisterswhich setuptheoperatingandcontrolfunctionoftheA/Dconverter. Name Bit 7 6 5 4 3 2 1 0 SADOL(ADRFS=0) D� D� D1 D0 — — — — SADOL(ADRFS=1) D7 D� D5 D4 D� D� D1 D0 SADOH(ADRFS=0) D11 D10 D9 D8 D7 D� D5 D4 SADOH(ADRFS=1) — — — — D11 D10 D9 D8 SADC0 START ADBZ ENADC ADRFS SACS� SACS� SACS1 SACS0 SADC1 SAINS� SAINS1 SAINS0 SAVRS1 SAVRS0 SACKS� SACKS1 SACKS0 A/D Converter Data Registers – SADOL, SADOH Asthedevicecontainsaninternal12-bitA/Dconverter,itrequirestwodataregisterstostorethe convertedvalue.Theseareahighbyteregister,knownasSADOH,andalowbyteregister,known asSADOL.Aftertheconversionprocesstakesplace,theseregisterscanbedirectlyreadbythe microcontrollertoobtainthedigitisedconversionvalue.Asonly12bitsofthe16-bitregisterspace isutilised,theformatinwhichthedataisstorediscontrolledbytheADRFSbitintheSADC0 registerasshownintheaccompanyingtable.D0~D11aretheA/Dconversionresultdatabits. Anyunusedbitswillbereadaszero.NotethattheA/Dconverterdataregistercontentswillbe unchangedtozeroiftheA/Dconverterisdisabled. ADRFS SADOH SADOL 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 0 D11 D10 D9 D8 D7 D� D5 D4 D� D� D1 D0 0 0 0 0 1 0 0 0 0 D11 D10 D9 D8 D7 D� D5 D4 D� D� D1 D0 A/D Data Registers A/D Converter Control Registers – SADC0, SADC1, PASR TocontrolthefunctionandoperationoftheA/Dconverter,severalcontrolregistersknownas SADC0andSADC1areprovided.These8-bitregistersdefinefunctionssuchastheselectionof whichanalogchannelisconnectedtotheinternalA/Dconverter,thedigitiseddataformat,theA/D clocksourceaswellascontrollingthestartfunctionandmonitoringtheA/Dconverterbusystatus. TheSACS3~SACS0bitsintheSADC0registerareusedtodeterminewhichexternalchannelinput isselectedtobeconverted.TheSAINS2~SAINS0bitsintheSADC1registerareusedtodetermine thattheanalogsignaltobeconvertedcomesfromtheinternalanalogsignalorexternalanalog channelinput.IftheSAINS2~SAINS0bitsaresetto“000”,theexternalanalogchannelinputis selectedtobeconvertedandtheSACS3~SACS0bitscandeterminewhichexternalchannelis selectedtobeconverted.IftheSAINS2~SAINS0bitsaresetto“001”,theVBGvoltageisselectedto beconverted.IftheSAINS2~SAINS0bitsaresetto“010”,theOPAoutputvoltageisselectedtobe converted.TheinternalanalogsignalscanbederivedfromtheA/Dconvertersupplypower,VDD,or internalreferencevoltage,VREF.Iftheinternalanalogsignalisselectedtobeconverted,theexternal channelsignalinputwillautomaticallybeswitchedofftoavoidthesignalcontention. Thepin-sharedfunctioncontrolregister,namedPASR,containsthecorrespondingpin-shared selectionbitswhichdeterminewhichpinsonPortAareusedasanaloginputsfortheA/Dconverter inputandwhichpinsarenottobeusedastheA/Dconverterinput.Whenthepinisselectedtobe anA/Dinput,itsoriginalfunctionwhetheritisanI/Oorotherpin-sharedfunctionwillberemoved. Inaddition,anyinternalpull-highresistorsconnectedtothesepinswillbeautomaticallyremovedif thepinisselectedtobeanA/Dinput. |
|
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 |