实现基本串口回传

This commit is contained in:
OPTOC
2025-08-20 11:28:11 +08:00
parent 0bd610ccd4
commit c704bbd24b
7 changed files with 338 additions and 6 deletions

View File

@@ -0,0 +1,37 @@
#pragma once
#include "device.h"
typedef struct
{
device_t device;
os_thread_t embedded_thread;
}sertrf_t;
/**
* @brief 模块初始化
*/
void sertrf_init(void);
/**
* @brief 模块启动
*/
void sertrf_start(void);
/**
* @brief 模块停止
*/
void sertrf_stop(void);
/**
* @brief 模块数据查看
*/
void sertrf_status(void);
/**
* @brief embedded thread
*/
void embedded_thread(void* arg);