Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Embed: (wiki syntax)

« Back to documentation index

LowPowerTimer Class Reference

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.