STM32F439xx HAL User Manual
Functions
Perioheral Abort management
SD Exported Functions

Functions

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).

Function Documentation

HAL_StatusTypeDef HAL_SD_Abort ( SD_HandleTypeDef hsd)

Abort the current transfer and disable the SD.

Parameters:
hsdpointer to a SD_HandleTypeDef structure that contains the configuration information for SD module.
Return values:
HALstatus

Definition at line 2168 of file stm32f4xx_hal_sd.c.

References __HAL_SD_CLEAR_FLAG, __HAL_SD_DISABLE_IT, SD_HandleTypeDef::ErrorCode, HAL_DMA_Abort(), HAL_SD_CARD_RECEIVING, HAL_SD_CARD_SENDING, HAL_SD_ERROR_NONE, HAL_SD_GetCardState(), HAL_SD_STATE_READY, SD_HandleTypeDef::hdmarx, SD_HandleTypeDef::hdmatx, SD_HandleTypeDef::Instance, and SD_HandleTypeDef::State.

HAL_StatusTypeDef HAL_SD_Abort_IT ( SD_HandleTypeDef hsd)