Baji_Rtc_Toy_Key/main/dzbj/dzbj_init.h
Rdzleo dbdd304905 代码初始化:
本项目为触摸版项目代码复制而来,基于此版本进行按键功能的适配!
2026-03-23 11:14:56 +08:00

23 lines
553 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef _DZBJ_INIT_H_
#define _DZBJ_INIT_H_
#include <driver/i2c_master.h>
#ifdef __cplusplus
extern "C" {
#endif
// dzbj 显示模块初始化入口
// i2c_bus: 主项目的 I2C 总线句柄(与音频编解码器共享)
void dzbj_display_init(i2c_master_bus_handle_t i2c_bus);
// 仅硬件+LVGL 初始化(不加载 SquareLine UI不点亮背光
// 用于 AI 模式:调用方自行加载 AI 专用屏幕后再点亮背光
void dzbj_hw_display_init(i2c_master_bus_handle_t i2c_bus);
#ifdef __cplusplus
}
#endif
#endif // _DZBJ_INIT_H_