L4 HAL Drivers
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 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:
-
Data Transfer 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:
-
SD Card error state
Definition at line 1928 of file stm32l4xx_hal_sd.c.
Generated on Tue Jul 12 2022 10:58:19 by 1.7.2