RAIL timer state structure.

This structure is filled out and maintained internally only. The user/application should not alter any elements of this structure.

Public Attributes#

Absolute time before the next event.

Relative, periodic time between events; 0 = timer is oneshot.

void *

A user callback argument.

A pointer to the next soft timer structure.

uint8_t

A priority of the callback; 0 = highest priority; 255 = lowest.

bool

Indicates the timer is currently running.

bool

Indicates the callback needs to run.

Public Attribute Documentation#

abs_offset#

sl_rail_time_t sl_rail_multi_timer_t::abs_offset

Absolute time before the next event.


rel_periodic#

sl_rail_time_t sl_rail_multi_timer_t::rel_periodic

Relative, periodic time between events; 0 = timer is oneshot.


callback#

sl_rail_multi_timer_callback_t sl_rail_multi_timer_t::callback

A user callback.


cb_arg#

void* sl_rail_multi_timer_t::cb_arg

A user callback argument.


next#

struct sl_rail_multi_timer* sl_rail_multi_timer_t::next

A pointer to the next soft timer structure.


priority#

uint8_t sl_rail_multi_timer_t::priority

A priority of the callback; 0 = highest priority; 255 = lowest.


is_running#

bool sl_rail_multi_timer_t::is_running

Indicates the timer is currently running.


do_callback#

bool sl_rail_multi_timer_t::do_callback

Indicates the callback needs to run.