65#define CORE_TIMEOUT_STATE_ENABLED 0x01
66#define CORE_TIMEOUT_STATE_TIMED_OUT 0x02
67#define CORE_TIMEOUT_STATE_SUSPENDED 0x04
78 uint8_t single_shot : 1;
bool core_timeout_insert(core_timeout_t *timeout)
Add a timeout to the internal list of timeouts to be monitored.
Definition timeout.c:12
void core_timeout_check_all()
Check all timeouts currently stored in the internal timeout list.
Definition timeout.c:45
void core_timeout_reset(core_timeout_t *timeout)
Reset a timeout given a pointer to the timeout struct.
Definition timeout.c:39
void core_timeout_start_all()
Enable all timeouts currently in the internal timeout list.
Definition timeout.c:21
void core_timeout_reset_by_module_ref(void *module, uint32_t ref)
Reset a timeout given the module and the refernce number.
Definition timeout.c:29
void core_timeout_suspend(core_timeout_t *timeout)
Suspend timeout.
Definition timeout.c:66
void core_timeout_resume(core_timeout_t *timeout)
Resume suspended timeout.
Definition timeout.c:70
void core_timeout_hard_reset(core_timeout_t *timeout)
Force reset a timeout.
Definition timeout.c:75