Life is random and unfair!
Fork of mbed-dev by
LowPowerTimer Class Reference
[Drivers]
Low power timer. More...
#include <LowPowerTimer.h>
Inherits mbed::Timer.
Public Member Functions | |
void | start () |
Start the timer. | |
void | stop () |
Stop the timer. | |
void | reset () |
Reset the timer to 0. | |
float | read () |
Get the time passed in seconds. | |
int | read_ms () |
Get the time passed in mili-seconds. | |
int | read_us () |
Get the time passed in micro-seconds. | |
operator float () | |
An operator shorthand for read() |
Detailed Description
Low power timer.
Synchronization level: Interrupt safe
Definition at line 34 of file LowPowerTimer.h.
Generated on Tue Jul 12 2022 19:28:33 by 1.7.2