37#if FABGL_ESP_IDF_VERSION <= FABGL_ESP_IDF_VERSION_VAL(3, 3, 5)
38typedef nvs_handle nvs_handle_t;
66 typedef bool (*InterruptCallback)(
void * context);
71 void init(
char const * NVSNameSpace);
73 void setCallbacks(
void * context, InterruptCallback interruptCallback) {
75 m_interruptCallback = interruptCallback;
82 uint8_t read(
int address);
83 void write(
int address, uint8_t value);
85 uint8_t & reg(
int address) {
return m_regs[address]; }
93 void stopPeriodicTimer();
94 void stopEndUpdateTimer();
96 static void periodIntTimerFunc(
void * args);
97 static void endUpdateIntTimerFunc(
void * args);
106 InterruptCallback m_interruptCallback;
108 esp_timer_handle_t m_periodicIntTimerHandle;
109 esp_timer_handle_t m_endUpdateIntTimerHandle;
This file is the all in one include file. Application can just include this file to use FabGL library...