#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__ */