使用定时器来精确控制数据发送的时间间隙,保证和其他小板不冲突

This commit is contained in:
ranchuan
2023-12-05 18:39:30 +08:00
parent d6b1177af9
commit ebc180189c
13 changed files with 664 additions and 104 deletions

View File

@@ -1,3 +1,6 @@
/*
* @text: 测试
*/
#ifndef prot_uc_h__
#define prot_uc_h__
@@ -32,6 +35,7 @@ struct _protu_def{
int is_big_data;
codec_item *codec;
int silent;// 此项为1不返回数据
timer_def *timer;
};
typedef struct _protu_def protu_def;