Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Timer Class Referenceabstract

#include <timer.h>

Inheritance diagram for Timer:
BacklightDimmingTimer BatteryTimer HardwareTest::USBTestController LedTimer OnBoarding::LogoController SuspendTimer

Public Member Functions

 Timer (uint32_t period)
 
bool tick ()
 
void reset ()
 

Static Public Attributes

static constexpr int TickDuration = 300
 

Protected Member Functions

virtual bool fire ()=0
 

Detailed Description

Definition at line 15 of file timer.h.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( uint32_t  period)

Definition at line 3 of file timer.cpp.

Member Function Documentation

◆ fire()

virtual bool Timer::fire ( )
protectedpure virtual

◆ reset()

void Timer::reset ( )

Definition at line 19 of file timer.cpp.

◆ tick()

bool Timer::tick ( )

Definition at line 9 of file timer.cpp.

Member Data Documentation

◆ TickDuration

constexpr int Timer::TickDuration = 300
static

Definition at line 17 of file timer.h.


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