| поискавой системы для электроныых деталей |
|
HT45F2020 датащи(PDF) 64 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 датащи(HTML) 64 Page - Holtek Semiconductor Inc |
|
64 / 85 page ![]() Rev. 1.00 64 April 11, 2017 Rev. 1.00 65 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU TBC Register Bit 7 6 5 4 3 2 1 0 Name TBON — — — — TB2 TB1 TB0 R/W R/W — — — — R/W R/W R/W POR 0 — — — — 0 0 0 Bit7 TBON:TimeBaseEnableControl 0:Disable 1:Enable Bit6~3 Unimplemented,readas“0” Bit2~0 TB2~TB0:TimeBasetime-outperiodselection 000:28/fPSC 001:29/fPSC 010:210/fPSC 011:211/fPSC 100:212/fPSC 101:213/fPSC 110:214/fPSC 111:215/fPSC Timer Module Interrupts ThePTMhastwointerruptswhicharebothcontainedwithintheMulti-functionInterrupt.For thePTMtherearetwointerruptrequestflagsPTMPFandPTMAFandtwoenablebitsPTMPE andPTMAE.APTMinterruptrequestwilltakeplacewhenanyofthePTMrequestflagsisset,a situationwhichoccurswhenaPTMcomparatorPorcomparatorAmatchsituationhappens. Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenable bit,EMI,andtherespectivePTMInterruptenablebit,andtheassociatedMulti-functioninterrupt enablebit,MFF,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandaPTM comparatormatchsituationoccurs,asubroutinecalltotherelevantPTMInterruptvectorlocations, willtakeplace.WhenthePTMinterruptisserviced,theEMIbitwillbeautomaticallycleared todisableotherinterrupts,howeveronlytherelatedMFFflagwillbeautomaticallycleared.As thePTMinterruptrequestflagswillnotbeautomaticallycleared,theyhavetobeclearedbythe applicationprogram. Interrupt Wake-up Function Eachoftheinterruptfunctionshasthecapabilityofwakingupthemicrocontrollerwheninthe SLEEPorIDLEMode.Awake-upisgeneratedwhenaninterruptrequestflagchangesfromlowto highandisindependentofwhethertheinterruptisenabledornot.Caremustthereforebetakenif spuriouswake-upsituationsaretobeavoided.Ifaninterruptwake-upfunctionistobedisabledthen thecorrespondinginterruptrequestflagshouldbesethighbeforethedeviceenterstheSLEEPor IDLEMode.Theinterruptenablebitshavenoeffectontheinterruptwake-upfunction. Programming Considerations Bydisablingtherelevantinterruptenablebits,arequestedinterruptcanbepreventedfrombeing serviced,however,onceaninterruptrequestflagisset,itwillremaininthisconditioninthe interruptregisteruntilthecorrespondinginterruptisservicedoruntiltherequestflagisclearedby theapplicationprogram. WhereacertaininterruptiscontainedwithinaMulti-functioninterrupt,thenwhentheinterrupt serviceroutineisexecuted,asonlytheMulti-functioninterruptrequestflags,MFF,willbe automaticallycleared,theindividualrequestflagforthefunctionneedstobeclearedbythe applicationprogram. |
|
ссылки 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 |