| Electronic Components Datasheet Search |
|
HT66F019 Datasheet(PDF) 103 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F019 Datasheet(HTML) 103 Page - Holtek Semiconductor Inc |
|
103 / 175 page ![]() Rev. 1.00 10� De�e��e� 01� �01� Rev. 1.00 103 De�e��e� 01� �01� HT66F019 A/D Flash MCU with EEPROM HT66F019 A/D Flash MCU with EEPROM A/D Converter Register Description OveralloperationoftheA/Dconverteriscontrolledusingseveralregisters.Areadonlyregisterpair existstostoretheA/Dconverterdata12-bitvalue.Theremainingtworegistersarecontrolregisters whichsetuptheoperatingandcontrolfunctionoftheA/Dconverter. Register Name Bit 7 6 5 4 3 2 1 0 SADOH (ADRFS=0) D11 D10 D9 D8 D� D6 D5 D4 SADOL (ADRFS=0) D3 D� D1 D0 — — — — SADOH (ADRFS=1) — — — — D11 D10 D9 D8 SADOL (ADRFS=1) D� D6 D5 D4 D3 D� D1 D0 SADC0 START ADBZ ADCEN ADRFS SACS3 SACS� SACS1 SACS0 SADC1 SAINS� SAINS1 SAINS0 SAVRS1 SAVRS0 SACKS� SACKS1 SACKS0 ACERL ACE� ACE6 ACE5 ACE4 ACE3 ACE� ACE1 ACE0 A/D Converter Register 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.Any unusedbitswillbereadaszero.NotethatA/DConverterdataregistercontentswillbeunchangedif theA/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� D6 D5 D4 D3 D� D1 D0 0 0 0 0 1 0 0 0 0 D11 D10 D9 D8 D� D6 D5 D4 D3 D� D1 D0 A/D Data Register Pair A/D Converter Control Registers – SADC0, SADC1, ACERL TocontrolthefunctionandoperationoftheA/Dconverter,threecontrolregistersknownasSADC0 andSADC1andACERLareprovided.These8-bitregistersdefinefunctionssuchastheselectionof whichanalogchannelisconnectedtotheinternalA/Dconverter,thedigitiseddataformat,theA/D clocksourceaswellascontrollingthestartfunctionandmonitoringtheA/Dconverterbusystatus. Asthedevicecontainsonlyoneactualanalogtodigitalconverterhardwarecircuit,eachofthe externalorinternalanalogsignalinputsmustberoutedtotheconverter.TheSACS3~SACS0bitsin theSADC0registerareusedtodeterminewhichexternalchannelinputisselectedtobeconverted. TheSAINS2~SAINS0bitsintheSADC1registerareusedtodeterminethattheanalogsignaltobe convertedcomesfromtheinternalanalogsignalorexternalanalogchannelinput. TheACERLcontrolregistercontainstheACE7~ACE0bitswhichdeterminewhichpinsonI/OPort 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 |