| Electronic Components Datasheet Search |
|
HT66F25D Datasheet(PDF) 130 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F25D Datasheet(HTML) 130 Page - Holtek Semiconductor Inc |
|
130 / 177 page ![]() Rev. 1.00 130 ���� ��� �01� Rev. 1.00 131 ���� ��� �01� A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D TheA/DconverterhasitsownreferencevoltagepinVREFhoweverthereferencevoltagecan alsobesuppliedfromthepowersupplypin,achoicewhichismadethroughtheVREFSbitinthe ADCR1register.TheanaloginputvaluesmustnotbeallowedtoexceedthevalueofVREF. PA 0/ AN 0 PB 7/ AN 7 V BG VB GE N Bu ffe r PA 2/ 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 , AC S2 ~A CS 0 A/D Input Structure Summary of A/D Conversion Steps ThefollowingsummarisestheindividualstepsthatshouldbeexecutedinordertoimplementanA/ Dconversionprocess. • Step1 SelecttherequiredA/DconversionclockbycorrectlyprogrammingbitsADCK2~ADCK0inthe ADCR1register. • Step2 EnabletheA/DbyclearingtheADOFFbitintheADCR0registertozero. • Step3 SelectwhichchannelistobeconnectedtotheinternalA/Dconverterbycorrectlyprogramming theACS4andACS1~ACS0orACS2~ACS0bitswhicharealsocontainedintheADCR1and ADCR0registers. • Step4 SelectwhichpinsaretobeusedasA/Dinputsandconfigurethembycorrectlyprogrammingthe ACE3~ACE0orACE7~ACE0bitsintheACERLregister. • Step5 Iftheinterruptsaretobeused,theinterruptcontrolregistersmustbecorrectlyconfiguredto ensuretheA/Dconverterinterruptfunctionisactive.Themasterinterruptcontrolbit,EMI,and theA/Dconverterinterruptbit,ADE,mustbothbesettohightodothis. • Step6 TheanalogtodigitalconversionprocesscannowbeinitialisedbysettingtheSTARTbitinthe ADCR0registerfromlowtohighandthentolowagain.Notethatthisbitshouldhavebeen originallyclearedto0. • Step7 Tocheckwhentheanalogtodigitalconversionprocessiscomplete,theEOCBbitintheADCR0 registercanbepolled.Theconversionprocessiscompletewhenthisbitgoeslow.Whenthis occurs,theA/DdataregistersADRLandADRHcanbereadtoobtaintheconversionvalue.As analternativemethodiftheinterruptsareenabledandthestackisnotfull,theprogramcanwait foranA/Dinterrupttooccur. Note:Whencheckingfortheendoftheconversionprocess,ifthemethodofpollingtheEOCB bitintheADCRregisterisused,theinterruptenablestepabovecanbeomitted. |
|
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 |