Revert "移植与电子模块通信相关代码"

This reverts commit 8e3a140bec
This commit is contained in:
andy
2023-10-06 10:52:48 +00:00
parent 8e3a140bec
commit 8a263181ce
77 changed files with 1168 additions and 13331 deletions

24
source/task/log.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef log_h__
#define log_h__
#include "stdint.h"
typedef struct{
int (*init)(void);
int (*write)(const uint8_t *d,int len);
int (*read)(uint8_t *d,int len);
void *(*set_irqfun)(void (*fun)(uint8_t d,void *context),void *context);
}log_typedef;
log_typedef *mylog(void);
#endif