| Electronic Components Datasheet Search |
|
HT45F56 Datasheet(PDF) 71 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F56 Datasheet(HTML) 71 Page - Holtek Semiconductor Inc |
|
71 / 90 page ![]() Rev. 1.11 70 April 11, 2017 Rev. 1.11 71 April 11, 2017 HT45F56 Shock Detector Flash MCU HT45F56 Shock Detector Flash MCU Debounce Interrupt TheDebounceInterruptiscontrolledbytheDebouncecircuitoutputtransition.ADebounce InterruptrequestwilltakeplacewhentheDebounceInterruptrequestflag,DEBF,isset,which occurswhentheDebouncecircuitoutputchangesstate.Toallowtheprogramtobranchtoits respectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,andComparatorInterrupt enablebit,DEBE,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandthe Debouncecircuitoutputtransitionoccurs,asubroutinecalltotheDebounceInterruptvectorwill takeplace.Whentheinterruptisserviced,theDebounceInterruptflag,DEBF,willbeautomatically cleared.TheEMIbitwillalsobeautomaticallyclearedtodisableotherinterrupts. Time Base Interrupt ThefunctionoftheTimeBaseInterruptistoprovideregulartimesignalintheformofaninternal interrupt.Itiscontrolledbytheoverflowsignalfromitsinternaltimer.Whenthishappensits interruptrequestflag,TBnF,willbeset.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddresses,theglobalinterruptenablebit,EMIandTimeBaseenablebit,TBnE,mustfirstbe set.Whentheinterruptisenabled,thestackisnotfullandtheTimeBaseoverflows,asubroutinecall toitsrespectivevectorlocationwilltakeplace.Whentheinterruptisserviced,theinterruptrequest flag,TBnF,willbeautomaticallyresetandtheEMIbitwillbeclearedtodisableotherinterrupts. ThepurposeoftheTimeBaseInterruptistoprovideaninterruptsignalatfixedtimeperiods.Its clocksource,fTB,originatesfromtheinternalclocksourcefSYS/4orfTBCandthenpassesthrough adivider,thedivisionratioofwhichisselectedbyprogrammingtheappropriatebitsintheTBC registertoobtainlongerinterruptperiodswhosevalueranges.Theclocksourcewhichinturn controlstheTimeBaseinterruptperiodisselectedusingtheTBCKbitintheTBCregister. M U X fSYS/4 fTBC 1/28~1/215 TBCK fTB TB0[2:0] TB1[1:0] Time Base 0 Interrupt Time Base 1 Interrupt 1/212~1/215 Time Base Interrupts |
|
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 |