Developer Integration
Developer Hooks
Connect generated controls to GPIO, tasks, queues, networking and product behavior safely.
Why 95_UserEvents exists
Safe integration patterns
- —Set GPIO or enqueue a small command from a lightweight callback.
- —Send sensor, motor or relay work to a FreeRTOS task.
- —Call application services for networking, storage or state changes.
- —Keep long-running I/O and blocking work out of LVGL event callbacks.
Illustrative GPIO hook
c
void FG_On_PumpToggle_Toggled(bool enabled)
{
gpio_set_level(PUMP_GPIO, enabled);
}