HAL SD Generic Driver
41.2.2
Initialization and de-initialization functions
This section provides functions allowing to initialize/de-initialize the SD card device to be
ready for use.
This section contains the following APIs:
HAL_SD_Init()
HAL_SD_InitCard()
HAL_SD_DeInit()
HAL_SD_MspInit()
HAL_SD_MspDeInit()
41.2.3
IO operation functions
This subsection provides a set of functions allowing to manage the data transfer from/to
SD card.
This section contains the following APIs:
HAL_SD_ReadBlocks()
HAL_SD_WriteBlocks()
HAL_SD_ReadBlocks_IT()
HAL_SD_WriteBlocks_IT()
HAL_SD_ReadBlocks_DMA()
HAL_SD_WriteBlocks_DMA()
HAL_SD_Erase()
HAL_SD_IRQHandler()
HAL_SD_GetState()
HAL_SD_GetError()
HAL_SD_TxCpltCallback()
HAL_SD_RxCpltCallback()
HAL_SD_ErrorCallback()
HAL_SD_AbortCallback()
41.2.4
Peripheral Control functions
This subsection provides a set of functions allowing to control the SD card operations and
get the related information
This section contains the following APIs:
HAL_SD_GetCardCID()
HAL_SD_GetCardCSD()
HAL_SD_GetCardStatus()
HAL_SD_GetCardInfo()
HAL_SD_ConfigWideBusOperation()
HAL_SD_GetCardState()
HAL_SD_Abort()
HAL_SD_Abort_IT()
516/1371
You can refer to the SD HAL driver header file for more useful macros
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers