|
Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Configuration for sapi_timer_create(). More...
#include <sapi_timer.h>
Data Fields | |
| sapi_timer_mode_t | mode |
| sapi_duration_ms_t | period_ms |
| sapi_timer_callback_t | callback |
| void * | user_ctx |
Configuration for sapi_timer_create().
Definition at line 52 of file sapi_timer.h.
| sapi_timer_mode_t sapi_timer_config_t::mode |
One-shot or periodic.
Definition at line 54 of file sapi_timer.h.
| sapi_duration_ms_t sapi_timer_config_t::period_ms |
Period (or delay for one-shot). Must be > 0.
Definition at line 55 of file sapi_timer.h.
| sapi_timer_callback_t sapi_timer_config_t::callback |
Must not be NULL.
Definition at line 56 of file sapi_timer.h.
| void* sapi_timer_config_t::user_ctx |
Passed back to callback, may be NULL.
Definition at line 57 of file sapi_timer.h.