Docs menu

Native Components

Native Component Runtime Guide

The developer contract for semantic Native Component APIs, UserEvents, naming and LVGL task safety.

Supported integration surface

Use exact declarations from generated 90_Studio_Export.h. Public names derive from stable component identity or an assigned name; duplicate stems receive deterministic _2, _3 and later suffixes.

c
FG_Set_<Component>_Value(...);
FG_Set_<Component>_Status(...);
FG_Set_<Component>_Channel(...);
FG_Get_<Component>_Channel(...);
FG_Set_<Component>_All(...);

Thread and LVGL safety

Generated setters update LVGL directly. Call them from the UI execution context or while holding the selected BSP display/LVGL lock. Never call them directly from an ISR or arbitrary unprotected task.