|
Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
| SimpleTimer () | |
| OSTimer class. More... | |
| __forceinline void | startMs (uint32_t milliseconds, bool repeating=false) |
| Initialise millisecond timer. More... | |
| __forceinline void | startUs (uint32_t microseconds, bool repeating=false) |
| Initialise microsecond timer. More... | |
| __forceinline void | stop () |
| Stop timer. More... | |
| void | setCallback (SimpleTimerCallback callback, void *arg=nullptr) |
| Set timer trigger function. More... | |
|
inline |
Set timer trigger function.
| interrupt | Function to be called on timer trigger |
|
inline |
Initialise millisecond timer.
| milliseconds | Duration of timer in milliseconds |
| callback | Function to call when timer triggers |
|
inline |
Initialise microsecond timer.
| microseconds | Duration of timer in milliseconds |
| callback | Function to call when timer triggers |
|
inline |
Stop timer.