Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
Public Member Functions | |
bool | isReady () |
Check if system ready. More... | |
void | restart (unsigned deferMillis=0) |
Request a restart of the system. More... | |
void | setCpuFrequency (CpuFrequency freq) |
Set the CPU frequency. More... | |
CpuFrequency | getCpuFrequency () |
Get the CPU frequency. More... | |
bool | deepSleep (uint32 timeMilliseconds, DeepSleepOptions options=eDSO_RF_CAL_BY_INIT_DATA) |
Enter deep sleep mode. More... | |
void | onReady (SystemReadyDelegate readyHandler) |
Set handler for system ready event. More... | |
void | onReady (ISystemReadyHandler *readyHandler) |
Set handler for system ready event. More... | |
Static Public Member Functions | |
static bool | initialize () |
System initialisation. More... | |
static bool IRAM_ATTR | queueCallback (TaskCallback callback, uint32_t param=0) |
Queue a deferred callback. More... | |
static unsigned | getTaskCount () |
Get number of tasks currently on queue. More... | |
static unsigned | getMaxTaskCount () |
Get maximum number of tasks seen on queue at any one time. More... | |