ruuvi.drivers.c
${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
|
Interface functions to scheduler. More...
Go to the source code of this file.
Typedefs | |
typedef void(* | ruuvi_scheduler_event_handler_t) (void *p_event_data, uint16_t event_size) |
Type definition for scheduler event handler. More... | |
Functions | |
rd_status_t | ri_scheduler_init (void) |
Enable implementation selected by application. More... | |
rd_status_t | ri_scheduler_execute (void) |
Executes all scheduled tasks. More... | |
rd_status_t | ri_scheduler_event_put (const void *const p_event_data, const uint16_t event_size, const ruuvi_scheduler_event_handler_t handler) |
Schedule given task to be executed on next call to ri_scheduler_execute. More... | |
rd_status_t | ri_scheduler_uninit (void) |
Uninitialize scheduler. More... | |
bool | ri_scheduler_is_init (void) |
Check if scheduler is initialized. More... | |
Interface functions to scheduler.
The scheduler is in drivers rather than in library as many platforms provide their own implementation of the scheduler.
Definition in file ruuvi_interface_scheduler.h.