# modules/fatfs/src/diskio.c File Reference

`#include "mios32.h"`
`#include "diskio.h"`

## Defines
#define | FALSE 0
#define | TRUE 1
#define | DEBUG_VERBOSE_LEVEL 1
#define | SDCARD 0
## Functions
DSTATUS | disk_initialize (BYTE drv)
DSTATUS | disk_status (BYTE drv)
DRESULT | disk_read (BYTE drv, BYTE *buff, DWORD sector, BYTE count)
DRESULT | disk_write (BYTE drv, const BYTE *buff, DWORD sector, BYTE count)
DRESULT | disk_ioctl (BYTE drv, BYTE ctrl, void *buff)
DWORD | __attribute__ ((weak))

## Define Documentation

#define DEBUG_VERBOSE_LEVEL 1

#define FALSE 0

#define SDCARD 0

#define TRUE 1

## Function Documentation

DWORD __attribute__ | ( | (weak) |  | ) |

DSTATUS disk_initialize | ( | BYTE | drv | ) |

Here is the call graph for this function:

DRESULT disk_ioctl | ( | BYTE | drv,
|  | BYTE | ctrl,
|  | void * | buff |
| ) |  |  |

Here is the call graph for this function:

DRESULT disk_read | ( | BYTE | drv,
|  | BYTE * | buff,
|  | DWORD | sector,
|  | BYTE | count |
| ) |  |  |

Here is the call graph for this function:

DSTATUS disk_status | ( | BYTE | drv | ) |

DRESULT disk_write | ( | BYTE | drv,
|  | const BYTE * | buff,
|  | DWORD | sector,
|  | BYTE | count |
| ) |  |  |

Here is the call graph for this function: