mbed-drivers
|
#include <Timeout.h>
Protected Member Functions | |
virtual void | handler () |
![]() | |
void | setup (timestamp_t t) |
![]() | |
void | insert (timestamp_t timestamp) |
void | remove () |
Additional Inherited Members | |
![]() | |
Ticker (const ticker_data_t *const data) | |
void | attach (void(*fptr)(void), float t) |
template<typename T > | |
void | attach (T *tptr, void(T::*mptr)(void), float t) |
void | attach_us (void(*fptr)(void), timestamp_t t) |
template<typename T > | |
void | attach_us (T *tptr, void(T::*mptr)(void), timestamp_t t) |
void | detach () |
![]() | |
TimerEvent (const ticker_data_t *data) | |
virtual | ~TimerEvent () |
![]() | |
static void | irq (uint32_t id) |
![]() | |
timestamp_t | _delay |
mbed::util::FunctionPointer | _function |
![]() | |
ticker_event_t | event |
const ticker_data_t *const | _ticker_data |
A Timeout is used to call a function at a point in the future
You can use as many seperate Timeout objects as you require.
Example: