Initial Commit

This commit is contained in:
ikari
2009-07-02 11:14:04 +02:00
commit e121b34cf4
60 changed files with 9256 additions and 0 deletions

18
src/fileops.h Normal file
View File

@@ -0,0 +1,18 @@
// insert cool lenghty disclaimer here
// fileops.h
#ifndef FILEOPS_H
#define FILEOPS_H
#include "ff.h"
BYTE file_buf[512];
FATFS fatfs;
FIL file_handle;
FRESULT file_res;
void file_init(void);
void file_open(char* filename, BYTE flags);
void file_close(void);
UINT file_read(void);
UINT file_write(void);
#endif