|
STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
|
This file contains the SDMMC peripheral driver function prototypes for SD card initialization, read, write, and DMA transfer operations. More...
Go to the source code of this file.
Typedefs | |
| typedef HAL_SD_CardInfoTypeDef | SdCardInfo |
| typedef void(* | Callback) (void) |
Functions | |
| bool | SdmmcInit (void) |
| Initialize the SDMMC peripheral and the SD card. More... | |
| void | SdmmcDeInit (void) |
| De-initialize the SDMMC peripheral. | |
| bool | SdmmcGetCardInfo (SdCardInfo *const cardInfo) |
| Get the SD card information (capacity, block size, etc.). More... | |
| bool | SdmmcIsCardInTransferState (void) |
| Check if the SD card is in the transfer state. More... | |
| bool | SdmmcReadBlocks (uint8_t *const data, const uint32_t blockAddress, const uint32_t numOfBlocks, const uint32_t timeout) |
| Read blocks from the SD card in blocking mode. More... | |
| bool | SdmmcWriteBlocks (const uint8_t *const data, const uint32_t blockAddress, const uint32_t numOfBlocks, const uint32_t timeout) |
| Write blocks to the SD card in blocking mode. More... | |
| bool | SdmmcReadBlocksDma (uint8_t *const data, const uint32_t blockAddress, const uint32_t numOfBlocks) |
| Read blocks from the SD card using DMA. More... | |
| bool | SdmmcWriteBlocksDma (const uint8_t *const data, const uint32_t blockAddress, const uint32_t numOfBlocks) |
| Write blocks to the SD card using DMA. More... | |
| void | SdmmcRegisterRxCompleteCallback (Callback callback) |
| Register a callback for the DMA receive complete event. More... | |
| void | SdmmcRegisterTxCompleteCallback (Callback callback) |
| Register a callback for the DMA transmit complete event. More... | |
This file contains the SDMMC peripheral driver function prototypes for SD card initialization, read, write, and DMA transfer operations.
STM32 Bootloader
Definition in file sdmmc.h.