| Electronic Components Datasheet Search |
|
HT46CU66 Datasheet(PDF) 13 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46CU66 Datasheet(HTML) 13 Page - Holtek Semiconductor Inc |
|
13 / 63 page ![]() HT46RU66/HT46CU66 Rev. 1.20 13 October 2, 2007 The Multi-Function Interrupt, MFI, is initialised by setting the interrupt request flag, MFF; bit 6 of the INTC1 regis- ter, that is caused by a Timer 2 overflow, T2F; bit 4 of the MFIC register, caused by a regular real time clock time-out, RTF; bit 6 of the MFIC register or caused by a time base time-out, TBF; bit5 of the MFIC register. After the interrupt is enabled, EMFI=1, the stack is not full, and the MFF bit is set, a subroutine call to location 018H will occur. The related interrupt request flag, MFF, is re- set and the EMI bit is cleared to disable further maskable interrupts. T2F, TBF and RTF indicate that a related interrupt has occurred. As these flags will not be cleared automatically after reading, they should be cleared by the user. During the execution of an interrupt subroutine, other maskable interrupt acknowledgments are all held until the ²RETI² instruction is executed or the EMI bit and the related interrupt control bit are set both to 1, if the stack is not full. To return from the interrupt subroutine, a ²RET² or ²RETI² instruction may be executed. RETI sets the EMI bit and enables an interrupt service, but RET does not. Interrupts occurring in the interval between the rising edges of two consecutive T2 pulses are serviced on the latter of the two T2 pulses if the corresponding interrupts are enabled. In the case of simultaneous requests, the priorities in the following table apply. These can be masked by resetting the EMI bit. Bit No. Label Function 0 EMI Controls the master (global) interrupt (1=enable; 0= disable) 1 EEI0 Controls the external interrupt 0 (1=enable; 0=disable) 2 EEI1 Controls the external interrupt 1 (1=enable; 0=disable) 3 ET0I Controls the Timer/Event Counter 0 interrupt (1=enable; 0=disable) 4 EIF0 External interrupt 0 request flag (1=active; 0=inactive) 5 EIF1 External interrupt 1 request flag (1=active; 0=inactive) 6 T0F Internal Timer/Event Counter 0 request flag (1=active; 0=inactive) 7 ¾ For test mode used only. Must be written as ²0²; otherwise may result in unpredictable operation. INTC0 (0BH) Register Bit No. Label Function 0 ET1I Controls the Timer/Event Counter 1 interrupt (1=enable; 0=disable) 1 EURI Control the UART Bus interrupt (1=enable; 0=disable) 2 EMFI Control the Multi-function interrupt (1=enable; 0=disable) 3, 7 ¾ Unused bit, read as ²0² 4 T1F Internal Timer/Event Counter 1 request flag (1=active; 0=inactive) 5 URF UART Bus request flag (1=active; 0=inactive) 6 MFF Multi-function interrupt request flag (1=active; 0=inactive) INTC1 (1EH) Register Bit No. Label Function 0 ET2I Control the Timer/Event Counter 2 interrupt (1=enable; 0=disable) 1 ETBI Control the time base interrupt (1=enable; 0=disable) 2 ERTI Control the real time clock interrupt (1=enable; 0=disable) 3, 7 ¾ Unused bit, read as ²0² 4 T2F Timer/Event Counter 2 interrupt request flag (1=active; 0=inactive) 5 TBF Time base interrupt request flag (1=active; 0=inactive) 6 RTF Real time clock interrupt request flag (1=active; 0=inactive) MFIC (2FH) Register |
|
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 |