Go to the source code of this file.
|
DRESULT | SD_ConvertErr (SD_Error error) |
| Convert error codes from SD_Error to DRESULT. More...
|
|
NODEBUG DSTATUS | disk_initialize (BYTE drv) |
|
NODEBUG DSTATUS | disk_status (BYTE drv) |
|
NODEBUG DRESULT | disk_read (BYTE drv, BYTE *buff, DWORD sector, BYTE count) |
|
NODEBUG DRESULT | disk_write (BYTE drv, const BYTE *buff, DWORD sector, BYTE count) |
|
NODEBUG DWORD | get_fattime () |
|
NODEBUG int8_t | STORAGE_GetCapacity (uint8_t lun, uint32_t *block_num, uint32_t *block_size) |
|
NODEBUG DRESULT | disk_ioctl (BYTE drv, BYTE ctrl, void *buff) |
|
NODEBUG DSTATUS disk_initialize |
( |
BYTE |
drv) | |
|
NODEBUG DRESULT disk_ioctl |
( |
BYTE |
drv, |
|
|
BYTE |
ctrl, |
|
|
void * |
buff |
|
) |
| |
NODEBUG DRESULT disk_read |
( |
BYTE |
drv, |
|
|
BYTE * |
buff, |
|
|
DWORD |
sector, |
|
|
BYTE |
count |
|
) |
| |
NODEBUG DSTATUS disk_status |
( |
BYTE |
drv) | |
|
NODEBUG DRESULT disk_write |
( |
BYTE |
drv, |
|
|
const BYTE * |
buff, |
|
|
DWORD |
sector, |
|
|
BYTE |
count |
|
) |
| |
NODEBUG DWORD get_fattime |
( |
) | |
|
NODEBUG DRESULT SD_ConvertErr |
( |
SD_Error |
error) | |
|
- Parameters
-
error | the error code from SD_Error |
- Return values
-
DRESULT,: | SD Card Error code. |
Definition at line 286 of file diskio.c.
NODEBUG int8_t STORAGE_GetCapacity |
( |
uint8_t |
lun, |
|
|
uint32_t * |
block_num, |
|
|
uint32_t * |
block_size |
|
) |
| |