fsfw/src/fsfw_hal/stm32h7/interrupts.h

25 lines
471 B
C
Raw Normal View History

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