| Electronic Components Datasheet Search |
|
HT45F43 Datasheet(PDF) 117 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F43 Datasheet(HTML) 117 Page - Holtek Semiconductor Inc |
|
117 / 152 page ![]() MFIC1 Register Bit 76543210 Name ¾ LVDF E2F CF ¾ ELVDI EE2I ECI R/W ¾ R/W R/W R/W ¾ R/W R/W R/W POR ¾ 000 ¾ 000 Bit 7 unimplemented, read as ²0² Bit 6 LVDF: LVD interrupt request flag 0: inactive 1: active Bit 5 E2F: EEPROM interrupt request flag 0: inactive 1: active Bit 4 CF: Comparator interrupt request flag 0: inactive 1: active Bit 3 unimplemented, read as ²0² Bit 2 ELVDI: LVD interrupt enable 0: disable 1: enable Bit 1 EE2I: EEPROM interrupt enable 0: disable 1: enable Bit 0 ECI: Comparator interrupt enable 0: disable 1: enable External Interrupt The external interrupts are controlled by signal transitions on the pins INT0~INT1. An external interrupt request will take place when the external interrupt request flags, EIF0~EIF1, are set, which will occur when a transition, whose type is chosen by the edge select bits, appears on the external interrupt pins. To allow the program to branch to its respective interrupt vector address, the global interrupt enable bit, EMI, and respective external interrupt enable bit, EEI0~EEI1, must first be set. Additionally the correct interrupt edge type must be selected using the INTEDGE register to enable the external interrupt function and to choose the trigger edge type. As the external interrupt pins are pin-shared with I/O pins, they can only be configured as external interrupt pins if their external interrupt enable bit in the corresponding interrupt register has been set. The pin must also be setup as an input by setting the corresponding bit in the port control register. When the interrupt is enabled, the stack is not full and the correct transition type appears on the external interrupt pin, a subroutine call to the external interrupt vector, will take place. When the interrupt is serviced, the external interrupt request flags, EIF0~EIF1, will be automatically reset and the EMI bit will be automatically cleared to disable other interrupts. Note that any pull-high resistor selections on the external interrupt pins will remain valid even if the pin is used as an external interrupt input. The INTEDGE register is used to select the type of active edge that will trigger the external interrupt. A choice of either rising or falling or both edge types can be chosen to trigger an external interrupt. Note that the INTEDGE register can also be used to disable the external interrupt function. HT45F23/HT45F43 8-Bit Flash MCU with Op Amps & Comparators Rev. 1.20 117 September 15, 2011 F i l t e r O n / O f f C o n f i g u r a t i o n O p t i o n I N T C 1 F i l t e r I N T C 0 F i l t e r E x t e r n a l I N T . 0 E x t e r n a l I N T . 1 M C U |
|
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 |