You are viewing documentation for version:
Timer storage type.
Typedef for the timer implementation structure.
Note
This typedef defines a type alias for the timer implementation structure.
Public Attributes#
sl_sleeptimer_timer_handle_t
Public Attribute Documentation#
alarm#
struct sid_timespec sid_pal_timer_t::alarm
The alarm time for the timer.
period#
struct sid_timespec sid_pal_timer_t::period
The period of the timer.
sleeptimer_handle#
sl_sleeptimer_timer_handle_t sid_pal_timer_t::sleeptimer_handle
Handle for the sleep timer.
callback#
sid_pal_timer_cb_t sid_pal_timer_t::callback
Callback function to be called when the timer expires.
is_periodic#
bool sid_pal_timer_t::is_periodic
Indicates if the timer is periodic.
has_started#
bool sid_pal_timer_t::has_started
Indicates if the timer has started.
period_in_ms#
uint32_t sid_pal_timer_t::period_in_ms
The period of the timer in milliseconds.
callback_arg#
void* sid_pal_timer_t::callback_arg
Argument to be passed to the callback function.