STM32F479xx HAL User Manual
|
management functions More...
Functions | |
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. | |
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. | |
HAL_StatusTypeDef | HAL_SD_GetCardStatus (SD_HandleTypeDef *hsd, HAL_SD_CardStatusTypeDef *pStatus) |
Gets the SD status info. | |
HAL_StatusTypeDef | HAL_SD_GetCardInfo (SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypeDef *pCardInfo) |
Gets the SD card info. | |
HAL_StatusTypeDef | HAL_SD_ConfigWideBusOperation (SD_HandleTypeDef *hsd, uint32_t WideMode) |
Enables wide bus operation for the requested card if supported by card. | |
HAL_SD_CardStateTypeDef | HAL_SD_GetCardState (SD_HandleTypeDef *hsd) |
Gets the current sd card data state. | |
HAL_StatusTypeDef | HAL_SD_Abort (SD_HandleTypeDef *hsd) |
Abort the current transfer and disable the SD. | |
HAL_StatusTypeDef | HAL_SD_Abort_IT (SD_HandleTypeDef *hsd) |
Abort the current transfer and disable the SD (IT mode). |
management functions
============================================================================== ##### Peripheral Control functions ##### ============================================================================== [..] This subsection provides a set of functions allowing to control the SD card operations and get the related information
HAL_StatusTypeDef HAL_SD_Abort | ( | SD_HandleTypeDef * | hsd | ) |
Abort the current transfer and disable the SD.
hsd,: | pointer to a SD_HandleTypeDef structure that contains the configuration information for SD module. |
HAL | status |
Definition at line 2339 of file stm32f4xx_hal_sd.c.
References HAL_DMA_Abort(), and HAL_SD_GetCardState().
HAL_StatusTypeDef HAL_SD_Abort_IT | ( | SD_HandleTypeDef * | hsd | ) |
Abort the current transfer and disable the SD (IT mode).
hsd,: | pointer to a SD_HandleTypeDef structure that contains the configuration information for SD module. |
HAL | status |
Definition at line 2403 of file stm32f4xx_hal_sd.c.
References HAL_DMA_Abort_IT(), HAL_SD_AbortCallback(), HAL_SD_GetCardState(), SD_DMARxAbort(), and SD_DMATxAbort().
HAL_StatusTypeDef HAL_SD_ConfigWideBusOperation | ( | SD_HandleTypeDef * | hsd, |
uint32_t | WideMode | ||
) |
Enables wide bus operation for the requested card if supported by card.
hsd,: | Pointer to SD handle |
WideMode,: | Specifies the SD card wide bus mode This parameter can be one of the following values:
|
HAL | status |
Definition at line 2234 of file stm32f4xx_hal_sd.c.
References assert_param, __SAI_HandleTypeDef::Init, SD_WideBus_Disable(), and SD_WideBus_Enable().
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.
hsd,: | Pointer to SD handle |
pCID,: | Pointer to a HAL_SD_CardCIDTypeDef structure that contains all CID register parameters |
HAL | status |
Definition at line 2002 of file stm32f4xx_hal_sd.c.
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.
hsd,: | Pointer to SD handle |
pCSD,: | Pointer to a HAL_SD_CardCSDTypeDef structure that contains all CSD register parameters |
HAL | status |
< Reserved
Definition at line 2035 of file stm32f4xx_hal_sd.c.
Referenced by SD_InitCard().
HAL_StatusTypeDef HAL_SD_GetCardInfo | ( | SD_HandleTypeDef * | hsd, |
HAL_SD_CardInfoTypeDef * | pCardInfo | ||
) |
Gets the SD card info.
hsd,: | Pointer to SD handle |
pCardInfo,: | Pointer to the HAL_SD_CardInfoTypeDef structure that will contain the SD card status information |
HAL | status |
Definition at line 2209 of file stm32f4xx_hal_sd.c.
HAL_SD_CardStateTypeDef HAL_SD_GetCardState | ( | SD_HandleTypeDef * | hsd | ) |
Gets the current sd card data state.
hsd,: | pointer to SD handle |
Card | state |
Definition at line 2316 of file stm32f4xx_hal_sd.c.
References SD_SendStatus().
Referenced by HAL_SD_Abort(), HAL_SD_Abort_IT(), SD_DMAError(), SD_DMARxAbort(), and SD_DMATxAbort().
HAL_StatusTypeDef HAL_SD_GetCardStatus | ( | SD_HandleTypeDef * | hsd, |
HAL_SD_CardStatusTypeDef * | pStatus | ||
) |
Gets the SD status info.
hsd,: | Pointer to SD handle |
pStatus,: | Pointer to the HAL_SD_CardStatusTypeDef structure that will contain the SD card status information |
HAL | status |
Definition at line 2149 of file stm32f4xx_hal_sd.c.
References SD_SendSDStatus().