sl_sleeptimer_timer_handle_t Struct Reference

Timer structure for sleeptimer.

#include <sl_sleeptimer.h>

Data Fields

void * callback_data
User data to pass to callback function.
uint8_t priority
Priority of timer.
uint16_t option_flags
Option flags.
sl_sleeptimer_timer_handle_t * next
Pointer to next element in list.
sl_sleeptimer_timer_callback_t callback
Function to call when timer expires.
uint32_t timeout_periodic
Periodic timeout.
uint32_t delta
Delay relative to previous element in list.

Timer structure for sleeptimer.

Field Documentation

callback_data

void* sl_sleeptimer_timer_handle_t::callback_data

User data to pass to callback function.

priority

uint8_t sl_sleeptimer_timer_handle_t::priority

Priority of timer.

option_flags

uint16_t sl_sleeptimer_timer_handle_t::option_flags

Option flags.

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_periodic

uint32_t sl_sleeptimer_timer_handle_t::timeout_periodic

Periodic timeout.

delta

uint32_t sl_sleeptimer_timer_handle_t::delta

Delay relative to previous element in list.