System.h
Go to the documentation of this file.
166 queueCallback([](void* param) { static_cast<ISystemReadyHandler*>(param)->onSystemReady(); }, readyHandler);
187 return queueCallback(reinterpret_cast<TaskCallback32>(callback), reinterpret_cast<uint32_t>(param));
void onReady(SystemReadyDelegate readyHandler)
Set handler for system ready event.
Definition: System.h:154
disable RF after deep-sleep wake up, just like modem sleep, there will be the smallest current...
Definition: System.h:83
void(*)(uint32_t param) TaskCallback32
Task callback function type, uint32_t parameter.
Definition: System.h:37
CpuFrequency getCpuFrequency()
Get the CPU frequency.
Definition: System.h:139
RF_CAL or not after deep-sleep wake up, depends on init data byte 108.
Definition: System.h:80
static unsigned getMaxTaskCount()
Get maximum number of tasks seen on queue at any one time.
Definition: System.h:225
RF_CAL after deep-sleep wake up, there will be large current.
Definition: System.h:81
static unsigned getTaskCount()
Get number of tasks currently on queue.
Definition: System.h:211
static bool queueCallback(InterruptCallback callback)
Queue a deferred callback with no callback parameter.
Definition: System.h:193
static bool queueCallback(TaskCallback callback, void *param=nullptr)
Queue a deferred callback, with optional void* parameter.
Definition: System.h:185
void onReady(ISystemReadyHandler *readyHandler)
Set handler for system ready event.
Definition: System.h:163
void(*)(void *param) TaskCallback
Task callback function type, void* parameter.
Definition: System.h:42
void setCpuFrequency(CpuFrequency freq)
Set the CPU frequency.
Definition: System.h:131
no RF_CAL after deep-sleep wake up, there will only be small current.
Definition: System.h:82
Interface class implemented by classes to support on-ready callback.
Definition: System.h:55