Appendix D

Cortex®-M3/M4 Exceptions Quick Reference

D.1 Exception types and enable

Table D.1

Quick Summary of Cortex®-M3/M4 Exception Types and their Configurations

Image

D.2 Stack frame format

Note: If double-word stack alignment feature is enabled and the SP was not double-word aligned when the exception occurred, a padding word is inserted to ensure the stack frame is double-word aligned.

image

Figure D.1 Stack frame without floating point context (EXC_RETURN bit 4 = 1)

Figure D.2 Stack frame with floating point context (EXC_RETURN bit 4 = 0)

Get The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.