| Electronic Components Datasheet Search |
|
HT45F0057 Datasheet(PDF) 65 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F0057 Datasheet(HTML) 65 Page - Holtek Semiconductor Inc |
|
65 / 88 page ![]() Rev. 1.00 64 ��to�e� �0� �01� Rev. 1.00 65 ��to�e� �0� �01� HT45F0057 Induction Cooker Flash MCU HT45F0057 Induction Cooker Flash MCU A/D Converter Interrupt The A/D Converter Interrupt is controlled by the termination of an A/D conversion process. An A/D Converter Interrupt request will take place when the A/D Converter Interrupt request flag, T2F_ ADF, is set, which occurs when the A/D conversion process finishes. To allow the program to branch to its respective interrupt vector address, the global interrupt enable bit, EMI, and A/D Interrupt enable bit, T2E_ADE, must first be set. When the interrupt is enabled, the stack is not full and the A/D conversion process has ended, a subroutine call to the A/D Converter Interrupt vector, will take place. When the interrupt is serviced, the A/D Converter Interrupt flag, T2F_ADF, will be automatically cleared. The EMI bit will also be automatically cleared to disable other interrupts. Note that the trigger source of 18H vector can be Timer/Event Counter 2 interrupt or the A/D converter interrupt, which is selected by the configuration options. The A/D converter interrupt must be first selected by the configuration options before setting the A/D converter interrupt function. Multi-function Interrupt Within the device there is one Multi-function interrupt. Unlike the other independent interrupts, these interrupts have no independent source, but rather are formed from other existing interrupt sources, namely Timer/Event Counter 1 interrupt, comparator 2 interrupt and comparator 3 interrupt. A Multi-function interrupt request will take place the Multi-function interrupt request flag, MFF is set. The Multi-function interrupt flag will be set when any of its included functions generate an interrupt request flag. To allow the program to branch to its respective interrupt vector address, when the Multi-function interrupt is enabled and the stack is not full and either one of the interrupts contained within the Multi-function interrupt occurs, a subroutine call to the Multi-function interrupt vector will take place. When the interrupt is serviced, the related Multi-Function request flag will be automatically reset and the EMI bit will be automatically cleared to disable other interrupts. However, it must be noted that, although the Multi-function Interrupt flag will be automatically reset when the interrupt is serviced, the request flags from the original source of the Multi-function interrupt, namely Timer/Event Counter 1 interrupt, comparator 2 interrupt and comparator 3 interrupt, will not be automatically reset and must be manually reset by the application program. Timer/Event Counter Interrupts There are three Timer/Event Counter interrupts, the Timer/Event Counter interrupt 0/2 is an independent interrupt and the Timer/Event Counter interrupt 1 is contained within the Multi-function Interrupt For the Timer/Event Counter 0/2 interrupt to occur, the global interrupt enable bit, EMI, and the corresponding timer interrupt enable bit, T0E or T2E_ADE, must first be set. An actual Timer/Event Counter interrupt will take place when the Timer/Event Counter request flag, T0F or T2F_ADF, is set, a situation that will occur when the relevant Timer/Event Counter overflows. When the interrupt is enabled, the stack is not full and a Timer/Event Counter 0/2 overflow occurs, a subroutine call to the relevant timer interrupt vector, will take place. When the interrupt is serviced, the timer interrupt request flag, T0F or T2F_ADF, will be automatically reset and the EMI bit will be automatically cleared to disable other interrupts. Note that the trigger source of 18H vector can be Timer/Event Counter 2 interrupt or the A/D converter interrupt, which is selected by the configuration options. The Timer/Event Counter 2 interrupt must be first selected by the configuration options before setting the Timer/Event Counter 2 interrupt function. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |