generated from hulk/gd32e23x_template_cmake_vscode
整理LDC1612驱动头文件相关定义
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
|
||||
/** @brief 传感器周期上报使能标志 */
|
||||
extern volatile bool g_eddy_current_sensor_report_enabled;
|
||||
extern volatile bool g_temperature_sensor_report_enabled;
|
||||
|
||||
/**
|
||||
* @section Command_Protocol 协议格式
|
||||
@@ -81,25 +80,6 @@ bool get_eddy_sensor_report_enabled(void);
|
||||
*/
|
||||
void set_eddy_sensor_report_status(bool enabled);
|
||||
|
||||
/**
|
||||
* @brief 获取温度传感器周期上报使能状态。
|
||||
* @return bool 上报状态。
|
||||
* @retval true 传感器周期上报已启用。
|
||||
* @retval false 传感器周期上报已禁用。
|
||||
* @ingroup Command
|
||||
*/
|
||||
bool get_temp_sensor_report_enabled(void);
|
||||
|
||||
/**
|
||||
* @brief 设置温度传感器周期上报使能状态。
|
||||
* @param enabled 上报使能标志。
|
||||
* @arg true 启用传感器周期上报。
|
||||
* @arg false 禁用传感器周期上报。
|
||||
* @note 推荐通过此函数修改状态,便于后续功能扩展。
|
||||
* @ingroup Command
|
||||
*/
|
||||
void set_temp_sensor_report_status(bool enabled);
|
||||
|
||||
/**
|
||||
* @brief 处理串口环形缓冲区中的命令数据。
|
||||
* @details 基于状态机的非阻塞协议解析器,处理完整的命令帧并自动响应。
|
||||
|
||||
Reference in New Issue
Block a user