| поискавой системы для электроныых деталей |
|
HT45R37V датащи(PDF) 59 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45R37V датащи(HTML) 59 Page - Holtek Semiconductor Inc |
|
59 / 90 page ![]() HT45R37V Rev. 1.00 59 October 20, 2009 Timer/Event Counter Interrupt For a Timer/Event Counter 0 or Timer/Event Counter 1 interrupt to occur, the global interrupt enable bit, EMI, and the corresponding timer interrupt enable bit, ET0I or ET1I must first be set. An actual Timer/Event Counter in- terrupt will take place when the Timer/Event Counter re- quest flag, T0F or T1F is set, a situation that will occur when the Timer/Event Counter overflows. When the in- terrupt is enabled, the stack is not full and a Timer/Event Counter overflow occurs, a subroutine call to the timer interrupt vector at location 0CH or 10C, will take place. When the interrupt is serviced, the timer interrupt re- quest flag, T0F or T1F, will be automatically reset and the EMI bit will be automatically cleared to disable other interrupts. A/D Interrupt The A/D Interrupt is contained within the Multi-function Interrupt 1. For an A/D Interrupt to be generated, the global interrupt enable bit, EMI, A/D Interrupt enable bit, EADI, and Multi-function Interrupt 1 enable bit, EMF1I, must first be set. An actual A/D Interrupt will take place when the A/D Interrupt request flag, ADF, is set, a situation that will oc- cur when the A/D conversion process has finished. When the interrupt is enabled, the stack is not full and the A/D conversion process has ended, a subroutine call to the Multi-function Interrupt 1 vector at location18H, will take place. When the A/D Interrupt is serviced, the EMI bit will be cleared to disable other in- terrupts, however only the MF1F interrupt request flag will be reset. As the ADF flag will not be automatically re- set, it has to be cleared by the application program. Multi-function Interrupts Additional interrupts known as the Multi-function inter- rupts are provided. Unlike the other interrupts, these in- terrupts have no independent source, but rather are formed from other existing interrupt sources, namely the A/D Converter interrupt, Time Base interrupt, Real Time Clock interrupt, SIM Interface Interrupt and the C/R to F interrupt. For a Multi-function interrupt to occur, the global interrupt enable bit, EMI, and the Multi-function interrupt enable bit, EMF0I or EMF1I, must first be set. An actual Multi-function interrupt will take place when the Multi-function interrupt request flag, MF0F, or MF1F is set. This will occur when either a Time Base overflow, a Real Time Clock overflow, an A/D conversion completion, C/R to F converter counters, Timer A or Timer B overflow or SIM data transfer or I2C address match occurs. When the interrupt is enabled and the stack is not full, and either one of the interrupts contained within the Multi-function interrupts occurs, a subroutine call to one of the Multi-function interrupt vector at location 014H or 018H will take place. When the interrupt is serviced, the Multi-Function request flag, MF0F or MF1F, will be auto- matically reset and the EMI bit will be automatically cleared to disable other interrupts. However, it must be noted that the request flags from the original source of the Multi-function interrupt, namely the Time-Base interrupt, Real Time Clock interrupt, A/D Converter interrupt, SIM Interface or C/R to F converter Interrupt will not be auto- matically reset and must be manually reset by the appli- cation program. SPI/I 2C Interface Interrupt The SPI/I 2C interface Interrupt is contained within the Multi-function Interrupt 0. For an /I 2C interrupt to occur, the global interrupt enable bit, EMI, the corresponding interrupt enable bit, ESIM and Multi-function Interrupt 0 enable bit, EMF0I, must be first set. An actual SPI/I 2C interrupt will take place when the SPI/I 2C reset function interface request flag, SIMF, is set, a situation that will occur when a byte of data has been transmitted or received by the SPI/I 2C interface or when an I 2C address match occurs. When the interrupt is enabled, the stack is not full and a byte of data has been transmitted or received by the SPI/I 2C interface or an I 2C address match occurs, a subroutine call to the Multi-function Interrupt 0 vector at location 14H, will take place. When the interrupt is serviced, the Multi-function Interrupt 0 request flag, MF0F, will be automatically re- set and the EMI bit will be automatically cleared to dis- I N T E D G E R e g i s t e r I N T 0 E d g e S e l e c t I N T 0 S 1 I N T 0 S 0 I N T 1 E D g e S e l e c t I N T 1 S 1 I N T 1 S 0 N o t i m p l e m e n t e d , r e a d a s " 0 " b 0 I N T 1 S 0 I N T 0 S 1 I N T 0 S 0 b 7 I N T 1 S 1 0 0 1 1 0 1 0 1 d i s a b l e r i s i n g e d g e t r i g g e r f a l l i n g e d g e t r i g g e r d u a l e d g e t r i g g e r 0 0 1 1 0 1 0 1 d i s a b l e r i s i n g e d g e t r i g g e r f a l l i n g e d g e t r i g g e r d u a l e d g e t r i g g e r Interrupt Active Edge Register - INTEDGE |
|
ссылки 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 |