| Electronic Components Datasheet Search |
|
HT45F4MA Datasheet(PDF) 94 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA Datasheet(HTML) 94 Page - Holtek Semiconductor Inc |
|
94 / 145 page ![]() Rev. 1.20 9� De�e��e� 1�� 201� Rev. 1.20 95 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU A/D Converter Data Registers – ADRL, ADRH Asthedevicescontainaninternal12-bitA/Dconverter,theyrequiretwodataregisterstostorethe convertedvalue.Theseareahighbyteregister,knownasADRH,andalowbyteregister,known asADRL.Aftertheconversionprocesstakesplace,theseregisterscanbedirectlyreadbythe microcontrollertoobtainthedigitisedconversionvalue.Asonly12bitsofthe16-bitregisterspace isutilised,theformatinwhichthedataisstorediscontrolledbytheADRFSbitintheADCR0 registerasshownintheaccompanyingtable.D0~D11aretheA/Dconversionresultdatabits.Any unusedbitswillbereadaszero. ADRFS ADRH ADRL 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 0 D11 D10 D9 D8 D7 D� D5 D� D3 D2 D1 D0 0 0 0 0 1 0 0 0 0 D11 D10 D9 D8 D7 D� D5 D� D3 D2 D1 D0 A/D Data Registers A/D Converter Control Registers – ADCR0, ADCR1, ACERL TocontrolthefunctionandoperationoftheA/Dconverter,threecontrolregistersknownasADCR0, ADCR1andACERLareprovided.These8-bitregistersdefinefunctionssuchastheselectionof whichanalogchannelisconnectedtotheinternalA/Dconverter,thedigitiseddataformat,theA/ DclocksourceaswellascontrollingthestartfunctionandmonitoringtheA/Dconverterendof conversionstatus.TheACS3~ACS0bitsintheADCR0registerandACS4bitistheADCR1register definetheADCinputchannelnumber.Asthedevicecontainsonlyoneactualanalogtodigital converterhardwarecircuit,eachoftheindividual8analoginputsmustberoutedtotheconverter.It isthefunctionoftheACS4~ACS0bitstodeterminewhichanalogchannelinputsignalsorinternal 1.25VisactuallyconnectedtotheinternalA/Dconverter. TheACERLcontrolregistercontainstheACE7~ACE0bitswhichdeterminewhichpinsonPortA areusedasanaloginputsfortheA/DconverterinputandwhichpinsarenottobeusedastheA/D converterinput.SettingthecorrespondingbithighwillselecttheA/Dinputfunction,clearingthe bittozerowillselecteithertheI/Oorotherpin-sharedfunction.Whenthepinisselectedtobean A/Dinput,itsoriginalfunctionwhetheritisanI/Oorotherpin-sharedfunctionwillberemoved.In addition,anyinternalpull-highresistorsconnectedtothesepinswillbeautomaticallyremovedifthe pinisselectedtobeanA/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 |