| Electronic Components Datasheet Search |
|
HT45F4MA Datasheet(PDF) 118 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA Datasheet(HTML) 118 Page - Holtek Semiconductor Inc |
|
118 / 145 page ![]() Rev. 1.20 118 De�e��e� 1�� 201� Rev. 1.20 119 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU MFI2 Register Bit 7 6 5 4 3 2 1 0 Na�e — — DEF LVF — — DEE LVE R/W — — R/W R/W — — R/W R/W POR — — 0 0 — — 0 0 Bit7~6 Unimplemented,readas"0" Bit5 DEF:DataEEPROMinterruptrequestflag 0:Norequest 1:Interruptrequest Bit4 LVF:LVDinterruptrequestflag 0:Norequest 1:Interruptrequest Bit3~2 Unimplemented,readas"0" Bit1 DEE:DataEEPROMInterruptControl 0:Disable 1:Enable Bit0 LVE:LVDInterruptControl 0:Disable 1:Enable Interrupt Operation Whentheconditionsforaninterrupteventoccur,suchasaTMComparatorPorComparatorA 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. |
|
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 |