6#define TASK_EVENT_PD_AWAKE (1 << 18)
9#define TASK_EVENT_WAKE (1 << 29)
15#define TASK_EVENT_TIMER (1U << 31)
32void task_scheduler(
void);
45uint32_t task_set_event(uint32_t event);
60uint32_t task_wait_event(
int timeout_us);
78uint32_t task_wait_event_mask(uint32_t event_mask,
int timeout_us);
83static inline void task_wake() { task_set_event(TASK_EVENT_WAKE); }
88void task_clear_event_bitmap(uint32_t eventToClear);
Convert a 64 bits to little endian encoding.
Definition: task.h:19
uint32_t lo
low side of the binary
Definition: task.h:23
uint32_t hi
low side of the binary
Definition: task.h:24
uint64_t val
value to store the binary
Definition: task.h:20