仓库迁移

This commit is contained in:
andy
2023-06-10 11:52:00 +08:00
parent e4616bfae5
commit 077c27f2bb
499 changed files with 199745 additions and 92 deletions

28
source/interface/if_rtt.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef if_rtt_h__
#define if_rtt_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);
}rtt_typedef;
rtt_typedef *rtt(void);
#endif