UM1940
HAL_SD_Abort
Function name
Function description
Parameters
Return values
HAL_SD_Abort_IT
Function name
Function description
Parameters
Return values
41.3
SD Firmware driver defines
41.3.1
SD
SD Error status enumeration Structure definition
HAL_SD_ERROR_NONE
HAL_SD_ERROR_CMD_CRC_FAIL
HAL_SD_ERROR_DATA_CRC_FAIL
HAL_SD_ERROR_CMD_RSP_TIMEOUT
HAL_SD_ERROR_DATA_TIMEOUT
HAL_SD_ERROR_TX_UNDERRUN
HAL_SD_ERROR_RX_OVERRUN
HAL_SD_ERROR_ADDR_MISALIGNED
HAL_SD_ERROR_BLOCK_LEN_ERR
HAL_SD_ERROR_ERASE_SEQ_ERR
HAL_SD_ERROR_BAD_ERASE_PARAM
HAL_SD_ERROR_WRITE_PROT_VIOLATION
HAL_SD_ERROR_LOCK_UNLOCK_FAILED
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
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
DocID028236 Rev 2
HAL SD Generic Driver
No error
Command response received (but
CRC check failed)
Data block sent/received (CRC
check failed)
Command response timeout
Data timeout
Transmit FIFO underrun
Receive FIFO overrun
Misaligned address
Transferred block length is not
allowed for the card or the number of
transferred bytes does not match the
block length
An error in the sequence of erase
command occurs
An invalid selection for erase groups
Attempt to program a write protect
block
Sequence or password error has
been detected in unlock command or
if there was an attempt to access a
523/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers