Figure 5-7 Pre-Emption Flowchart - ARM Cortex-M3 Technical Reference Manual

R2p0
Hide thumbs Also See for Cortex-M3:
Table of Contents

Advertisement

5.14.2
Pre-emption
5.14.3
Return
ARM DDI 0337G
Unrestricted Access
Figure 5-7 shows what happens when an exception pre-empts the current ISR.
Read new PC from vector table
Yes
Yes
Figure 5-8 on page 5-36 shows how the processor restores the stacked ISR or tail-chains
to a late-arriving interrupt with higher priority than the stacked ISR.
Copyright © 2005-2008 ARM Limited. All rights reserved.
I bus
Late-arriving
interrupt?
No
Fill pipeline at PC
Late-arriving
interrupt?
No
Non-Confidential
Pre-empt
D bus
Push registers r0-r3, r12, LR,
PC, and xPSR onto SP stack
Execute instructions

Figure 5-7 Pre-emption flowchart

Exceptions
Synchronize
5-35

Advertisement

Table of Contents
loading

Table of Contents