EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #523 background imageLoading...
Page #523 background image
UM1940
HAL SD Generic Driver
DocID028236 Rev 2
523/1371
HAL_SD_Abort
Function name
HAL_StatusTypeDef HAL_SD_Abort (SD_HandleTypeDef *
hsd)
Function description
Abort the current transfer and disable the SD.
Parameters
hsd: pointer to a SD_HandleTypeDef structure that contains
the configuration information for SD module.
Return values
HAL: status
HAL_SD_Abort_IT
Function name
HAL_StatusTypeDef HAL_SD_Abort_IT (SD_HandleTypeDef *
hsd)
Function description
Abort the current transfer and disable the SD (IT mode).
Parameters
hsd: pointer to a SD_HandleTypeDef structure that contains
the configuration information for SD module.
Return values
HAL: status
41.3 SD Firmware driver defines
41.3.1 SD
SD Error status enumeration Structure definition
HAL_SD_ERROR_NONE
No error
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
Command response timeout
HAL_SD_ERROR_DATA_TIMEOUT
Data timeout
HAL_SD_ERROR_TX_UNDERRUN
Transmit FIFO underrun
HAL_SD_ERROR_RX_OVERRUN
Receive FIFO overrun
HAL_SD_ERROR_ADDR_MISALIGNED
Misaligned address
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals