| Electronic Components Datasheet Search |
|
HT45F5Q-2 Datasheet(PDF) 66 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q-2 Datasheet(HTML) 66 Page - Holtek Semiconductor Inc |
|
66 / 117 page ![]() Rev. 1.00 �� ���� 0�� �01� Rev. 1.00 �� ���� 0�� �01� HT45F5Q-2 Charger Flash MCU HT45F5Q-2 Charger Flash MCU A/D Converter Register Description OveralloperationoftheA/Dconverteriscontrolledusingfiveregisters.Areadonlyregisterpair existstostoretheA/Dconverterdata12-bitvalue.Theremainingthreeregistersarecontrolregisters whichsetuptheoperatingandcontrolfunctionoftheA/Dconverter. Register Name Bit 7 6 5 4 3 2 1 0 SADOL(ADRFS=0) D3 D� D1 D0 — — — — SADOL(ADRFS=1) D� D� D5 D4 D3 D� D1 D0 SADOH(ADRFS=0) D11 D10 D9 D8 D� D� D5 D4 SADOH(ADRFS=1) — — — — D11 D10 D9 D8 SADC0 START ADBZ ADCEN ADRFS SACS3 SACS� SACS1 SACS0 SADC1 SAINS� SAINS1 SAINS0 SAVRS1 SAVRS0 SACKS� SACKS1 SACKS0 A/D Converter Registers List 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 unchangediftheA/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 D� D� D5 D4 D3 D� D1 D0 0 0 0 0 1 0 0 0 0 D11 D10 D9 D8 D� D� D5 D4 D3 D� D1 D0 A/D Data Registers A/D Converter Control Registers – SADC0, SADC1 TocontrolthefunctionandoperationoftheA/Dconverter,severalcontrolregistersknownas SADC0andSADC1areprovided.These8-bitregistersdefinefunctionssuchastheselectionof whichanalogchannelisconnectedtotheinternalA/Dconverter,thedigitiseddataformat,theA/D clocksourceaswellascontrollingthestartfunctionandmonitoringtheA/Dconverterbusystatus. Asthedevicecontainsonlyoneactualanalogtodigitalconverterhardwarecircuit,eachofthe externalorinternalanalogsignalinputsmustberoutedtotheconverter.TheSACS3~SACS0bitsin theSADC0registerareusedtodeterminewhichexternalchannelinputisselectedtobeconverted. TheSAINS2~SAINS0bitsintheSADC1registerareusedtodeterminethattheanalogsignaltobe convertedcomesfromtheinternalanalogsignalorexternalanalogchannelinput. Thepin-sharedfunctionselectionbitsdeterminewhichpinsonI/OPortsareusedasanaloginputs fortheA/DconverterinputandwhichpinsarenottobeusedastheA/Dconverterinput.When thepinisselectedtobeanA/Dinput,itsoriginalfunction,whetheritisanI/Oorotherpin-shared functionwillberemoved.Inaddition,anyinternalpull-highresistorsconnectedtothesepinswillbe automaticallyremovedifthepinisselectedtobeanA/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 |