FastLED 3.9.3
Loading...
Searching...
No Matches
CEveryNMillisDynamic Class Reference

Detailed Description

Create the CEveryNMillisDynamic class for dynamic millisecond intervals.

Definition at line 1191 of file lib8tion.h.

#include <lib8tion.h>

Public Member Functions

 CEveryNMillisDynamic (uint32_t period)
 
uint32_t getTime ()
 
uint32_t getPeriod () const
 
uint32_t getElapsed ()
 
uint32_t getRemaining ()
 
uint32_t getLastTriggerTime ()
 
bool ready ()
 
void reset ()
 
void trigger ()
 
void setPeriod (uint32_t period)
 
 operator bool ()
 

Public Attributes

uint32_t mPrevTrigger
 
uint32_t mPeriod
 

Constructor & Destructor Documentation

◆ CEveryNMillisDynamic()

CEveryNMillisDynamic::CEveryNMillisDynamic ( uint32_t period)
inline

Definition at line 1196 of file lib8tion.h.

Member Function Documentation

◆ getElapsed()

uint32_t CEveryNMillisDynamic::getElapsed ( )
inline

Definition at line 1199 of file lib8tion.h.

◆ getLastTriggerTime()

uint32_t CEveryNMillisDynamic::getLastTriggerTime ( )
inline

Definition at line 1201 of file lib8tion.h.

◆ getPeriod()

uint32_t CEveryNMillisDynamic::getPeriod ( ) const
inline

Definition at line 1198 of file lib8tion.h.

◆ getRemaining()

uint32_t CEveryNMillisDynamic::getRemaining ( )
inline

Definition at line 1200 of file lib8tion.h.

◆ getTime()

uint32_t CEveryNMillisDynamic::getTime ( )
inline

Definition at line 1197 of file lib8tion.h.

◆ operator bool()

CEveryNMillisDynamic::operator bool ( )
inline

Definition at line 1211 of file lib8tion.h.

◆ ready()

bool CEveryNMillisDynamic::ready ( )
inline

Definition at line 1202 of file lib8tion.h.

◆ reset()

void CEveryNMillisDynamic::reset ( )
inline

Definition at line 1207 of file lib8tion.h.

◆ setPeriod()

void CEveryNMillisDynamic::setPeriod ( uint32_t period)
inline

Definition at line 1209 of file lib8tion.h.

◆ trigger()

void CEveryNMillisDynamic::trigger ( )
inline

Definition at line 1208 of file lib8tion.h.

Member Data Documentation

◆ mPeriod

uint32_t CEveryNMillisDynamic::mPeriod

Definition at line 1194 of file lib8tion.h.

◆ mPrevTrigger

uint32_t CEveryNMillisDynamic::mPrevTrigger

Definition at line 1193 of file lib8tion.h.


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