OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
SimpleTimer Class Reference

#include <SimpleTimer.h>

Public Member Functions

 SimpleTimer ()
 
void run ()
 
int setInterval (long d, timer_callback f)
 
int setTimeout (long d, timer_callback f)
 
int setTimeout (long d, timer_callback f, timer_callback_args a)
 
int setTimer (long d, timer_callback f, int n)
 
int setTimer (long d, timer_callback f, timer_callback_args a, int n)
 
void deleteTimer (int numTimer)
 
void restartTimer (int numTimer)
 
boolean isEnabled (int numTimer)
 
void enable (int numTimer)
 
void disable (int numTimer)
 
void toggle (int numTimer)
 
int getNumTimers ()
 
int getNumAvailableTimers ()
 

Static Public Attributes

static const int MAX_TIMERS = 64
 
static const int RUN_FOREVER = 0
 
static const int RUN_ONCE = 1
 

Constructor & Destructor Documentation

◆ SimpleTimer()

SimpleTimer::SimpleTimer ( )

Member Function Documentation

◆ deleteTimer()

void SimpleTimer::deleteTimer ( int  numTimer)

◆ disable()

void SimpleTimer::disable ( int  numTimer)

◆ enable()

void SimpleTimer::enable ( int  numTimer)

◆ getNumAvailableTimers()

int SimpleTimer::getNumAvailableTimers ( )
inline

◆ getNumTimers()

int SimpleTimer::getNumTimers ( )

◆ isEnabled()

boolean SimpleTimer::isEnabled ( int  numTimer)

◆ restartTimer()

void SimpleTimer::restartTimer ( int  numTimer)

◆ run()

void SimpleTimer::run ( )

◆ setInterval()

int SimpleTimer::setInterval ( long  d,
timer_callback  f 
)
Here is the call graph for this function:

◆ setTimeout() [1/2]

int SimpleTimer::setTimeout ( long  d,
timer_callback  f 
)
Here is the call graph for this function:

◆ setTimeout() [2/2]

int SimpleTimer::setTimeout ( long  d,
timer_callback  f,
timer_callback_args  a 
)
Here is the call graph for this function:

◆ setTimer() [1/2]

int SimpleTimer::setTimer ( long  d,
timer_callback  f,
int  n 
)

◆ setTimer() [2/2]

int SimpleTimer::setTimer ( long  d,
timer_callback  f,
timer_callback_args  a,
int  n 
)

◆ toggle()

void SimpleTimer::toggle ( int  numTimer)

Member Data Documentation

◆ MAX_TIMERS

const int SimpleTimer::MAX_TIMERS = 64
static

◆ RUN_FOREVER

const int SimpleTimer::RUN_FOREVER = 0
static

◆ RUN_ONCE

const int SimpleTimer::RUN_ONCE = 1
static

The documentation for this class was generated from the following files: