| поискавой системы для электроныых деталей |
|
HT66F005 датащи(PDF) 77 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F005 датащи(HTML) 77 Page - Holtek Semiconductor Inc |
|
77 / 109 page ![]() Rev. 1.30 �6 ���i� ��� �01� Rev. 1.30 �� ���i� ��� �01� HT66F005/HT66F006 Cost-Effective A/D Flash MCU with EEPROM HT66F005/HT66F006 Cost-Effective A/D Flash MCU with EEPROM PA 0/ AN 0 PA 3/ AN 3 1. 25 V V 125E N Bu ffe r PA 1/ 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 In pu t V ol t age AC S4 , AC S1 ~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,ACS1~ACS0bitswhicharealsocontainedintheADCR1andADCR0register. • Step4 SelectwhichpinsaretobeusedasA/Dinputsandconfigurethembycorrectlyprogrammingthe ACE3~ACE0bitsintheACERregister. • Step5 Iftheinterruptsaretobeused,theinterruptcontrolregistersmustbecorrectlyconfiguredto ensuretheA/Dconverterinterruptfunctionisactive.Themasterinterruptcontrolbit,EMI,and theA/Dconverterinterruptbit,ADE,mustbothbesethightodothis. • Step6 TheanalogtodigitalconversionprocesscannowbeinitialisedbysettingtheSTARTbitin theADCR0registerfromlowtohighandthenlowagain.Notethatthisbitshouldhavebeen originallyclearedto0. • Step7 Tocheckwhentheanalogtodigitalconversionprocessiscomplete,theEOCBbitintheADCR0 registercanbepolled.Theconversionprocessiscompletewhenthisbitgoeslow.Whenthis occurstheA/DdataregisterADRLandADRHcanbereadtoobtaintheconversionvalue.Asan alternativemethod,iftheinterruptsareenabledandthestackisnotfull,theprogramcanwaitfor anA/Dinterrupttooccur. Note:Whencheckingfortheendoftheconversionprocess,ifthemethodofpollingtheEOCB bitintheADCR0registerisused,theinterruptenablestepabovecanbeomitted. Theaccompanyingdiagramshowsgraphicallythevariousstagesinvolvedinananalogtodigital conversionprocessanditsassociatedtiming.AfteranA/Dconversionprocesshasbeeninitiated bytheapplicationprogram,themicrocontrollerinternalhardwarewillbegintocarryoutthe conversion,duringwhichtimetheprogramcancontinuewithotherfunctions.Thetimetakenforthe A/Dconversionis16tADCKwheretADCKisequaltotheA/Dclockperiod. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |