| поискавой системы для электроныых деталей |
|
HT45F2020 датащи(PDF) 63 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 датащи(HTML) 63 Page - Holtek Semiconductor Inc |
|
63 / 85 page ![]() Rev. 1.00 62 April 11, 2017 Rev. 1.00 63 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU Multi-function Interrupt WithinthedevicethereisaMulti-functioninterrupt.Unliketheotherindependentinterrupts,the interrupthasnoindependentsource,butratherareformedfromotherexistinginterruptsources, namelytheTMinterrupt. AMulti-functioninterruptrequestwilltakeplacewhenanyoftheMulti-functioninterruptrequest flagMFFisset.TheMulti-functioninterruptflagwillbesetwhenanyoftheirincludedfunctions generateaninterruptrequestflag.Toallowtheprogramtobranchtoitsrespectiveinterruptvector address,whentheMulti-functioninterruptisenabledandthestackisnotfull,andeitheroneofthe interruptscontainedwithineachofMulti-functioninterruptoccurs,asubroutinecalltooneofthe Multi-functioninterruptvectorswilltakeplace.Whentheinterruptisserviced,therelatedMulti- FunctionrequestflagwillbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedto disableotherinterrupts. However,itmustbenotedthat,althoughtheMulti-functionInterruptrequestflagswillbe automaticallyresetwhentheinterruptisserviced,therequestflagsfromtheoriginalsourceof theMulti-functioninterruptwillnotbeautomaticallyresetandmustbemanuallyresetbythe applicationprogram. Time Base Interrupt ThefunctionoftheTimeBaseInterruptistoprovideregulartimesignalintheformofaninternal interrupt.Itiscontrolledbytheoverflowsignalfromitsinternaltimer.Whenthishappensitsinterrupt requestflag,TBF,willbeset.Toallowtheprogramtobranchtoitsrespectiveinterruptvector addresses,theglobalinterruptenablebit,EMIandTimeBaseenablebit,TBE,mustfirstbeset. Whentheinterruptisenabled,thestackisnotfullandtheTimeBaseoverflows,asubroutinecallto itsrespectivevectorlocationwilltakeplace.Whentheinterruptisserviced,theinterruptrequestflag, TBF,willbeautomaticallyresetandtheEMIbitwillbeclearedtodisableotherinterrupts. ThepurposeoftheTimeBaseInterruptistoprovideaninterruptsignalatfixedtimeperiods.Its clocksource,fPSC,originatesfromtheinternalclocksourcefSYS,fSYS/4orfSUBandthenpasses throughadivider,thedivisionratioofwhichisselectedbyprogrammingtheappropriatebitsinthe TBCregistertoobtainlongerinterruptperiodswhosevalueranges.Theclocksourcewhichinturn controlstheTimeBaseinterruptperiodisselectedusingtheCLKSEL[1:0]inthePSCRregister respectively. fSYS/4 fSYS fSUB M U X Prescaler CLKSEL[1:0] fPSC fPSC/28 ~ fPSC/215 M U X TB[2:0] Time Base Interrupt TBON Time Base Interrupt PSCR Register Bit 7 6 5 4 3 2 1 0 Name — — — — — — CLKSEL1 CLKSEL0 R/W — — — — — — R/W R/W POR — — — — — — 0 0 Bit7~2 Unimplemented,readas“0” Bit1~0 CLKSEL1~CLKSEL0:Prescalerclocksourceselection 00:fSYS 01:fSYS/4 1x:fSUB |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |