| Electronic Components Datasheet Search |
|
HT66F007 Datasheet(PDF) 90 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F007 Datasheet(HTML) 90 Page - Holtek Semiconductor Inc |
|
90 / 131 page ![]() Rev. 1.41 90 April 11, 2017 Rev. 1.41 91 April 11, 2017 HT66F007/HT66F008 Cost-Effective A/D Flash MCU with EEPROM HT66F007/HT66F008 Cost-Effective A/D Flash MCU with EEPROM A/D Converter Data Registers – ADRL, ADRH Asthedevicescontainaninternal12-bitA/Dconverter,itrequirestwodataregisterstostorethe 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 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 1 0 0 0 0 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 A/D Data Registers A/D Converter Control Registers – ADCR0, ADCR1, ACER TocontrolthefunctionandoperationoftheA/Dconverter,threecontrolregistersknownasADCR0, ADCR1,ACERareprovided.These8-bitregistersdefinefunctionssuchastheselectionofwhich analogchannelisconnectedtotheinternalA/Dconverter,thedigitiseddataformat,theA/Dclock sourceaswellascontrollingthestartfunctionandmonitoringtheA/Dconverterendofconversion status.TheACS2~ACS0bitsintheADCR0registerandtheACS4bitintheADCR1registerdefine theADCinputchannelnumber.Asthedevicescontainonlyoneactualanalogtodigitalconverter hardwarecircuit,eachoftheindividual5analoginputsmustberoutedtotheconverter.Itisthe functionoftheACS4,ACS2~ACS0bitstodeterminewhichanalogchannelinputsignalsorinternal 1.25VisactuallyconnectedtotheinternalA/Dconverter. TheACERcontrolregistercontainstheACE4~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 |