HAL_SD_Abort
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_SD_Abort_IT
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.
41.3 SD Firmware driver defines
41.3.1 SD
SD Error status enumeration Structure definition
HAL_SD_ERROR_CMD_CRC_FAIL
Command response received (but
CRC check failed)
HAL_SD_ERROR_DATA_CRC_FAIL
Data block sent/received (CRC
check failed)
HAL_SD_ERROR_CMD_RSP_TIMEOUT
HAL_SD_ERROR_DATA_TIMEOUT
HAL_SD_ERROR_ADDR_MISALIGNED
HAL_SD_ERROR_BLOCK_LEN_ERR
Transferred block length is not
allowed for the card or the number of
transferred bytes does not match the
block length
HAL_SD_ERROR_ERASE_SEQ_ERR
An error in the sequence of erase
command occurs
HAL_SD_ERROR_BAD_ERASE_PARAM
An invalid selection for erase groups
HAL_SD_ERROR_WRITE_PROT_VIOLATION
Attempt to program a write protect
block
HAL_SD_ERROR_LOCK_UNLOCK_FAILED
Sequence or password error has
been detected in unlock command or
if there was an attempt to access a