English
Language : 

SDA5250 Datasheet, PDF (71/143 Pages) Siemens Semiconductor Group – TVTEXT 8-Bit Microcontroller
SDA 525x
If two requests of different priority levels are received simultaneously, the request of
higher priority level will be serviced. If requests of the same priority level are received
simultaneously, an internal polling sequence determines which request is serviced. Thus
within each priority level there is a second priority structure determined by the polling
sequence, see in Table 18.
Table 18
Source
1. IE0
2. TF0
3. IE1
4. TF1
5. RI/TI
6. DVIRST
DHIRST
EVENST
LIN24ST
AVIRST
AHIRST
7. IADC
Priority within Level
(highest)
(lowest)
Note that the “priority within level” structure is only used to resolve simultaneous
requests of the same priority level.
6.3.4.1 Interrupt Nesting
The process whereby a higher-level interrupt request interrupts a lower-level interrupt
service program is called nesting. In this case the address of the next instruction in the
lower-priority service program is pushed onto the stack, the stack pointer is incremented
by two and processor control is transferred to the program memory location of the first
instruction of the higher-level service program. The last instruction of the higher-priority
interrupt service program must be a RETI-instruction. This instruction clears the higher
“priority-level-active” flip-flop. RETI also returns processor control to the next instruction
of the lower-level interrupt service program. Since the lower “priority-level-active” flip-
flop has remained set, higher priority interrupts are re-enabled while further lower-priority
interrupts remain disabled.
Semiconductor Group
71
1998-04-08