I'm not sure how to use the terms "exception" and "interrupt" correctly.
In the book Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C it says:
"Exceptions are the interrupts that come from the processor core. These interrupt numbers are defined by ARM."
(Yifeng Zhu, Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C)
From the ARM documentation:
"The term interrupt is sometimes used as a synonym for exception. In ARM terminology, certain types of asynchronous exceptions are referred to as interrupts"
(ARM documentation - AArch64 Exception and Interrupt Handling)
In the book Mastering STM32 - Second Edition (this one is even more confusing):
"ARM architecture distinguishes between the two types: interrupts originate by the hardware, exceptions by the software (e.g., an access to invalid memory location). In ARM terminology, an interrupt is a type of exception."
(Carmine Noviello, Mastering STM32 - Second Edition)
I know this is not a major issue, but I was wondering what this community would think about this.