| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 191 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 191 Page - Holtek Semiconductor Inc |
|
191 / 235 page ![]() Rev. 1.30 190 �ove��e� 1�� �01� Rev. 1.30 191 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM TM Interrupts TheCompact,StandardandPeriodicTypeTMseachhastwointerrupts.AlloftheTMinterrupts arecontainedwithintheMulti-functionInterrupts.ForeachoftheCompact,StandardandPeriodic TypeTMstherearetwointerruptrequestflagsxTMnPFandxTMnAFandtwoenablebitsxTMnPE andxTMnAE.ATMinterruptrequestwilltakeplacewhenanyoftheTMrequestflagsareset,a situationwhichoccurswhenaTMcomparatorPorcomparatorAmatchsituationhappens. Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenable bit,EMI,andtherespectiveTMInterruptenablebit,andassociatedMulti-functioninterruptenable bit,MFnF,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandaTMcomparator matchsituationoccurs,asubroutinecalltotherelevantTMInterruptvectorlocations,willtake place.WhentheTMinterruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableother interrupts,howeveronlytherelatedMFnFflagwillbeautomaticallycleared.AstheTMinterrupt requestflagswillnotbeautomaticallycleared,theyhavetobeclearedbytheapplicationprogram. Serial Interface Module Interrupt TheSerialInterfaceModuleInterruptisalsoknownastheSIMinterrupt.ASIMInterruptrequest willtakeplacewhentheSIMInterruptrequestflag,SIMF,isset,whichoccurswhenabyteof datahasbeenreceivedortransmittedbytheSIMinterface.Toallowtheprogramtobranchtoits respectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,andtheSerialInterface Interruptenablebit,SIME,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullanda byteofdatahasbeentransmittedorreceivedbytheSIMinterface,asubroutinecalltotherespective SIMInterruptvector,willtakeplace.Whentheinterruptisserviced,theinterruptrequestflag,SIMF, willbeautomaticallyresetandtheEMIbitwillbeclearedtodisableotherinterrupts. UART Interrupt SeveralindividualUARTconditionscangenerateaUARTinterrupt.Whentheseconditionsexist, alowpulsewillbegeneratedtogettheattentionofthemicrocontroller.Theseconditionsarea transmitterdataregisterempty,transmitteridle,receiverdataavailable,receiveroverrun,address detectandanRXpinwake-up.Toallowtheprogramtobranchtotherespectiveinterruptvector addresses,theglobalinterruptenablebit,EMI,andUARTinterruptenablebit,UARTE,mustfirst beset.Whentheinterruptisenabled,thestackisnotfullandanyoftheseconditionsarecreated, asubroutinecalltotheUARTInterruptvectorwilltakeplace.Whentheinterruptisserviced,the UARTInterruptflag,UARTF,willbeautomaticallycleared.TheEMIbitwillalsobeautomatically clearedtodisableotherinterrupts.However,theUSRregisterflagswillbeclearedautomatically whencertainactionsaretakenbytheUART,thedetailsofwhicharegivenintheUARTsection. Interrupt Wake-up Function Eachoftheinterruptfunctionshasthecapabilityofwakingupthemicrocontrollerwheninthe SLEEPorIDLEMode.Awake-upisgeneratedwhenaninterruptrequestflagchangesfromlow tohighandisindependentofwhethertheinterruptisenabledornot.Therefore,eventhoughthese devicesareintheSLEEPorIDLEModeanditssystemoscillatorstopped,situationssuchas externaledgetransitionsontheexternalinterruptpins,alowpowersupplyvoltageorcomparator inputchangemaycausetheirrespectiveinterruptflagtobesethighandconsequentlygenerate aninterrupt.Caremustthereforebetakenifspuriouswake-upsituationsaretobeavoided.Ifan interruptwake-upfunctionistobedisabledthenthecorrespondinginterruptrequestflagshouldbe sethighbeforethedeviceenterstheSLEEPorIDLEMode.Theinterruptenablebitshavenoeffect ontheinterruptwake-upfunction. |
|
ссылки 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 |