| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT48CU80 bảng dữ liệu(PDF) 12 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48CU80 bảng dữ liệu(HTML) 12 Page - Holtek Semiconductor Inc |
|
12 / 54 page ![]() HT48RU80/HT48CU80 Rev. 1.00 12 April 12, 2006 The internal Timer/Event Counter 2 interrupt is initial- ized by setting the Timer/Event Counter 2 interrupt re- quest flag (T2F; bit 6 of the INTC1), caused by a T 2 overflow. When the interrupt is enabled, the stack is not full and the T2F is set, a subroutine call to location 18H will occur. The related interrupt request flag (T2F) will be reset and the EMI bit cleared to disable further inter- rupts. During the execution of an interrupt subroutine, other in- terrupt acknowledge signals are held until the ²RETI² in- struction is executed or the EMI bit and the related interrupt control bit are set to 1 (if the stack is not full). To return from the interrupt subroutine, ²RET² or ²RETI² may be invoked. RETI will set the EMI bit to enable an interrupt service, but RET will not. Interrupts, occurring in the interval between the rising edges of two consecutive T2 pulses, will be serviced on the latter of the two T2 pulses, if the corresponding inter- rupts are enabled. In the case of simultaneous requests the following table shows the priority that is applied. These can be masked by resetting the EMI bit. No. Interrupt Source Priority Vector a External Interrupt 0 1 04H b Timer/Event Counter 0 Overflow 2 08H c Timer/Event Counter 1 Overflow 3 0CH d External Interrupt 1 4 010H e UART Interrupt 5 014H f Timer/Event Counter 2 Overflow Interrupt 6 018H The Timer/Event Counter 0/1 interrupt request flag (T0F/T1F), external interrupt 0 request flag (EIF0), en- able Timer/Event Counter 0/1 interrupt bit (ET0I/ET1I), enable external interrupt 0 bit (EEI0) and enable master interrupt bit (EMI) constitute an interrupt control register (INTC0) which is located at 0BH in the data memory. EMI, EEI0, ET0I and ET1I are used to control the en- abling or disabling of interrupts. These bits prevent the requested interrupt from being serviced. Once the inter- rupt request flags (T0F, T1F, EIF0) are set, they will re- main in the INTC0 register until the interrupts are serviced or cleared by a software instruction. 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 ET0I Controls the Timer/Event Counter 0 interrupt (1= enable; 0= disable) 3 ET1I Controls the Timer/Event Counter 1 interrupt (1= enable; 0= disable) 4 EIF0 External interrupt 0 request flag (1= active; 0= inactive) 5 T0F Internal Timer/Event Counter 0 request flag (1= active; 0= inactive) 6 T1F Internal Timer/Event Counter 1 request flag (1= active; 0= inactive) 7 ¾ Unused bit, read as ²0² INTC0 (0BH) Register Bit No. Label Function 0 EEI1 Controls the external interrupt 1 (1= enable; 0= disable) 1 EURI Controls the UART TX or RX interrupt (1= enable; 0= disable) 2 ET2I Controls the Timer/Event Counter 2 overflow interrupt (1= enable; 0= disable) 3, 7 ¾ Unused bit, read as ²0² 4 EIF1 External interrupt 1 request flag (1= active; 0= inactive) 5 URF UART TX or RX interrupt request flag (1= active; 0= inactive) 6 T2F Timer/Event Counter 2 overflow request flag (1= active; 0= inactive) INTC1 (1EH) Register |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |