Mistake on this page?
Report an issue in GitHub or email us
Static Public Member Functions
LowPowerClock Class Reference

A C++11 Clock representing the HAL lp_ticker. More...

#include <LowPowerClock.h>

Static Public Member Functions

static time_point now ()
 Read the current time. More...
 
static void lock ()
 Lock the clock to ensure it stays running; dummy for API compatibility with HighResClock. More...
 
static void unlock ()
 Unlock the clock, allowing it to stop during power saving; dummy for API compatibility with HighResClock. More...
 

Detailed Description

A C++11 Clock representing the HAL lp_ticker.

Dummy lock/unlock methods are provided to have the same generic API as UnlockedHighPowerClock. No action is required as the lp_ticker runs continuously.

Definition at line 38 of file LowPowerClock.h.

Member Function Documentation

static void lock ( void  )
static

Lock the clock to ensure it stays running; dummy for API compatibility with HighResClock.

Definition at line 54 of file LowPowerClock.h.

static time_point now ( )
static

Read the current time.

Definition at line 48 of file LowPowerClock.h.

static void unlock ( void  )
static

Unlock the clock, allowing it to stop during power saving; dummy for API compatibility with HighResClock.

Definition at line 59 of file LowPowerClock.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.