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 227 of file rail_types.h.

Field Documentation

◆ absOffset

RAIL_Time_t RAIL_MultiTimer_t::absOffset

Absolute time before the next event.

Definition at line 228 of file rail_types.h.

◆ callback

RAIL_MultiTimerCallback_t RAIL_MultiTimer_t::callback

A user callback.

Definition at line 230 of file rail_types.h.

◆ cbArg

void* RAIL_MultiTimer_t::cbArg

A user callback argument.

Definition at line 231 of file rail_types.h.

◆ doCallback

bool RAIL_MultiTimer_t::doCallback

Indicates the callback needs to run.

Definition at line 235 of file rail_types.h.

◆ isRunning

bool RAIL_MultiTimer_t::isRunning

Indicates the timer is currently running.

Definition at line 234 of file rail_types.h.

◆ next

struct RAIL_MultiTimer* RAIL_MultiTimer_t::next

A pointer to the next soft timer structure.

Definition at line 232 of file rail_types.h.

◆ priority

uint8_t RAIL_MultiTimer_t::priority

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

Definition at line 233 of file rail_types.h.

◆ relPeriodic

RAIL_Time_t RAIL_MultiTimer_t::relPeriodic

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

Definition at line 229 of file rail_types.h.


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