| 전자부품 데이터시트 검색엔진 |
|
HT45F75 데이터시트(PDF) 153 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F75 데이터시트(HTML) 153 Page - Holtek Semiconductor Inc |
|
153 / 190 page ![]() Rev. 1.10 15� De�e��e� 1�� �01� Rev. 1.10 153 De�e��e� 1�� �01� HT45F75 Body Fat Scale Flash MCU HT45F75 Body Fat Scale Flash MCU 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.The INTEGregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternalinterrupt.A choiceofeitherrisingorfallingorbothedgetypescanbechosentotriggeranexternalinterrupt. NotethattheINTEGregistercanalsobeusedtodisabletheexternalinterruptfunction. A/D Converter Interrupt TheA/DConverterInterruptiscontrolledbytheterminationofanA/Dconversionprocess.AnA/D ConverterInterruptrequestwilltakeplacewhentheA/DConverterInterruptrequestflag,ADF,is set,whichoccurswhentheA/Dconversionprocessfinishes.Toallowtheprogramtobranchtoits respectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,andA/DInterruptenablebit, ADE,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandtheA/Dconversion processhasended,asubroutinecalltotheA/DConverterInterruptvector,willtakeplace.Whenthe interruptisserviced,theA/DConverterInterruptflag,ADF,willbeautomaticallycleared.TheEMI bitwillalsobeautomaticallyclearedtodisableotherinterrupts. Multi-function Interrupt WithinthisdevicethereareuptofourMulti-functioninterrupts.Unliketheotherindependent interrupts,theseinterruptshavenoindependentsource,butratherareformedfromotherexisting interruptsources,namelytheTMInterrupts,LVDinterrupt,UARTinterrupt,SIMInterrupt,I2Ctime outInterruptandEEPROMInterrupt. AMulti-functioninterruptrequestwilltakeplacewhenanyoftheMulti-functioninterruptrequest flags,MFnFareset.TheMulti-functioninterruptflagswillbesetwhenanyoftheirincluded functionsgenerateaninterruptrequestflag.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,whentheMulti-functioninterruptisenabledandthestackisnotfull,andeitherone oftheinterruptscontainedwithineachofMulti-functioninterruptoccurs,asubroutinecalltooneof theMulti-functioninterruptvectorswilltakeplace.Whentheinterruptisserviced,therelatedMulti- FunctionrequestflagwillbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedto disableotherinterrupts. However,itmustbenotedthat,althoughtheMulti-functionInterruptflagswillbeautomatically resetwhentheinterruptisserviced,therequestflagsfromtheoriginalsourceoftheMulti-function interrupts,namelytheTMInterrupts,LVDinterrupt,UARTinterrupt,SIMInterrupt,I2Ctimeout InterruptandEEPROMInterruptwillnotbeautomaticallyresetandmustbemanuallyresetbythe applicationprogram. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |