Timer structure for sleeptimer.
Public Attributes#
void *
User data to pass to callback function.
uint8_t
Priority of timer.
uint16_t
Option flags.
sl_sleeptimer_timer_handle_t *
Pointer to next element in list.
Function to call when timer expires.
uint32_t
Periodic timeout.
uint32_t
Delay relative to previous element in list.
uint32_t
Expected tick count of the next timeout (only used for periodic timer).
uint16_t
The error when converting ms to ticks (thousandths of ticks)
uint16_t
Accumulated conversion error (thousandths of ticks)
Public Attribute Documentation#
callback_data#
void* sl_sleeptimer_timer_handle_t::callback_data
User data to pass to callback function.
next#
sl_sleeptimer_timer_handle_t* sl_sleeptimer_timer_handle_t::next
Pointer to next element in list.
callback#
sl_sleeptimer_timer_callback_t sl_sleeptimer_timer_handle_t::callback
Function to call when timer expires.
timeout_expected_tc#
uint32_t sl_sleeptimer_timer_handle_t::timeout_expected_tc
Expected tick count of the next timeout (only used for periodic timer).
conversion_error#
uint16_t sl_sleeptimer_timer_handle_t::conversion_error
The error when converting ms to ticks (thousandths of ticks)
accumulated_error#
uint16_t sl_sleeptimer_timer_handle_t::accumulated_error
Accumulated conversion error (thousandths of ticks)