![Abov MC96F8204 Series Скачать руководство пользователя страница 74](http://html1.mh-extra.com/html/abov/mc96f8204-series/mc96f8204-series_user-manual_3544081074.webp)
74
MC96F8204
ABOV Semiconductor Co., Ltd.
10.7 Multi Interrupt
If two requests of different priority levels are received simultaneously, the request of higher priority level is served first.
If more than one interrupt request are received, the interrupt polling sequence determines which request is served first
by hardware. However, for special features, multi-interrupt processing can be executed by software.
Figure 10.6
Effective Timing of Multi-Interrupt
Figure 10.6 shows an example of multi-interrupt processing. While INT1 is served, INT0 which has higher priority than
INT1 is occurred. Then INT0 is served immediately and then the remain part of INT1 service routine is executed. If the
priority level of INT0 is same or lower than INT1, INT0 will be served after the INT1 service has completed.
An interrupt service routine may be only interrupted by an interrupt of higher priority and, if two interrupts of different
priority occur at the same time, the higher level interrupt will be served first. An interrupt cannot be interrupted by
another interrupt of the same or a lower priority level. If two interrupts of the same priority level occur simultaneously,
the service order for those interrupts is determined by the scan order.
Main Program
Service
Occur
INT1 Interrupt
INT1 ISR
Occur
INT0 Interrupt
INT0 ISR
RETI
RETI
Set EA
Содержание MC96F8204 Series
Страница 13: ...13 MC96F8204 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 20 Pin SOP Package...
Страница 14: ...14 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 2 20 Pin TSSOP Package...
Страница 15: ...15 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 3 16 Pin SOPN Package...
Страница 16: ...16 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 4 10 Pin SSOP Package...
Страница 17: ...17 MC96F8204 ABOV Semiconductor Co Ltd Figure 4 5 8 Pin SOP Package...