|
STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
|
This file contains the SD card disk I/O driver implementation used by the FatFs middleware for block-level read and write operations. More...
Go to the source code of this file.
Functions | |
| static void | SdReadCompleteCallback (void) |
| Callback for the SD DMA read transfer complete. | |
| static void | SdWriteCompleteCallback (void) |
| Callback for the SD DMA write transfer complete. | |
| static DSTATUS | SdDiskIoInit (BYTE pdrv) |
| Initialize the SD card disk I/O driver and register DMA callbacks. More... | |
| static DSTATUS | SdDiskIoStatus (BYTE pdrv) |
| Return the current status of the SD card. More... | |
| static DRESULT | SdDiskIoRead (BYTE pdrv, BYTE *buff, DWORD sector, UINT count) |
| Read one or more sectors from the SD card. More... | |
| static DRESULT | SdDiskIoWrite (BYTE pdrv, const BYTE *buff, DWORD sector, UINT count) |
| Write one or more sectors to the SD card. More... | |
| static DRESULT | SdDiskIoIoctl (BYTE pdrv, BYTE cmd, void *buff) |
| Perform miscellaneous disk I/O control operations on the SD card. More... | |
| const Diskio_drvTypeDef * | SdDiskIoGetDriver (void) |
| Get a pointer to the SD card disk I/O driver structure containing the initialize, status, read, write, and ioctl callbacks used by the FatFs middleware. More... | |
Variables | |
| static volatile bool | isReadComplete = false |
| static volatile bool | isWriteComplete = false |
This file contains the SD card disk I/O driver implementation used by the FatFs middleware for block-level read and write operations.
STM32 Bootloader
Definition in file sd_diskio.c.