| 전자부품 데이터시트 검색엔진 |
|
HT45F4630 데이터시트(PDF) 89 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4630 데이터시트(HTML) 89 Page - Holtek Semiconductor Inc |
|
89 / 153 page ![]() Rev. 1.00 88 ���i� 1�� �01� Rev. 1.00 89 ���i� 1�� �01� HT45F4630 DC Motor Driver ASSP MCU HT45F4630 DC Motor Driver ASSP MCU Summary of A/D Conversion Steps ThefollowingsummarisestheindividualstepsthatshouldbeexecutedinordertoimplementanA/D conversionprocess. • Step1 SelecttherequiredA/DconversionclockbycorrectlyprogrammingbitsSACKS2~SACKS0in theSADC1register. • Step2 EnabletheA/DbysettingtheENADCbitintheSADC0registertoone. • Step3 SelectwhichsignalistobeconnectedtotheinternalA/Dconverterbycorrectlyconfiguringthe SACS3~SACS0bits Selecttheexternalchannelinput,AN1,AN3,AN4,AN6orAN7,tobeconverted,gotoStep4. Selecttheinternalanalogsignal,AN0,AN5ortheBandgapreferencevoltage,tobeconverted, gotoStep5. • Step4 ThecorrespondingpinsshouldbeconfiguredasA/Dinputfunctionbyconfiguringtherelevant pin-sharedfunctioncontrolbits.Afterthisstep,gotoStep6. • Step5 SelectA/DconverteroutputdataformatbysettingtheADRFSbitintheSADC0register. • Step6 SelectthereferencevoltagesourcebyconfiguringtheSAVRS1~SAVRS0bitsintheSADC1 register. • Step7 IfA/Dconversioninterruptisused,theinterruptcontrolregistersmustbecorrectlyconfigured toensuretheA/Dinterruptfunctionisactive.Themasterinterruptcontrolbit,EMI,andtheA/D conversioninterruptcontrolbit,ADE,mustbothbesethighinadvance. • Step8 TheA/DconversionprocedurecannowbeinitializedbysettingtheSTARTbitintheSADC0 registerfromlowtohighandthenlowagain. • Step9 Tocheckwhentheanalogtodigitalconversionprocessiscomplete,theEOCBbitintheSADC0 registercanbepolled.Theconversionprocessiscompletewhenthisbitgoeslow.Whenthis occurstheA/DdataregistersSADOLandSADOHcanbereadtoobtaintheconversionvalue. Asanalternativemethod,iftheinterruptsareenabledandthestackisnotfull,theprogramcan waitforanA/Dinterrupttooccur. Note:Whencheckingfortheendoftheconversionprocess,ifthemethodofpollingtheEOCBbit intheSADC0registerisused,theinterruptenablestepabovecanbeomitted. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |