L4 HAL Drivers

Embed: (wiki syntax)

« Back to documentation index

SD_Exported_Functions_Group4

SD_Exported_Functions_Group4
[SD_Exported_Functions]

Peripheral State functions. More...

Functions

HAL_SD_ErrorTypedef HAL_SD_SendSDStatus (SD_HandleTypeDef *hsd, uint32_t *pSDstatus)
 Returns the current SD card's status.
HAL_SD_TransferStateTypedef HAL_SD_GetStatus (SD_HandleTypeDef *hsd)
 Gets the current sd card data status.
HAL_SD_ErrorTypedef HAL_SD_GetCardStatus (SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypedef *pCardStatus)
 Gets the SD card status.

Detailed Description

Peripheral State functions.

  ==============================================================================
                      ##### Peripheral State functions #####
  ==============================================================================  
  [..]
    This subsection permits to get in runtime the status of the peripheral 
    and the data flow.


Function Documentation

HAL_SD_ErrorTypedef HAL_SD_GetCardStatus ( SD_HandleTypeDef *  hsd,
HAL_SD_CardStatusTypedef *  pCardStatus 
)

Gets the SD card status.

Parameters:
hsd,:SD handle
pCardStatus,:Pointer to the HAL_SD_CardStatusTypedef structure that will contain the SD card status information
Return values:
SDCard error state

Definition at line 2085 of file stm32l4xx_hal_sd.c.

HAL_SD_TransferStateTypedef HAL_SD_GetStatus ( SD_HandleTypeDef *  hsd )

Gets the current sd card data status.

Parameters:
hsd,:SD handle
Return values:
DataTransfer state

Definition at line 2056 of file stm32l4xx_hal_sd.c.

HAL_SD_ErrorTypedef HAL_SD_SendSDStatus ( SD_HandleTypeDef *  hsd,
uint32_t *  pSDstatus 
)

Returns the current SD card's status.

Parameters:
hsd,:SD handle
pSDstatus,:Pointer to the buffer that will contain the SD card status SD Status register)
Return values:
SDCard error state

Definition at line 1928 of file stm32l4xx_hal_sd.c.