![Freescale Semiconductor MPC5632M Скачать руководство пользователя страница 426](http://html.mh-extra.com/html/freescale-semiconductor/mpc5632m/mpc5632m_manual_2330659426.webp)
MPC563XM Reference Manual, Rev. 1
426
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
14.6.1.1
Peripheral Interrupt Requests
An interrupt event in a peripheral’s hardware sets a flag bit which resides in that peripheral. The interrupt
request from the peripheral is driven by that flag bit. While the INTC can support up to 504 peripheral
interrupt requests, the actual number is dependent on the SoC implementation.
The time from when the peripheral starts to drive its peripheral interrupt request to the INTC to the time
that the INTC starts to drive the interrupt request to the processor is three clocks.
Interrupt requests from devices external to the SoC are classified as peripheral interrupt requests in this
block guide. An anticipated way that an SoC will support an external interrupt request is by having a flag
bit in a peripheral on the SoC which records an edge on the external interrupt request. This flag bit then
drives a peripheral interrupt request. If the external interrupt request is level sensitive instead of edge
triggered, the flag bit is effectively on the external device and not on the SoC. In that case, the external
interrupt request must have transitioned as a result of clearing the flag bit on the external device before
either the INTC_EOIR_PRC0 or INTC_EOIR_PRC1 can be written.
14.6.1.2
Software Setable Interrupt Requests
An interrupt request is triggered by software by writing a ‘1’ to a SET
x
bit in
Software Set/Clear Interrupt Registers (INTC_SSCIR0_3 - INTC_SSCIR4_7)
”. This write sets the
corresponding CLR
x
bit, which is a flag bit, resulting in the interrupt request. The interrupt request is
cleared by writing a ‘1’ to the CLR
x
bit.
The time from the write to the SET
x
bit to the time that the INTC starts to drive the interrupt request to the
processor is four clocks.
14.6.1.3
Unique Vector for Each Interrupt Request Source
Each peripheral and software setable interrupt request is assigned a hardwired unique 9-bit vector.
Software setable interrupts 0 - 7 are assigned vectors 0 - 7 respectively. The peripheral interrupt requests
are assigned vectors 8 to as high as needed to cover all of the peripheral interrupt requests. While the
peripheral interrupt request input ports at the boundary of the INTC block are assigned specific hardwired
vectors within the INTC, those input ports are not associated with any specific peripheral until the SoC
integration. Those assignments are dependent on the SoC integration. Refer to the SoC guide for the
assignments.
14.6.2
Priority Management
The asserted interrupt requests are compared to each other based on their PRI
x
and PRC_SELx values set
Section 14.5.11, “INTC Priority Select Registers (INTC_PSR0_3 - INTC_PSR508_511)
”. The result of
that comparison also is compared to PRI in the associated
Section 14.5.4, “INTC Current Priority Register
for Processor 0 (INTC_CPR_PRC0)
Section 14.5.5, “INTC Current Priority Register for Processor 1
”. The results of those comparisons are used to manage the priority of the ISR being
executed by the associated processor. The associated LIFO also assists in managing that priority.
Содержание 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 ...