| Electronic Components Datasheet Search |
|
HT66F20 Datasheet(PDF) 177 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F20 Datasheet(HTML) 177 Page - Holtek Semiconductor Inc |
|
177 / 298 page ![]() Rev. 1.90 176 �e���a�� 18� �01� Rev. 1.90 177 �e���a�� 18� �01� HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM HT66F20/HT66F30/HT66F40/HT66F50/HT66F60 HT66FU30/HT66FU40/HT66FU50/HT66FU60 Enhanced A/D Flash Type 8-Bit MCU with EEPROM A/D Input Pins AlloftheA/Danaloginputpinsarepin-sharedwiththeI/OpinsonPortA,PE6,PF7,PF0orPF1 aswellasotherfunctions.TheACE11~ACE0bitsintheACERHandACERLregisters,determine whethertheinputpinsaresetupasA/Dconverteranaloginputsorwhethertheyhaveother functions.IftheACE11~ACE0bitsforitscorrespondingpinissethighthenthepinwillbesetupto beanA/Dconverterinputandtheoriginalpinfunctionsdisabled.Inthisway,pinscanbechanged underprogramcontroltochangetheirfunctionbetweenA/Dinputsandotherfunctions.Allpull- highresistors,whicharesetupthroughregisterprogramming,willbeautomaticallydisconnectedif thepinsaresetupasA/Dinputs.NotethatitisnotnecessarytofirstsetuptheA/Dpinasaninputin thePAC,PECorPFCportcontrolregistertoenabletheA/DinputaswhentheACE11~ACE0bits enableanA/Dinput,thestatusoftheportcontrolregisterwillbeoverridden. TheA/Dconverterhasitsownreferencevoltagepin,VREF,howeverthereferencevoltagecan alsobesuppliedfromthepowersupplypin,achoicewhichismadethroughtheVREFSbitinthe ADCR1register.TheanaloginputvaluesmustnotbeallowedtoexceedthevalueofVREF. PA 0/ AN 0 PF 1/ AN 11 1. 25 V V 125E N Bu ffe r PB 5/ VR EF VD D VR EF S V RE F 12- bi t A DC B andgap Re fe r enc e Vo lt age I npu t V ol t age AC S4 ~A CS 0 A/D Input Structure Summary of A/D Conversion Steps Thefollowingsummarisestheindividualstepsthatshouldbeexecutedinordertoimplementan A/Dconversionprocess. • Step1 SelecttherequiredA/DconversionclockbycorrectlyprogrammingbitsADCK2~ADCK0inthe ADCR1register. • Step2 EnabletheA/DbyclearingtheADOFFbitintheADCR0registertozero. • Step3 SelectwhichchannelistobeconnectedtotheinternalA/Dconverterbycorrectlyprogramming theACS4~ACS0bitswhicharealsocontainedintheADCR1andADCR0register. • Step4 SelectwhichpinsaretobeusedasA/Dinputsandconfigurethembycorrectlyprogrammingthe ACE11~ACE0bitsintheACERHandACERLregisters. • Step5 Iftheinterruptsaretobeused,theinterruptcontrolregistersmustbecorrectlyconfiguredto ensuretheA/Dconverterinterruptfunctionisactive.Themasterinterruptcontrolbit,EMI,and theA/Dconverterinterruptbit,EADI,mustbothbesethightodothis. |
|
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 |