2021-06-03 15:12:34 +02:00
|
|
|
#ifndef FSFW_HAL_STM32H7_INTERRUPTS_H_
|
|
|
|
#define FSFW_HAL_STM32H7_INTERRUPTS_H_
|
|
|
|
|
2021-06-10 19:09:33 +02:00
|
|
|
#include <cstdint>
|
|
|
|
|
2021-06-03 15:12:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Default handler which is defined in startup file as assembly code.
|
|
|
|
*/
|
|
|
|
extern void Default_Handler();
|
|
|
|
|
|
|
|
typedef void (*user_handler_t) (void*);
|
|
|
|
typedef void* user_args_t;
|
|
|
|
|
2021-06-10 19:09:33 +02:00
|
|
|
enum IrqPriorities: uint8_t {
|
|
|
|
HIGHEST = 0,
|
|
|
|
HIGHEST_FREERTOS = 6,
|
|
|
|
LOWEST = 15
|
|
|
|
};
|
|
|
|
|
2021-06-03 15:12:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* FSFW_HAL_STM32H7_INTERRUPTS_H_ */
|