| Electronic Components Datasheet Search |
|
HT45FM2C Datasheet(PDF) 88 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45FM2C Datasheet(HTML) 88 Page - Holtek Semiconductor Inc |
|
88 / 171 page ![]() Rev. 1.10 88 �a� �0� �01� Rev. 1.10 89 �a� �0� �01� HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU Preliminar� A/D Converter Control Registers – ADCR0, ADCR1, ANCSR0, ANCSR1, ADDL TocontrolthefunctionandoperationoftheA/Dconverter,fourcontrolregistersknownasADCR0, ADCR1,ANCSR0andANCSR1areprovided.These8-bitregistersdefinefunctionssuchasthe selectionofwhichanalogchannelisconnectedtotheinternalA/Dconverter,thedigitiseddata format,theA/DclocksourceaswellascontrollingthestartfunctionandmonitoringtheA/D converterendofconversionstatus.TheACS3~ACS0bitsintheADCR0registerdefinetheADC inputchannelnumber.Asthedevicecontainsonlyoneactualanalogtodigitalconverterhardware circuit,eachoftheindividual9analoginputsmustberoutedtotheconverter.Itisthefunctionof theACS3~ACS0bitstodeterminewhichanalogchannelinputpinsorIspinisactuallyconnectedto theinternalA/Dconverter. TheANCSR0andANCSR1controlregisterscontainthePCR8~PCR0bitswhichdeterminewhich pinsonPortAorPB3isusedasanaloginputsfortheA/Dconverterinputandwhichpinsarenot tobeusedastheA/Dconverterinput.SettingthecorrespondingbithighwillselecttheA/Dinput function,clearingthebittozerowillselecteithertheI/Oorotherpin-sharedfunction.Whenthe pinisselectedtobeanA/Dinput,itsoriginalfunctionwhetheritisanI/Oorotherpin-shared functionwillberemoved.Inaddition,anyinternalpull-highresistorsconnectedtothesepinswillbe automaticallyremovedifthepinisselectedtobeanA/Dinput. TheADDLregisterexiststostoretheADCdelaystarttime. ADCR0 Register Bit 7 6 5 4 3 2 1 0 Name ADSTR EOCB ADOFF — ACS� ACS� ACS1 ACS0 R/W R/W R R/W — R/W R/W R/W R/W POR 0 1 1 — 0 0 0 0 Bit 7 ADSTR: StarttheA/Dconversion 0→1→0:Start 0→1:ResettheA/DconverterandsetEOCBto“1” ThisbitisusedtoinitiateanA/Dconversionprocess.Thebitisnormallylowbutifset highandthenclearedlowagain,theA/Dconverterwillinitiateaconversionprocess. WhenthebitissethightheA/Dconverterwillbereset. Bit 6 EOCB: EndofA/Dconversionflag 0:A/Dconversionended 1:A/Dconversioninprogress ThisreadonlyflagisusedtoindicatewhenanA/Dconversionprocesshascompleted. Whentheconversionprocessisrunning,thebitwillbehigh. Bit 5 ADOFF :ADCmodulepoweron/offcontrolbit 0:ADCmodulepoweron 1:ADCmodulepoweroff ThisbitcontrolsthepowertotheA/Dinternalfunction.Thisbitshouldbecleared tozerotoenabletheA/Dconverter.IfthebitissethighthentheA/Dconverterwill beswitchedoffreducingthedevicepowerconsumption.AstheA/Dconverterwill consumealimitedamountofpower,evenwhennotexecutingaconversion,thismay beanimportantconsiderationinpowersensitivebatterypoweredapplications. Note:1.itisrecommendedtosetADOFF=1beforeenteringIDLE/SLEEPModefor savingpower. 2.ADOFF=1willpowerdowntheADCmodule. Bit4 Unimplemented,readas"0" Bit 3~0 ACS3 ~ ACS0:SelectA/Dchannel 0000:AN0 0001:AN1 |
|
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 |