![Freescale Semiconductor MPC5632M Скачать руководство пользователя страница 441](http://html.mh-extra.com/html/freescale-semiconductor/mpc5632m/mpc5632m_manual_2330659441.webp)
MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
441
Preliminary—Subject to Change Without Notice
Chapter 15
Interrupts
15.1
Introduction
This chapter focuses on the interrupt operation of the e200z335 core. Details of the operation of the
interrupt controller are given in
Chapter 14, “Interrupt Controller (INTC).”
Two types of modes are used to learn the vector of the source of the interrupt request, software vector mode
and hardware vector mode. Software vector mode is the mode that conforms to PowerPC architecture
Book E. The e200z335 branches to a common interrupt exception handler to service the interrupt request.
The interrupt exception handler reads the INTC_IACKR to learn the vector of the source of the interrupt
request. In hardware vector mode, the interrupt exception handler is unique to the vector of the source of
the interrupt request.
15.2
Interrupt Vectors
15.2.1
External Input
15.2.1.1
Software Vector Mode
In software vector mode, the interrupt exception handler acknowledges the interrupt request to the
e200z335 from the INTC by reading the INTC_IACKR. The e200z335 is enabled again to recognize the
external input by setting the EE bit of the MSR. The prolog of the interrupt exception handler must
acknowledge the interrupt request before the e200z335 is enabled again to recognize the external input.
Otherwise, the e200z335 will attempt to service the same source of the interrupt request.
The INTC’s LIFO is popped by writing to the INTC_EOIR. The e200’s recognition of the external input
is disabled by clearing the EE bit of the MSR. In the epilog of the interrupt exception handler, the timing
relationship between popping the LIFO and disabling recognition of the external input has no restrictions.
The writes can happen in either order. However, disabling recognition of the external input before popping
the LIFO eases the calculation of the maximum pipe depth at the cost of postponing the servicing of the
next interrupt request.
The IVPR acts as a base register for all types of exceptions. An IVOR, unique to each type of exception,
determines the offset from the IVPR. The IVPR and IVOR are added to calculate the interrupt exception
handler address. In software vector mode, IVOR4 is used for the external input, that is, the interrupt request
to the e200z335 from the INTC.
shows the software vector mode interrupt exception handler
address calculation.
Содержание 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 ...