Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
Hardware_Timer Class Reference

Public Member Functions

Hardware_Timer &IRAM_ATTR initializeUs (uint32_t microseconds, InterruptCallback callback=NULL)
 
Hardware_Timer &IRAM_ATTR initializeMs (uint32_t milliseconds, InterruptCallback callback=NULL)
 
bool IRAM_ATTR start (bool repeating=true)
 
bool __forceinline IRAM_ATTR startOnce ()
 
bool IRAM_ATTR stop ()
 
bool IRAM_ATTR restart ()
 
bool isStarted ()
 
uint32_t getIntervalUs ()
 
uint32_t getIntervalMs ()
 
bool IRAM_ATTR setIntervalUs (uint32_t microseconds=1000000)
 
bool IRAM_ATTR setIntervalMs (uint32_t milliseconds=1000000)
 
void IRAM_ATTR setCallback (InterruptCallback callback)
 
void __forceinline IRAM_ATTR call ()