Go to the source code of this file.
Defines |
| #define | STA_NOINIT 0x01 |
| #define | STA_NODISK 0x02 |
| #define | STA_PROTECT 0x04 |
| #define | CTRL_SYNC 0 |
| #define | GET_SECTOR_COUNT 1 |
| #define | GET_SECTOR_SIZE 2 |
| #define | GET_BLOCK_SIZE 3 |
Typedefs |
| typedef unsigned char | DSTATUS |
Enumerations |
| enum | DRESULT {
RES_OK = 0,
RES_ERROR,
RES_WRPRT,
RES_NOTRDY,
RES_PARERR
} |
Functions |
| int | assign_drives (int, int) |
| DSTATUS | disk_initialize (unsigned char) |
| DSTATUS | disk_status (unsigned char) |
| DRESULT | disk_read (unsigned char, unsigned char *, DWORD, unsigned char) |
| DRESULT | disk_write (unsigned char, const unsigned char *, DWORD, unsigned char) |
| DRESULT | disk_ioctl (unsigned char, unsigned char, void *) |
Define Documentation
| #define GET_SECTOR_COUNT 1 |
| #define GET_SECTOR_SIZE 2 |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
| RES_OK |
|
| RES_ERROR |
|
| RES_WRPRT |
|
| RES_NOTRDY |
|
| RES_PARERR |
|
Function Documentation
| int assign_drives |
( |
int |
, |
|
|
int |
|
|
) |
| |
| DSTATUS disk_initialize |
( |
unsigned |
char | ) |
|
| DRESULT disk_ioctl |
( |
unsigned |
char, |
|
|
unsigned |
char, |
|
|
void * |
|
|
) |
| |
| DRESULT disk_read |
( |
unsigned |
char, |
|
|
unsigned char * |
, |
|
|
DWORD |
, |
|
|
unsigned |
char |
|
) |
| |
| DSTATUS disk_status |
( |
unsigned |
char | ) |
|
| DRESULT disk_write |
( |
unsigned |
char, |
|
|
const unsigned char * |
, |
|
|
DWORD |
, |
|
|
unsigned |
char |
|
) |
| |