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#

absOffset#

RAIL_Time_t RAIL_MultiTimer_t::absOffset

Absolute time before the next event.


Definition at line 291 of file common/rail_types.h

relPeriodic#

RAIL_Time_t RAIL_MultiTimer_t::relPeriodic

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


Definition at line 293 of file common/rail_types.h

callback#

RAIL_MultiTimerCallback_t RAIL_MultiTimer_t::callback

A user callback.


Definition at line 295 of file common/rail_types.h

cbArg#

void* RAIL_MultiTimer_t::cbArg

A user callback argument.


Definition at line 297 of file common/rail_types.h

next#

struct RAIL_MultiTimer* RAIL_MultiTimer_t::next

A pointer to the next soft timer structure.


Definition at line 299 of file common/rail_types.h

priority#

uint8_t RAIL_MultiTimer_t::priority

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


Definition at line 301 of file common/rail_types.h

isRunning#

bool RAIL_MultiTimer_t::isRunning

Indicates the timer is currently running.


Definition at line 303 of file common/rail_types.h

doCallback#

bool RAIL_MultiTimer_t::doCallback

Indicates the callback needs to run.


Definition at line 305 of file common/rail_types.h