RAIL_MultiTimer_t Struct Reference

RAIL timer state structure.

#include < rail_types.h >

Data Fields

RAIL_Time_t absOffset
Absolute time before the next event.
RAIL_Time_t relPeriodic
Relative, periodic time between events; 0 = timer is oneshot.
RAIL_MultiTimerCallback_t callback
A user callback.
void * cbArg
A user callback argument.
struct RAIL_MultiTimer * next
A pointer to the next soft timer structure.
uint8_t priority
A priority of the callback; 0 = highest priority; 255 = lowest.
bool isRunning
Indicates the timer is currently running.
bool doCallback
Indicates the callback needs to run.

RAIL timer state structure.

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

Definition at line 212 of file rail_types.h .

Field Documentation

RAIL_Time_t RAIL_MultiTimer_t::absOffset

Absolute time before the next event.

Definition at line 213 of file rail_types.h .

RAIL_MultiTimerCallback_t RAIL_MultiTimer_t::callback

A user callback.

Definition at line 215 of file rail_types.h .

void* RAIL_MultiTimer_t::cbArg

A user callback argument.

Definition at line 216 of file rail_types.h .

bool RAIL_MultiTimer_t::doCallback

Indicates the callback needs to run.

Definition at line 220 of file rail_types.h .

bool RAIL_MultiTimer_t::isRunning

Indicates the timer is currently running.

Definition at line 219 of file rail_types.h .

struct RAIL_MultiTimer* RAIL_MultiTimer_t::next

A pointer to the next soft timer structure.

Definition at line 217 of file rail_types.h .

uint8_t RAIL_MultiTimer_t::priority

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

Definition at line 218 of file rail_types.h .

RAIL_Time_t RAIL_MultiTimer_t::relPeriodic

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

Definition at line 214 of file rail_types.h .


The documentation for this struct was generated from the following file:
  • common/ rail_types.h