| Electronic Components Datasheet Search |
|
HT45F12 Datasheet(PDF) 78 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F12 Datasheet(HTML) 78 Page - Holtek Semiconductor Inc |
|
78 / 104 page ![]() Rev. 0.00 78 �e�te��e� ��� �01� Rev. 0.00 79 �e�te��e� ��� �01� HT45F12 8-Bit Flash MCU with Op Amps & Comparators HT45F12 8-Bit Flash MCU with Op Amps & Comparators MFIC1 Register Bit 7 6 5 4 3 2 1 0 Na�e — — E�F CF — — E�I ECI R/W — — R/W R/W — — R/W R/W POR — — 0 0 — — 0 0 Bit7~6 Unimplemented,readas“0” Bit5 E2F:EEPROMinterruptrequestflag 0:Inactive 1:Active Bit4 CF:Comparatorinterruptrequestflag 0:Inactive 1:Active Bit3~2 Unimplemented,readas“0” Bit1 E2I:EEPROMinterruptenable 0:Disable 1:Enable Bit0 ECI:Comparatorinterruptenable 0:Disable 1:Enable External Interrupt TheexternalinterruptsarecontrolledbysignaltransitionsonthepinsINT0~INT1.Anexternal interruptrequestwilltakeplacewhentheexternalinterruptrequestflags,EIF0~EIF1,areset,which willoccurwhenatransition,whosetypeischosenbytheedgeselectbits,appearsontheexternal interruptpins.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobal interruptenablebit,EMI,andrespectiveexternalinterruptenablebit,EEI0~EEI1,mustfirstbe set.AdditionallythecorrectinterruptedgetypemustbeselectedusingtheINTEDGEregisterto enabletheexternalinterruptfunctionandtochoosethetriggeredgetype.Astheexternalinterrupt pinsarepin-sharedwithI/Opins,theycanonlybeconfiguredasexternalinterruptpinsiftheir externalinterruptenablebitinthecorrespondinginterruptregisterhasbeenset.Thepinmustalso besetupasaninputbysettingthecorrespondingbitintheportcontrolregister.Whentheinterrupt isenabled,thestackisnotfullandthecorrecttransitiontypeappearsontheexternalinterruptpin, asubroutinecalltotheexternalinterruptvector,willtakeplace.Whentheinterruptisserviced, theexternalinterruptrequestflags,EIF0~EIF1,willbeautomaticallyresetandtheEMIbitwillbe automaticallyclearedtodisableotherinterrupts.Notethatanypull-highresistorselectionsonthe externalinterruptpinswillremainvalidevenifthepinisusedasanexternalinterruptinput. TheINTEDGEregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternal interrupt.Achoiceofeitherrisingorfallingorbothedgetypescanbechosentotriggeranexternal interrupt.NotethattheINTEDGEregistercanalsobeusedtodisabletheexternalinterruptfunction. F ilt er O n/ Of f Co nf ig ur at io n Op ti on IN T1 F ilt er IN T0 F ilt er Ex te rn al I NT .0 Ex te rn al I NT .1 MC U |
|
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 |