初始版本

This commit is contained in:
2026-05-14 18:22:49 +08:00
parent 788329d50e
commit d04067afda
92 changed files with 30817 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef __SD_DISKIO__
#define __SD_DISKIO__
/* C binding of definitions if building with C++ compiler */
#ifdef __cplusplus
extern "C"
{
#endif
/* Include files */
#include "hc32_common.h"
#include "ff.h"
#include "diskio.h"
/* Global function prototypes (definition in C source) */
DSTATUS SD_Status (BYTE);
DSTATUS SD_Initialize (BYTE);
DRESULT SD_Read (BYTE, BYTE*, DWORD, UINT);
DRESULT SD_Write (BYTE, const BYTE*, DWORD, UINT);
DRESULT SD_Ioctl (BYTE, BYTE, void*);
#ifdef __cplusplus
}
#endif
#endif /* __SD_DISKIO__ */