Timer structure for sleeptimer.
Public Attributes#
User data to pass to callback function.
Priority of timer.
Option flags.
Pointer to next element in list.
Function to call when timer expires.
Periodic timeout.
Delay relative to previous element in list.
Expected tick count of the next timeout (only used for periodic timer).
The error when converting ms to ticks (thousandths of ticks)
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.
78
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
priority#
uint8_t sl_sleeptimer_timer_handle_t::priority
Priority of timer.
79
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
option_flags#
uint16_t sl_sleeptimer_timer_handle_t::option_flags
Option flags.
80
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
next#
sl_sleeptimer_timer_handle_t* sl_sleeptimer_timer_handle_t::next
Pointer to next element in list.
81
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
callback#
sl_sleeptimer_timer_callback_t sl_sleeptimer_timer_handle_t::callback
Function to call when timer expires.
82
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
timeout_periodic#
uint32_t sl_sleeptimer_timer_handle_t::timeout_periodic
Periodic timeout.
83
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
delta#
uint32_t sl_sleeptimer_timer_handle_t::delta
Delay relative to previous element in list.
84
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
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).
85
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
conversion_error#
uint16_t sl_sleeptimer_timer_handle_t::conversion_error
The error when converting ms to ticks (thousandths of ticks)
86
of file platform/service/sleeptimer/inc/sl_sleeptimer.h
accumulated_error#
uint16_t sl_sleeptimer_timer_handle_t::accumulated_error
Accumulated conversion error (thousandths of ticks)
87
of file platform/service/sleeptimer/inc/sl_sleeptimer.h