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.
Dependencies: Nucleo_BLE_API_IOTIO Nucleo_BLE_BlueNRG Nucleo_BLE_DemoApp Nucleo_Sensor_Shield mbed
Dependents: Nucleo_BLE_Demo_IOTIO
Fork of Nucleo_BLE_Demo by
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. |
Detailed Description
Low power timer.
Definition at line 30 of file LowPowerTimer.h.
Member Function Documentation
float read | ( | ) | [inherited] |
Get the time passed in seconds.
int read_ms | ( | ) | [inherited] |
Get the time passed in mili-seconds.
int read_us | ( | ) | [inherited] |
Get the time passed in micro-seconds.
void reset | ( | ) | [inherited] |
Reset the timer to 0.
If it was already counting, it will continue
void start | ( | ) | [inherited] |
Start the timer.
void stop | ( | ) | [inherited] |
Stop the timer.
Generated on Tue Jul 12 2022 14:31:15 by
