46 uint32_t m_timerStart = 0;
47 uint32_t m_timerDelay = 0;
104 return (Now() - m_timerStart) >= m_timerDelay;
118 return Now() - m_timerStart;
132 virtual uint32_t Now() = 0;
154 m_timerStart = Now();
163 uint32_t Now()
override {
187 m_timerStart = Now();
196 uint32_t Now()
override {
ClearCore timing profiling utility functions.
uint32_t Microseconds(void)
Number of microseconds since the ClearCore was initialized.
uint32_t Milliseconds(void)
Number of milliseconds since the ClearCore was initialized.
ClearCore system timer/stopwatch class.
Definition SysTimer.h:42
uint32_t Elapsed()
Check how much time has elapsed since the start of the timer.
Definition SysTimer.h:117
bool Completed()
Check to see if the timer has completed.
Definition SysTimer.h:103
void Start(uint32_t delay)
Starts the timer with a delay argument.
Definition SysTimer.h:81
void Start()
Starts the timer with the default or configured delay.
Definition SysTimer.h:89
void SetDelay(uint32_t delay)
Set the delay of the timer.
Definition SysTimer.h:71
ClearCore system timer/stopwatch class using millisecond time base.
Definition SysTimer.h:140
SysTimerMs(uint32_t delay)
Construct and specify the timer's delay.
Definition SysTimer.h:153
SysTimerMs()
Default constructor.
Definition SysTimer.h:146
ClearCore system timer/stopwatch class using microsecond time base.
Definition SysTimer.h:173
SysTimerUs(uint32_t delay)
Construct and specify the timer's delay.
Definition SysTimer.h:186
SysTimerUs()
Default constructor.
Definition SysTimer.h:179
Namespace to encompass the ClearCore board API.
Definition AdcManager.h:36