/** * @file splash_screen.h * @brief Splash screen display interface * * This module displays a startup splash screen with the company logo. * The splash screen blocks for a configurable duration before returning. */ #ifndef SPLASH_SCREEN_H #define SPLASH_SCREEN_H #include #include #ifdef __cplusplus extern "C" { #endif // ---------------------------------------------------------------------------- // Configuration // ---------------------------------------------------------------------------- // Duration the splash screen is displayed (milliseconds) #define SPLASH_SCREEN_DURATION_MS 2000 // ---------------------------------------------------------------------------- // Public Interface // ---------------------------------------------------------------------------- /** * @brief Display the splash screen * * Creates a temporary LVGL screen, displays the logo image centered, * waits for the configured duration, then cleans up. * This function blocks for SPLASH_SCREEN_DURATION_MS. * * @note The display driver must be initialized before calling this. * @note This function should be called with the LVGL mutex held. */ void splashScreenShow(void); #ifdef __cplusplus } #endif #endif // SPLASH_SCREEN_H