forked
LowPowerTimer Class Reference
[Drivers]
Low power timer. More...
#include <LowPowerTimer.h>
Inherits mbed::Timer, and NonCopyable< LowPowerTimer >.
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 milli-seconds. | |
int | read_us () |
Get the time passed in micro-seconds. | |
operator float () | |
An operator shorthand for read() | |
us_timestamp_t | read_high_resolution_us () |
Get in a high resolution type the time passed in micro-seconds. |
Detailed Description
Low power timer.
- Note:
- Synchronization level: Interrupt safe
Definition at line 35 of file LowPowerTimer.h.
Member Function Documentation
operator float | ( | ) | [inherited] |
float read | ( | void | ) | [inherited] |
us_timestamp_t read_high_resolution_us | ( | ) | [inherited] |
int read_ms | ( | ) | [inherited] |
int read_us | ( | ) | [inherited] |
void reset | ( | ) | [inherited] |
Generated on Tue Jul 12 2022 16:02:35 by 1.7.2