PM0215
Interrupt (IRQ)
Table 12.
Properties of the different exception types
Exception
IRQ
(1)
number
number
1
-
2
-14
3
-13
4-10
-
11
-5
12-13
-
14
-2
15
-1
16 - 47
0 - 31
1. To simplify the software layer, the CMSIS only uses IRQ numbers and therefore uses negative values for exceptions other
than interrupts. The IPSR returns the Exception number, see
2. See
Vector table on page 24
3. See
Interrupt priority register (IPR0-IPR7) on page
4. Increasing in steps of 4.
For an asynchronous exception other than reset, the processor can execute another
instruction between when the exception is triggered and when the processor enters the
exception handler.
Software can disable the exceptions that
priority,
see:Interrupt clear-enable register (ICER) on page
For more information about hard faults, see
2.3.3
Exception handlers
The processor handles exceptions using:
Interrupt Service
Routines (ISRs)
Fault handlers
System handlers
A interrupt, or IRQ, is an exception signalled by a peripheral, or
generated by a software request. All interrupts are asynchronous to
instruction execution. In the system, peripherals use interrupts to
communicate with the processor.
Exception
(1)
type
Reset
NMI
Hard fault
Reserved
SVCall
Reserved
PendSV
SysTick
Interrupt (IRQ)
for more information.
Interrupts IRQ0 to IRQ31 are the exceptions handled by ISRs.
Hard fault is the only fault exception handled by the fault handlers.
NMI, PendSV, SVCall SysTick, and Hard fault exceptions are all
system exceptions that are handled by system handlers.
Doc ID 022979 Rev 1
Vector address
Priority
or offset
-3, the highest
0x00000004
-2
0x00000008
-1
0x0000000C
-
-
(3)
Configurable
0x0000002C
-
-
(3)
Configurable
0x00000038
(3)
Configurable
0x0000003C
0x00000040 and
(3)
Configurable
(4)
above
Interrupt program status register on page
73.
Table 12 on page 23
Section 2.4: Fault handling on page
The STM32 Cortex-M0 processor
Activation
(2)
Asynchronous
Asynchronous
Synchronous
-
Synchronous
-
Asynchronous
Asynchronous
Asynchronous
14.
shows as having configurable
71.
28.
23/91
Need help?
Do you have a question about the STM32F0 Series and is the answer not in the manual?
Questions and answers