MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
435
Preliminary—Subject to Change Without Notice
14.7.6
Priority Ceiling Protocol
14.7.6.1
Elevating Priority
Section 14.5.4, “INTC Current Priority Register for Processor 0 (INTC_CPR_PRC0)
” or
Section 14.5.5, “INTC Current Priority Register for Processor 1 (INTC_CPR_PRC1)
OSEK PCP to the ceiling of all of the priorities of the ISRs that share a resource. This protocol therefore
allows coherent accesses of the ISRs to that shared resource.
Table 14-6. Order of ISR Execution Example
Code executing at end of step
Step
#
Step Description
RTOS
ISR108
1
ISR208
ISR308
ISR408
interrupt
exception
handler
PRI in
INTC_CPR
at end of
step
RTOS at priority 0 is
executing.
X
0
Peripheral interrupt request
100 at priority 1 asserts.
Interrupt taken.
X
1
Peripheral interrupt request
400 at priority 4 is asserts.
Interrupt taken.
X
4
Peripheral interrupt request
300 at priority 3 is asserts.
X
4
Peripheral interrupt request
200 at priority 3 is asserts.
X
4
ISR408 completes. Interrupt
exception handler writes to
INTC_EOIR_PRC
x
.
X
1
Interrupt taken. ISR208 starts
to execute, even though
peripheral interrupt request
300 asserted first.
X
3
ISR208 completes. Interrupt
exception handler writes to
INTC_EOIR_PRC
x
.
X
1
Interrupt taken. ISR308 starts
to execute.
X
3
ISR308 completes. Interrupt
exception handler writes to
INTC_EOIR_PRC
x
.
X
1
ISR108 completes. Interrupt
exception handler writes to
INTC_EOIR_PRC
x
.
X
0
RTOS continues execution.
X
0
1
ISR108 executes for peripheral interrupt request 100 because the first eight ISRs are for software setable interrupt
requests.
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...