ClearCore system timer/stopwatch class using microsecond time base.
ClearCore system timer/stopwatch class using microsecond time base.
More...
#include <SysTimer.h>
|
| | SysTimerUs () |
| | Default constructor.
|
| |
| | SysTimerUs (uint32_t delay) |
| | Construct and specify the timer's delay.
|
| |
| void | SetDelay (uint32_t delay) |
| | Set the delay of the timer.
|
| |
| void | Start (uint32_t delay) |
| | Starts the timer with a delay argument.
|
| |
|
void | Start () |
| | Starts the timer with the default or configured delay.
|
| |
| bool | Completed () |
| | Check to see if the timer has completed.
|
| |
| uint32_t | Elapsed () |
| | Check how much time has elapsed since the start of the timer.
|
| |
◆ SysTimerUs() [1/2]
| ClearCore::SysTimerUs::SysTimerUs |
( |
| ) |
|
|
inline |
◆ SysTimerUs() [2/2]
| ClearCore::SysTimerUs::SysTimerUs |
( |
uint32_t |
delay | ) |
|
|
inline |
Construct and specify the timer's delay.
- Parameters
-
| [in] | delay | The delay for the timer in microseconds |
The documentation for this class was generated from the following file: