Files
pi-dashboard/components/user_app/user_app.h
2026-02-15 04:15:30 +09:00

27 lines
476 B
C

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/**
* Initialize hardware peripherals (I2C, sensors, ADC, buttons, codec, alerts).
* Called early in boot, before UI.
*/
void UserApp_AppInit(void);
/**
* Create the dashboard UI. Must be called with LVGL lock held.
*/
void UserApp_UiInit(void);
/**
* Start background tasks (WS client, sensor polling, button handling).
* Called after UI is created.
*/
void UserApp_TaskInit(void);
#ifdef __cplusplus
}
#endif