18#define PF_DEFINED 8088
26#if PF_DEFINED != PFCONF_DEF
27#error Wrong configuration file (pffconf.h).
35#elif (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__cplusplus)
37typedef unsigned int UINT;
38typedef unsigned char BYTE;
40typedef uint16_t WCHAR;
41typedef uint32_t DWORD;
43typedef unsigned int UINT;
44typedef unsigned char BYTE;
45typedef unsigned short WORD;
46typedef unsigned short WCHAR;
47typedef unsigned long DWORD;
121FRESULT pf_mount (
FATFS* fs);
122FRESULT pf_open (
const char* path);
123FRESULT pf_read (
void* buff, UINT btr, UINT* br);
124FRESULT pf_write (
const void* buff, UINT btw, UINT* bw);
125FRESULT pf_lseek (DWORD ofs);
126FRESULT pf_opendir (
DIR* dj,
const char* path);
136#define FA_OPENED 0x01