Skip to content

Commit 6f669f2

Browse files
authored
Fix for issue Documentation inconsistency (#275)
Fixes #271
1 parent e8a25e9 commit 6f669f2

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

CMSIS/Documentation/Doxygen/Core/src/core_startup_c.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,21 @@ Specifically, following functionalities are provided in the startup file:
99
- Exception vectors of the Cortex-M Processor with weak functions that implement default routines.
1010
- Interrupt vectors that are device specific with weak functions that implement default routines.
1111

12-
To adapt the file to a specific device only the interrupt vector table needs to be extended with the device-specific interrupt handlers. The naming convention for the interrupt handler names is `<interrupt_name>_IRQHandler`. This table needs to be consistent with \ref IRQn_Type that defines all the IRQ numbers for each interrupt.
12+
To adapt the file to a specific device only the interrupt vector table needs to be extended with the device-specific
13+
interrupt handlers. The following table shows the mapping of the interrupt names vs. handler names:
14+
15+
| Interrupt name | Handler name |
16+
| --------------------- | ------------------- |
17+
| NonMaskableInt_IRQn | NMI_Handler |
18+
| HardFault_IRQn | HardFault_Handler |
19+
| MemoryManagement_IRQn | MemManage_Handler |
20+
| BusFault_IRQn | BusFault_Handler |
21+
| UsageFault_IRQn | UsageFault_Handler |
22+
| SecureFault_IRQn | SecureFault_Handler |
23+
| SVCall_IRQn | SVC_Handler |
24+
| DebugMonitor_IRQn | DebugMon_Handler |
25+
| PendSV_IRQn | PendSV_Handler |
26+
| SysTick_IRQn | SysTick_Handler |
1327

1428
Additional application-specific adaptations may be required in the startup code and therefore so the startup file shall be located in the application project. \ref cmsis_files_dfps explains how this can be achieved when device support is provided in [CMSIS pack format](https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/index.html).
1529

0 commit comments

Comments
 (0)