1 /*----------------------------------------------------------------------- 
   2 /  PFF - Low level disk interface module include file    (C)ChaN, 2010 
   3 /-----------------------------------------------------------------------*/ 
  10 /* Status of Disk Functions */ 
  14 /* Results of Disk Functions */ 
  16         RES_OK 
= 0,             /* 0: Function succeeded */ 
  17         RES_ERROR
,              /* 1: Disk error */ 
  18         RES_NOTRDY
,             /* 2: Not ready */ 
  19         RES_PARERR              
/* 3: Invalid parameter */ 
  23 /*---------------------------------------*/ 
  24 /* Prototypes for disk control functions */ 
  26 DSTATUS 
disk_initialize (void); 
  27 DRESULT 
disk_readp (BYTE
*, DWORD
, WORD
, WORD
); 
  29 #define STA_NOINIT              0x01    /* Drive not initialized */ 
  30 #define STA_NODISK              0x02    /* No medium in the drive */