generated from hulk/gd32f4xx_template_cmake_vscode
Shared NTC sampling + M2 continuous temperature report
This commit is contained in:
@@ -61,6 +61,12 @@
|
||||
*/
|
||||
void command_process(void);
|
||||
|
||||
/**
|
||||
* @brief M2 连续温度上报任务(在主循环中周期调用,主循环周期 10ms)。
|
||||
* @details M2 使能后按设定间隔向 RS485 发送温度帧(格式同 M1 响应)。
|
||||
*/
|
||||
void command_report_task(void);
|
||||
|
||||
/**
|
||||
* @brief 解析并处理完整的命令帧。
|
||||
* @param frame 指向完整命令帧的缓冲区(从包头0xD5开始)。
|
||||
|
||||
Reference in New Issue
Block a user