7. Interrupt controller
A96G150 User's manual
76
7.6
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 16. Effective Timing of Multi-interrupt
Figure 16 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 remaining 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
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...