Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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:
- 
  SD Card error state 
Definition at line 2111 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:
- 
  Data Transfer state 
Definition at line 2082 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:
- 
  SD Card error state 
Definition at line 1954 of file stm32l4xx_hal_sd.c.
Generated on Tue Jul 12 2022 11:00:17 by
 1.7.2
 1.7.2