28#define BLOCK_INDEFINITELY UINT16_MAX
31#define INVALID_EVENT 32
StatusCode event_from_notification(uint32_t *notification, Event *event)
Get the highest priority event available and clears it.
Definition: notify.c:19
StatusCode notify(Task *task, Event event)
Notify a specific task with an event.
Definition: notify.c:70
void notify_from_isr(Task *task, Event event)
Sends an event notification from an ISR to a task.
Definition: notify.c:84
bool notify_check_event(uint32_t *notification, Event event)
Checks if the notification is available in the event.
Definition: notify.c:36
StatusCode notify_wait(uint32_t *notification, uint32_t ms_to_wait)
Get the current notification value for the calilng task with a maximum timeout.
Definition: notify.c:54
StatusCode notify_get(uint32_t *notification)
Get the current notification value for the calilng task without a timeout.
Definition: notify.c:50
StatusCode
StatusCodes for various errors.
Definition: status.h:27