RAIL timer state structure.
This structure is filled out and maintained internally only. The user/application should not alter any elements of this structure.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t.
Public Attributes#
Absolute time before the next event.
Relative, periodic time between events; 0 = timer is oneshot.
A user callback.
A user callback argument.
A pointer to the next soft timer structure.
A priority of the callback; 0 = highest priority; 255 = lowest.
Indicates the timer is currently running.
Indicates the callback needs to run.
Public Attribute Documentation#
absOffset#
RAIL_Time_t RAIL_MultiTimer_t::absOffset
Absolute time before the next event.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t::abs_offset.
relPeriodic#
RAIL_Time_t RAIL_MultiTimer_t::relPeriodic
Relative, periodic time between events; 0 = timer is oneshot.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t::rel_periodic.
callback#
RAIL_MultiTimerCallback_t RAIL_MultiTimer_t::callback
A user callback.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t::callback.
cbArg#
void* RAIL_MultiTimer_t::cbArg
A user callback argument.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t::cb_arg.
next#
struct RAIL_MultiTimer* RAIL_MultiTimer_t::next
A pointer to the next soft timer structure.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t::next.
priority#
uint8_t RAIL_MultiTimer_t::priority
A priority of the callback; 0 = highest priority; 255 = lowest.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t::priority.
isRunning#
bool RAIL_MultiTimer_t::isRunning
Indicates the timer is currently running.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t::is_running.
doCallback#
bool RAIL_MultiTimer_t::doCallback
Indicates the callback needs to run.
DeprecatedRAIL 2.x synonym of sl_rail_multi_timer_t::do_callback.