[FL-1274] Interrupt manager: cleaned version (#490)
* HAL interrupl manager: cleaned version * HAL interrupt manager: mem barriers * HAL interrupt manager: volatile interrupt list Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -12,14 +12,13 @@ typedef void (*InterruptCallback)(void*, void*);
|
||||
/** Interupt type */
|
||||
typedef enum {
|
||||
InterruptTypeComparatorTrigger,
|
||||
InterruptTypeTimerOutputCompare,
|
||||
InterruptTypeTimerUpdate,
|
||||
InterruptTypeLast,
|
||||
} InterruptType;
|
||||
|
||||
/** Interrupt callback type */
|
||||
typedef struct {
|
||||
InterruptCallback callback;
|
||||
InterruptType type;
|
||||
void* context;
|
||||
bool ready;
|
||||
} InterruptCallbackItem;
|
||||
|
Reference in New Issue
Block a user