STM32F4xx_HAL_Driver  1.8.3
SD card related functions
+ Collaboration diagram for SD card related functions:

Functions

HAL_StatusTypeDef HAL_SD_SendSDStatus (SD_HandleTypeDef *hsd, uint32_t *pSDstatus)
 
HAL_SD_CardStateTypeDef HAL_SD_GetCardState (SD_HandleTypeDef *hsd)
 Gets the current sd card data state. More...
 
HAL_StatusTypeDef HAL_SD_GetCardCID (SD_HandleTypeDef *hsd, HAL_SD_CardCIDTypeDef *pCID)
 Returns information the information of the card which are stored on the CID register. More...
 
HAL_StatusTypeDef HAL_SD_GetCardCSD (SD_HandleTypeDef *hsd, HAL_SD_CardCSDTypeDef *pCSD)
 Returns information the information of the card which are stored on the CSD register. More...
 
HAL_StatusTypeDef HAL_SD_GetCardStatus (SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus)
 Gets the SD status info. More...
 
HAL_StatusTypeDef HAL_SD_GetCardInfo (SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypeDef *pCardInfo)
 Gets the SD card info. More...
 

Detailed Description

Function Documentation

◆ HAL_SD_GetCardCID()

HAL_StatusTypeDef HAL_SD_GetCardCID ( SD_HandleTypeDef hsd,
HAL_SD_CardCIDTypeDef pCID 
)

Returns information the information of the card which are stored on the CID register.

Parameters
hsdPointer to SD handle
pCIDPointer to a HAL_SD_CardCIDTypeDef structure that
contains all CID register parameters
Return values
HALstatus

Definition at line 2013 of file stm32f4xx_hal_sd.c.

◆ HAL_SD_GetCardCSD()

HAL_StatusTypeDef HAL_SD_GetCardCSD ( SD_HandleTypeDef hsd,
HAL_SD_CardCSDTypeDef pCSD 
)

Returns information the information of the card which are stored on the CSD register.

Parameters
hsdPointer to SD handle
pCSDPointer to a HAL_SD_CardCSDTypeDef structure that
contains all CSD register parameters
Return values
HALstatus

< Reserved

Definition at line 2046 of file stm32f4xx_hal_sd.c.

◆ HAL_SD_GetCardInfo()

HAL_StatusTypeDef HAL_SD_GetCardInfo ( SD_HandleTypeDef hsd,
HAL_SD_CardInfoTypeDef pCardInfo 
)

Gets the SD card info.

Parameters
hsdPointer to SD handle
pCardInfoPointer to the HAL_SD_CardInfoTypeDef structure that will contain the SD card status information
Return values
HALstatus

Definition at line 2220 of file stm32f4xx_hal_sd.c.

◆ HAL_SD_GetCardState()

HAL_SD_CardStateTypeDef HAL_SD_GetCardState ( SD_HandleTypeDef hsd)

Gets the current sd card data state.

Parameters
hsdpointer to SD handle
Return values
Cardstate

Definition at line 2327 of file stm32f4xx_hal_sd.c.

◆ HAL_SD_GetCardStatus()

HAL_StatusTypeDef HAL_SD_GetCardStatus ( SD_HandleTypeDef hsd,
HAL_SD_CardStatusTypeDef pStatus 
)

Gets the SD status info.

Parameters
hsdPointer to SD handle
pStatusPointer to the HAL_SD_CardStatusTypeDef structure that will contain the SD card status information
Return values
HALstatus

Definition at line 2160 of file stm32f4xx_hal_sd.c.