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

Detailed Description

Definition at line 7 of file high_precision_interval.h.

Public Member Functions

 HighPrecisionInterval (uint64_t microsSecondsPerInterval)
 
void reset (uint32_t startTime)
 
void incrementIntervalCounter ()
 
void pause (uint32_t now)
 
void resume (uint32_t now)
 
bool needsFrame (uint32_t now, uint32_t *precise_timestamp) const
 
bool isPaused () const
 

Constructor & Destructor Documentation

◆ HighPrecisionInterval()

HighPrecisionInterval::HighPrecisionInterval ( uint64_t microsSecondsPerInterval)
inline

Definition at line 9 of file high_precision_interval.h.

Member Function Documentation

◆ incrementIntervalCounter()

void HighPrecisionInterval::incrementIntervalCounter ( )
inline

Definition at line 19 of file high_precision_interval.h.

◆ isPaused()

bool HighPrecisionInterval::isPaused ( ) const
inline

Definition at line 51 of file high_precision_interval.h.

◆ needsFrame()

bool HighPrecisionInterval::needsFrame ( uint32_t now,
uint32_t * precise_timestamp ) const
inline

Definition at line 35 of file high_precision_interval.h.

◆ pause()

void HighPrecisionInterval::pause ( uint32_t now)
inline

Definition at line 21 of file high_precision_interval.h.

◆ reset()

void HighPrecisionInterval::reset ( uint32_t startTime)
inline

Definition at line 12 of file high_precision_interval.h.

◆ resume()

void HighPrecisionInterval::resume ( uint32_t now)
inline

Definition at line 28 of file high_precision_interval.h.


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