EasyManua.ls Logo

ARM Cortex-M3

ARM Cortex-M3
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Exceptions
5-34 Copyright © 2005-2008 ARM Limited. All rights reserved. ARM DDI 0337G
Non-Confidential
Unrestricted Access
5.14 Flowcharts
This section summarizes interrupt flow with:
Interrupt handling
Pre-emption on page 5-35
Return on page 5-35.
5.14.1 Interrupt handling
Figure 5-6 shows how instructions execute until pre-empted by a higher-priority
interrupt.
Figure 5-6 Interrupt handling flowchart
Execute instruction
No
Yes
Yes
Return from
interrupt
No
Pending interrupt
higher priority than
active interrupt?
Reset
Load SP and PC from
locations 0, 4
Yes
Pre-empt
PC at return location?
No
Pending interrupt
higher priority than
stacked interrupt
?

Table of Contents

Related product manuals