| 전자부품 데이터시트 검색엔진 |
|
HT45F5R 데이터시트(PDF) 113 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R 데이터시트(HTML) 113 Page - Holtek Semiconductor Inc |
|
113 / 138 page ![]() Rev. 1.10 11� De�e��e� 1�� �01� Rev. 1.10 11� De�e��e� 1�� �01� HT45F5R Charger ASSP Flash MCU HT45F5R Charger ASSP Flash MCU MFI2 Register Bit 7 6 5 4 3 2 1 0 Na�e — — PTM1AF PTM1PF — — PTM1AE PTM1PE R/W — — R/W R/W — — R/W R/W POR — — 0 0 — — 0 0 Bit7~6 Unimplemented,readas"0" Bit5 PTM1AF:PTM1ComparatorAmatchinterruptrequestflag 0:Norequest 1:Interruptrequest Bit4 PTM1PF:PTM1ComparatorPmatchinterruptrequestflag 0:Norequest 1:Interruptrequest Bit3~2 Unimplemented,readas"0" Bit1 PTM1AE:PTM1ComparatorAmatchinterruptcontrol 0:Disable 1:Enable Bit0 PTM1PE:PTM1ComparatorPmatchinterruptcontrol 0:Disable 1:Enable Interrupt Operation Whentheconditionsforaninterrupteventoccur,suchasaTMComparatorP,ComparatorA matchorA/Dconversioncompletionetc.,therelevantinterruptrequestflagwillbeset.Whether therequestflagactuallygeneratesaprogramjumptotherelevantinterruptvectorisdeterminedby theconditionoftheinterruptenablebit.Iftheenablebitissethighthentheprogramwilljumpto itsrelevantvector,iftheenablebitiszerothenalthoughtheinterruptrequestflagissetanactual interruptwillnotbegeneratedandtheprogramwillnotjumptotherelevantinterruptvector.The globalinterruptenablebit,ifclearedtozero,willdisableallinterrupts. Whenaninterruptisgenerated,theProgramCounter,whichstorestheaddressofthenextinstruction tobeexecuted,willbetransferredontothestack.TheProgramCounterwillthenbeloadedwitha newaddresswhichwillbethevalueofthecorrespondinginterruptvector.Themicrocontrollerwill thenfetchitsnextinstructionfromthisinterruptvector.Theinstructionatthisvectorwillusually bea"JMP"whichwilljumptoanothersectionofprogramwhichisknownastheinterruptservice routine.Hereislocatedthecodetocontroltheappropriateinterrupt.Theinterruptserviceroutine mustbeterminatedwitha"RETI",whichretrievestheoriginalProgramCounteraddressfrom thestackandallowsthemicrocontrollertocontinuewithnormalexecutionatthepointwherethe interruptoccurred. Thevariousinterruptenablebits,togetherwiththeirassociatedrequestflags,areshowninthe Accompanyingdiagramswiththeirorderofpriority.Someinterruptsourceshavetheirown individualvectorwhileotherssharethesamemulti-functioninterruptvector.Onceaninterrupt subroutineisserviced,alltheotherinterruptswillbeblocked,astheglobalinterruptenablebit, EMIbitwillbeclearedautomatically.Thiswillpreventanyfurtherinterruptnestingfromoccurring. However,ifotherinterruptrequestsoccurduringthisinterval,althoughtheinterruptwillnotbe immediatelyserviced,therequestflagwillstillberecorded. |
|
링크 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 |