cMicroOrp  1.0.0
C code for microcontrollers - provides ORP remote interface
SimpleTimer Class Reference

#include <SimpleTimer.h>

Public Member Functions

 SimpleTimer (uint64_t interval=0)
 Constructor, that initialize timer. More...
 
bool isReady ()
 Check is timer is ready. More...
 
void setInterval (uint64_t interval)
 Set the time interval. More...
 
void reset ()
 Reset a timer. More...
 

Constructor & Destructor Documentation

◆ SimpleTimer()

SimpleTimer ( uint64_t  interval = 0)
explicit

Constructor, that initialize timer.

Parameters
intervalAn interval in msec

Member Function Documentation

◆ isReady()

bool isReady ( )

Check is timer is ready.

Returns
True if is timer is ready

◆ reset()

void reset ( )

Reset a timer.

◆ setInterval()

void setInterval ( uint64_t  interval)

Set the time interval.

Parameters
intervalAn interval in msec

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