| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 147 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 147 Page - Holtek Semiconductor Inc |
|
147 / 172 page ![]() Rev. 1.20 146 �a��� 2�� 201� Rev. 1.20 147 �a��� 2�� 201� HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver Ifaninterruptrequiresimmediateservicingwhiletheprogramisalreadyinanotherinterruptservice routine,theEMIbitshouldbesetafterenteringtheroutine,toallowinterruptnesting.Ifthestack isfull,theinterruptrequestwillnotbeacknowledged,eveniftherelatedinterruptisenabled,until theStackPointerisdecremented.Ifimmediateserviceisdesired,thestackmustbepreventedfrom becomingfull.Incaseofsimultaneousrequests,theaccompanyingdiagramshowstheprioritythat isapplied.Alloftheinterruptrequestflagswhensetwillwake-upthedeviceifitisinSLEEPor IDLEMode,howevertopreventawake-upfromoccurringthecorrespondingflagshouldbeset beforethedeviceisinSLEEPorIDLEMode. INT0 Pin INT1 Pin INT0F INT1F INT0E INT1E E�I 04H E�I 08H �. Fun�t. 0 �F0F �F0E 0CH 10H 14H Time Base 0 TB0F TB0E 18H LVD LVF LVE 1CH Inte��upt Name Request Flags Enable Bits �aste� Enable Vector E�I auto disabled in ISR P�io�ity Hig� Low ET� P ET�PF ET�PE ET� A ET�AF ET�AE �. Fun�t. 1 �F1F �F1E CT� P CT�PF CT�PE CT� A CT�AF CT�AE Inte��upts �ontained wit�in �ulti-Fun�tion Inte��upts xxE Enable Bits xxF Request Flag� auto �eset in ISR Legend xxF Request Flag� no auto �eset in ISR E�I E�I �. Fun�t. 2 �F2F �F2E EEPRO� DEF DEE E�I PT� P PT�PF PT�PE PT� A PT�AF PT�AE ET� B ET�BF ET�BE Time Base 1 TB1F TB1E E�I E�I 20H 24H I2C Inte�fa�e IICF IICE UART inte�fa�e URF URE E�I E�I Interrupt Structure External Interrupt TheexternalinterruptsarecontrolledbysignaltransitionsonthepinsINT0~INT1.Anexternal interruptrequestwilltakeplacewhentheexternalinterruptrequestflags,INT0F~INT1F,areset, whichwilloccurwhenatransition,whosetypeischosenbytheedgeselectbits,appearsonthe externalinterruptpins.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,the globalinterruptenablebit,EMI,andrespectiveexternalinterruptenablebit,INT0E~INT1E,must firstbeset.AdditionallythecorrectinterruptedgetypemustbeselectedusingtheINTEGregisterto enabletheexternalinterruptfunctionandtochoosethetriggeredgetype.Astheexternalinterrupt pinsarepin-sharedwithI/Opins,theycanonlybeconfiguredasexternalinterruptpinsiftheir externalinterruptenablebitinthecorrespondinginterruptregisterhasbeenset.Thepinmustalso besetupasaninputbysettingthecorrespondingbitintheportcontrolregister.Whentheinterrupt isenabled,thestackisnotfullandthecorrecttransitiontypeappearsontheexternalinterruptpin, asubroutinecalltotheexternalinterruptvector,willtakeplace.Whentheinterruptisserviced,the externalinterruptrequestflags,INT0F~INT1F,willbeautomaticallyresetandtheEMIbitwillbe automaticallyclearedtodisableotherinterrupts.Notethatanypull-highresistorselectionsonthe externalinterruptpinswillremainvalidevenifthepinisusedasanexternalinterruptinput. TheINTEGregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternalinterrupt. Achoiceofeitherrisingorfallingorbothedgetypescanbechosentotriggeranexternalinterrupt. NotethattheINTEGregistercanalsobeusedtodisabletheexternalinterruptfunction. |
|
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 |