Macros | Functions
diskio.c File Reference
#include "diskio.h"
#include "usbdisk.h"
#include "atadrive.h"
#include "sdcard.h"
+ Include dependency graph for diskio.c:

Macros

#define ATA   0 /* Example: Map ATA harddisk to physical drive 0 */
 
#define MMC   1 /* Example: Map MMC/SD card to physical drive 1 */
 
#define USB   2 /* Example: Map USB MSD to physical drive 2 */
 

Functions

DSTATUS disk_initialize (BYTE pdrv)
 The disk_initialize function initializes the storage device. More...
 
DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void *buff)
 The disk_ioctl function cntrols device specific features and miscellaneous functions other than generic read/write. More...
 
DRESULT disk_read (BYTE pdrv, BYTE *buff, DWORD sector, UINT count)
 The disk_read function reads sector(s) from the storage device. More...
 
DSTATUS disk_status (BYTE pdrv)
 The disk_status function returns the current drive status. More...
 
DRESULT disk_write (BYTE pdrv, const BYTE *buff, DWORD sector, UINT count)
 The disk_write writes sector(s) to the storage device. More...
 

Macro Definition Documentation

#define ATA   0 /* Example: Map ATA harddisk to physical drive 0 */
#define MMC   1 /* Example: Map MMC/SD card to physical drive 1 */
#define USB   2 /* Example: Map USB MSD to physical drive 2 */

This documentation file has been automatically generated on Wed May 6 2020 20:45:13 by doxygen 1.8.8