00001 #ifndef FILEH 00002 #define FILEH 00003 00004 #include "type.h" 00005 #include "ff.h" 00006 00007 void LoadFileToSSDMem(UINT32 addr, const char *fileName, UINT8 bDoBulk); 00008 FRESULT EnumDir(const char *path, UINT16 index, FILINFO *pfi); 00009 void EnumDirToConsole(const char *path); 00010 FRESULT OpenFile(FIL *pfl, const char *path, UINT8 mode); 00011 FRESULT WriteFile(FIL *pfl, const void *pData, UINT32 len); 00012 FRESULT ReadFile(FIL *pfl, const void *pData, UINT32 len, UINT8 bHex); 00013 00014 void PlayMJPEG(UINT32 videoAddr, UINT32 fifoAddr, const char *fileName, UINT32 fdelayMs); 00015 void StreamMJPEGFromUART(UINT32 videoAddr, UINT32 fifoAddr); 00016 00017 00018 #endif