Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
LowPowerTimer Class Reference
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 32 of file LowPowerTimer.h.
Member Function Documentation
operator float | ( | ) | [inherited] |
float read | ( | void | ) | [inherited] |
int read_ms | ( | ) | [inherited] |
int read_us | ( | ) | [inherited] |
void reset | ( | ) | [inherited] |
Generated on Tue Jul 12 2022 14:33:25 by
