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

This commit is contained in:
andy
2023-10-06 18:47:05 +08:00
parent bf440a35bc
commit 8e3a140bec
77 changed files with 13331 additions and 1168 deletions

View File

@@ -1,24 +0,0 @@
#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