This file includes a generic uSD card driver. To be completed by the user according to the board used for the project.
More...
|
| __weak uint8_t | BSP_SD_Init (void) |
| | Initializes the SD card device. More...
|
| |
| __weak uint8_t | BSP_SD_ITConfig (void) |
| | Configures Interrupt mode for SD detection pin. More...
|
| |
| __weak uint8_t | BSP_SD_ReadBlocks (uint32_t *pData, uint32_t ReadAddr, uint32_t NumOfBlocks, uint32_t Timeout) |
| | Reads block(s) from a specified address in an SD card, in polling mode. More...
|
| |
| __weak uint8_t | BSP_SD_WriteBlocks (uint32_t *pData, uint32_t WriteAddr, uint32_t NumOfBlocks, uint32_t Timeout) |
| | Writes block(s) to a specified address in an SD card, in polling mode. More...
|
| |
| __weak uint8_t | BSP_SD_ReadBlocks_DMA (uint32_t *pData, uint32_t ReadAddr, uint32_t NumOfBlocks) |
| | Reads block(s) from a specified address in an SD card, in DMA mode. More...
|
| |
| __weak uint8_t | BSP_SD_WriteBlocks_DMA (uint32_t *pData, uint32_t WriteAddr, uint32_t NumOfBlocks) |
| | Writes block(s) to a specified address in an SD card, in DMA mode. More...
|
| |
| __weak uint8_t | BSP_SD_Erase (uint32_t StartAddr, uint32_t EndAddr) |
| | Erases the specified memory area of the given SD card. More...
|
| |
| __weak uint8_t | BSP_SD_GetCardState (void) |
| | Gets the current SD card data status. More...
|
| |
| __weak void | BSP_SD_GetCardInfo (HAL_SD_CardInfoTypeDef *CardInfo) |
| | Get SD information about specific SD card. More...
|
| |
| void | HAL_SD_AbortCallback (SD_HandleTypeDef *hsd) |
| | SD Abort callbacks. More...
|
| |
| void | HAL_SD_TxCpltCallback (SD_HandleTypeDef *hsd) |
| | Tx Transfer completed callback. More...
|
| |
| void | HAL_SD_RxCpltCallback (SD_HandleTypeDef *hsd) |
| | Rx Transfer completed callback. More...
|
| |
| __weak void | BSP_SD_AbortCallback (void) |
| | BSP SD Abort callback. More...
|
| |
| __weak void | BSP_SD_WriteCpltCallback (void) |
| | BSP Tx Transfer completed callback. More...
|
| |
| __weak void | BSP_SD_ReadCpltCallback (void) |
| | BSP Rx Transfer completed callback. More...
|
| |
| __weak uint8_t | BSP_SD_IsDetected (void) |
| | Detects if SD card is correctly plugged in the memory slot or not. More...
|
| |
This file includes a generic uSD card driver. To be completed by the user according to the board used for the project.
for H7 (based on stm32h743i_eval_sd.c)
- Note
- Some functions generated as weak: they can be overriden by
- code in user files
- or BSP code from the FW pack files if such files are added to the generated project (by the user).
- Attention
© Copyright (c) 2021 STMicroelectronics. All rights reserved.
This software component is licensed by ST under Ultimate Liberty license SLA0044, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: www.st.com/SLA0044