Arduino Core for STM32  1.0
interrupt.h
Go to the documentation of this file.
1 /*
2  * interrupt.h
3  *
4  * Created on: Jan 28, 2021
5  * Author: ASUS
6  */
7 
15 #ifndef INTERRUPT_H_
16 #define INTERRUPT_H_
17 
18 #include "main.h"
19 
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
25 #if W_INT_HANDLING_MODE == 2
26 
27 #if defined(STM32F103xB) //this is maybe true for all STM32F1xxxxx MCUs
28  void EXTI0_IRQHandler(void);
29  void EXTI1_IRQHandler(void);
30  void EXTI2_IRQHandler(void);
31  void EXTI3_IRQHandler(void);
32  void EXTI4_IRQHandler(void);
33  void EXTI9_5_IRQHandler(void);
34  void EXTI15_10_IRQHandler(void);
35 #else
36  void EXTI0_1_IRQHandler(void);
37  void EXTI2_3_IRQHandler(void);
38  void EXTI4_15_IRQHandler(void);
39 #endif
40 
41 #endif
42 
43 #ifdef __cplusplus
44 } // extern "C"
45 #endif
46 
47 #endif /* INTERRUPT_H_ */