![Freescale Semiconductor MPC5553 Скачать руководство пользователя страница 405](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5553/mpc5553_reference-manual_2330655405.webp)
MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
10-36
Freescale Semiconductor
10.5.4
Order of Execution
An ISR with a higher priority can preempt an ISR with a lower priority, regardless of the unique vectors
associated with each of their peripheral or software settable interrupt requests. However, if multiple
peripheral or software settable interrupt requests are asserted, more than one has the highest priority, and
that priority is high enough to cause preemption, the INTC selects the one with the lowest unique vector
regardless of the order in time that they asserted. However, the ability to meet deadlines with this
scheduling scheme is no less than if the ISRs execute in the time order that their peripheral or software
settable interrupt requests asserted.
shows the order of execution of both ISRs with different priorities and the
same priority.
Table 10-10. Order of ISR Execution Example
Step
Step Description
Code Executing At End of Step
PRI in
INTC_CPR
at End of
Step
RTOS
ISR108
1
ISR208
ISR308
ISR408
Interrupt
Exception
Handler
1
RTOS at priority 0 is executing.
X
0
2
Peripheral interrupt request 100
at priority 1 asserts. Interrupt
taken.
X
1
3
Peripheral interrupt request 400
at priority 4 is asserts. Interrupt
taken.
X
4
4
Peripheral interrupt request 300
at priority 3 is asserts.
X
4
5
Peripheral interrupt request 200
at priority 3 is asserts.
X
4
6
ISR408 completes. Interrupt
exception handler writes to
INTC_EOIR.
X
1
7
Interrupt taken. ISR208 starts to
execute, even though peripheral
interrupt request 300 asserted
first.
X
3
8
ISR208 completes. Interrupt
exception handler writes to
INTC_EOIR.
X
1
9
Interrupt taken. ISR308 starts to
execute.
X
3
10
ISR308 completes. Interrupt
exception handler writes to
INTC_EOIR.
X
1
Содержание MPC5553
Страница 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Страница 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Страница 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Страница 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Страница 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Страница 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Страница 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Страница 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Страница 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Страница 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Страница 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Страница 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Страница 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Страница 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...
Страница 1207: ...Revision History 4 Freescale Semiconductor...