STM32F439xx HAL User Manual
Functions
Peripheral State and Errors functions
SD Exported Functions

Functions

HAL_SD_StateTypeDef HAL_SD_GetState (SD_HandleTypeDef *hsd)
 return the SD state
uint32_t HAL_SD_GetError (SD_HandleTypeDef *hsd)
 Return the SD error code.

Function Documentation

uint32_t HAL_SD_GetError ( SD_HandleTypeDef hsd)

Return the SD error code.

Parameters:
hsdPointer to a SD_HandleTypeDef structure that contains the configuration information.
Return values:
SDError Code

Definition at line 1639 of file stm32f4xx_hal_sd.c.

References SD_HandleTypeDef::ErrorCode.

return the SD state

Parameters:
hsdPointer to sd handle
Return values:
HALstate

Definition at line 1628 of file stm32f4xx_hal_sd.c.

References SD_HandleTypeDef::State.