ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
FastTimer Class Reference

#include <FastTimer.hpp>

Public Member Functions

 FastTimer ()
 < Start up the driver and put it into a safe mode
 
virtual ~FastTimer ()
 < deallocate any resources and put the output channels into a safe state
 
void StartTimer (uint32_t DurationMS, bool continuous)
 < Start the module
 
bool IsExpired ()
 
void CancelTimer ()
 
uint32_t GetTimeRemaining ()
 

Private Attributes

bool Continuous = false
 
uint32_t DurationMS = 0
 
uint64_t EndTimeMS = 0
 
uint32_t OffsetMS = 0
 

Constructor & Destructor Documentation

◆ FastTimer()

FastTimer::FastTimer ( )

< Start up the driver and put it into a safe mode

Here is the call graph for this function:

◆ ~FastTimer()

FastTimer::~FastTimer ( )
virtual

< deallocate any resources and put the output channels into a safe state

Member Function Documentation

◆ CancelTimer()

void FastTimer::CancelTimer ( )
Here is the caller graph for this function:

◆ GetTimeRemaining()

uint32_t FastTimer::GetTimeRemaining ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsExpired()

bool FastTimer::IsExpired ( )
Here is the caller graph for this function:

◆ StartTimer()

void FastTimer::StartTimer ( uint32_t DurationMS,
bool continuous )

< Start the module

Here is the caller graph for this function:

Member Data Documentation

◆ Continuous

bool FastTimer::Continuous = false
private

◆ DurationMS

uint32_t FastTimer::DurationMS = 0
private

◆ EndTimeMS

uint64_t FastTimer::EndTimeMS = 0
private

◆ OffsetMS

uint32_t FastTimer::OffsetMS = 0
private

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