-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathinterrupts.c
More file actions
51 lines (37 loc) · 1.02 KB
/
interrupts.c
File metadata and controls
51 lines (37 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* Interrupt vector implementations go here. Just add any you need.
* A full list of possible vectors is in lib/CMSIS_CM3/startup/gcc/stm32f10x_*.s
* You can also put the interrupt vector anywhere that gets compiled in,
* including one source file per interrupt, in main.c, etc. Be sure to keep
* the ones listed here, though.
*/
#include "interrupts.h"
/* The following interrupts should be present, though you can of course
* modify them as required.
*/
void NMI_Handler(void) {
}
void HardFault_Handler(void) {
/* Go to infinite loop when Hard Fault exception occurs */
while (1);
}
void MemManage_Handler(void) {
/* Go to infinite loop when Memory Manage exception occurs */
while (1);
}
void BusFault_Handler(void) {
/* Go to infinite loop when Bus Fault exception occurs */
while (1);
}
void UsageFault_Handler(void) {
/* Go to infinite loop when Usage Fault exception occurs */
while (1);
}
void SVC_Handler(void) {
}
void DebugMon_Handler(void) {
}
void PendSV_Handler(void) {
}
void SysTick_Handler(void) {
}