/* * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2025-10-27 Administrator the first version */ #ifndef APPLICATIONS_LV_PORT_DISP_H_ #define APPLICATIONS_LV_PORT_DISP_H_ #ifdef __cplusplus extern "C" { #endif #define LV_COLOR_DEPTH 16 #define LV_HOR_RES_MAX 480 #define LV_VER_RES_MAX 272 #define LV_DPI 130 void ssd1963_init(void); void ssd1963_set_window(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2); /** * @brief 初始化 LVGL 显示驱动 * 调用 ssd1963_init() 并注册到 LVGL */ void lv_port_disp_init(void); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* APPLICATIONS_LV_PORT_DISP_H_ */