| Electronic Components Datasheet Search |
|
HT45F65 Datasheet(PDF) 184 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 Datasheet(HTML) 184 Page - Holtek Semiconductor Inc |
|
184 / 231 page ![]() Rev. 1.60 18� �ove��e� ��� �01� Rev. 1.60 18� �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU Serial Interface Module Interrupt TheSerialInterfaceModuleInterrupt,alsoknownastheSIMinterrupt,iscontainedwithinthe Multi-functionInterrupt.ASIMInterruptrequestwilltakeplacewhentheSIMInterruptrequest flag,SIMF,isset,whichoccurswhenabyteofdatahasbeenreceivedortransmittedbytheSIM interface.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobal interruptenablebit,EMI,andtheSerialInterfaceInterruptenablebit,SIME,andMuti-function interruptenablebits,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandabyte ofdatahasbeentransmittedorreceivedbytheSIMinterface,asubroutinecalltotherespective Multi-functionInterruptvector,willtakeplace.WhentheSerialInterfaceInterruptisserviced,the EMIbitwillbeautomaticallyclearedtodisableotherinterrupts,howeveronlytheMulti-function interruptrequestflagwillbealsoautomaticallycleared.AstheSIMFflagwillnotbeautomatically cleared,ithastobeclearedbytheapplicationprogram. External Peripheral Interrupt TheExternalPeripheralInterruptoperatesinasimilarwaytotheexternalinterruptandiscontained withintheMulti-functionInterrupt.APeripheralInterruptrequestwilltakeplacewhentheExternal PeripheralInterruptrequestflag,XPF,isset,whichoccurswhenanegativeedgetransitionappears onthePINTBpin.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,the globalinterruptenablebit,EMI,externalperipheralinterruptenablebit,XPE,andassociated Multi-functioninterruptenablebit,mustfirstbeset.Whentheinterruptisenabled,thestackisnot fullandanegativetransitionappearsontheExternalPeripheralInterruptpin,asubroutinecallto therespectiveMulti-functionInterrupt,willtakeplace.WhentheExternalPeripheralInterruptis serviced,theEMIbitwillbeautomaticallyclearedtodisableotherinterrupts,howeveronlythe Multi-functioninterruptrequestflagwillbealsoautomaticallycleared. AstheXPFflagwillnotbeautomaticallycleared,ithastobeclearedbytheapplicationprogram. Theexternalperipheralinterruptpinispin-sharedwithseveralotherpinswithdifferentfunctions.It mustthereforebeproperlyconfiguredtoenableittooperateasanExternalPeripheralInterruptpin. Serial Peripheral Interface Interrupt TheSerialInterfaceInterrupt,alsoknownastheSPI1interrupt,iscontainedwithintheMulti- functionInterrupt.ASPI1InterruptrequestwilltakeplacewhentheSPI1Interruptrequestflag, SPI1F,isset,whichoccurswhenabyteofdatahasbeenreceivedortransmittedbytheSPI1 interface.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobal interruptenablebit,EMI,andtheSerialInterfaceInterruptenablebit,SPI1E,andMulti-function interruptenablebits,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandabyte ofdatahasbeentransmittedorreceivedbytheSPI1interface,asubroutinecalltotherespective Multi-functionInterruptvector,willtakeplace.WhentheSerialInterfaceInterruptisserviced,the EMIbitwillbeautomaticallyclearedtodisableotherinterrupts,howeveronlytheMulti-function interruptrequestflagwillbealsoautomaticallycleared.AstheSPI1Fflagwillnotbeautomatically cleared,ithastobeclearedbytheapplicationprogram. |
|
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 |