STM32F439xx HAL User Manual
|
Defines | |
#define | HAL_SD_ERROR_NONE SDMMC_ERROR_NONE |
#define | HAL_SD_ERROR_CMD_CRC_FAIL SDMMC_ERROR_CMD_CRC_FAIL |
#define | HAL_SD_ERROR_DATA_CRC_FAIL SDMMC_ERROR_DATA_CRC_FAIL |
#define | HAL_SD_ERROR_CMD_RSP_TIMEOUT SDMMC_ERROR_CMD_RSP_TIMEOUT |
#define | HAL_SD_ERROR_DATA_TIMEOUT SDMMC_ERROR_DATA_TIMEOUT |
#define | HAL_SD_ERROR_TX_UNDERRUN SDMMC_ERROR_TX_UNDERRUN |
#define | HAL_SD_ERROR_RX_OVERRUN SDMMC_ERROR_RX_OVERRUN |
#define | HAL_SD_ERROR_ADDR_MISALIGNED SDMMC_ERROR_ADDR_MISALIGNED |
#define | HAL_SD_ERROR_BLOCK_LEN_ERR SDMMC_ERROR_BLOCK_LEN_ERR |
#define | HAL_SD_ERROR_ERASE_SEQ_ERR SDMMC_ERROR_ERASE_SEQ_ERR |
#define | HAL_SD_ERROR_BAD_ERASE_PARAM SDMMC_ERROR_BAD_ERASE_PARAM |
#define | HAL_SD_ERROR_WRITE_PROT_VIOLATION SDMMC_ERROR_WRITE_PROT_VIOLATION |
#define | HAL_SD_ERROR_LOCK_UNLOCK_FAILED SDMMC_ERROR_LOCK_UNLOCK_FAILED |
#define | HAL_SD_ERROR_COM_CRC_FAILED SDMMC_ERROR_COM_CRC_FAILED |
#define | HAL_SD_ERROR_ILLEGAL_CMD SDMMC_ERROR_ILLEGAL_CMD |
#define | HAL_SD_ERROR_CARD_ECC_FAILED SDMMC_ERROR_CARD_ECC_FAILED |
#define | HAL_SD_ERROR_CC_ERR SDMMC_ERROR_CC_ERR |
#define | HAL_SD_ERROR_GENERAL_UNKNOWN_ERR SDMMC_ERROR_GENERAL_UNKNOWN_ERR |
#define | HAL_SD_ERROR_STREAM_READ_UNDERRUN SDMMC_ERROR_STREAM_READ_UNDERRUN |
#define | HAL_SD_ERROR_STREAM_WRITE_OVERRUN SDMMC_ERROR_STREAM_WRITE_OVERRUN |
#define | HAL_SD_ERROR_CID_CSD_OVERWRITE SDMMC_ERROR_CID_CSD_OVERWRITE |
#define | HAL_SD_ERROR_WP_ERASE_SKIP SDMMC_ERROR_WP_ERASE_SKIP |
#define | HAL_SD_ERROR_CARD_ECC_DISABLED SDMMC_ERROR_CARD_ECC_DISABLED |
#define | HAL_SD_ERROR_ERASE_RESET SDMMC_ERROR_ERASE_RESET |
#define | HAL_SD_ERROR_AKE_SEQ_ERR SDMMC_ERROR_AKE_SEQ_ERR |
#define | HAL_SD_ERROR_INVALID_VOLTRANGE SDMMC_ERROR_INVALID_VOLTRANGE |
#define | HAL_SD_ERROR_ADDR_OUT_OF_RANGE SDMMC_ERROR_ADDR_OUT_OF_RANGE |
#define | HAL_SD_ERROR_REQUEST_NOT_APPLICABLE SDMMC_ERROR_REQUEST_NOT_APPLICABLE |
#define | HAL_SD_ERROR_PARAM SDMMC_ERROR_INVALID_PARAMETER |
#define | HAL_SD_ERROR_UNSUPPORTED_FEATURE SDMMC_ERROR_UNSUPPORTED_FEATURE |
#define | HAL_SD_ERROR_BUSY SDMMC_ERROR_BUSY |
#define | HAL_SD_ERROR_DMA SDMMC_ERROR_DMA |
#define | HAL_SD_ERROR_TIMEOUT SDMMC_ERROR_TIMEOUT |
#define HAL_SD_ERROR_ADDR_MISALIGNED SDMMC_ERROR_ADDR_MISALIGNED |
Misaligned address
Definition at line 285 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_ADDR_OUT_OF_RANGE SDMMC_ERROR_ADDR_OUT_OF_RANGE |
Error when addressed block is out of range
Definition at line 307 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Erase(), HAL_SD_ReadBlocks(), HAL_SD_ReadBlocks_DMA(), HAL_SD_ReadBlocks_IT(), HAL_SD_WriteBlocks(), HAL_SD_WriteBlocks_DMA(), and HAL_SD_WriteBlocks_IT().
#define HAL_SD_ERROR_AKE_SEQ_ERR SDMMC_ERROR_AKE_SEQ_ERR |
Error in sequence of authentication
Definition at line 305 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_BAD_ERASE_PARAM SDMMC_ERROR_BAD_ERASE_PARAM |
An invalid selection for erase groups
Definition at line 289 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_BLOCK_LEN_ERR SDMMC_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
Definition at line 286 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_BUSY SDMMC_ERROR_BUSY |
Error when transfer process is busy
Definition at line 311 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ReadBlocks(), and HAL_SD_WriteBlocks().
#define HAL_SD_ERROR_CARD_ECC_DISABLED SDMMC_ERROR_CARD_ECC_DISABLED |
Command has been executed without using internal ECC
Definition at line 302 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CARD_ECC_FAILED SDMMC_ERROR_CARD_ECC_FAILED |
Card internal ECC was applied but failed to correct the data
Definition at line 295 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CC_ERR SDMMC_ERROR_CC_ERR |
Internal card controller error
Definition at line 296 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CID_CSD_OVERWRITE SDMMC_ERROR_CID_CSD_OVERWRITE |
CID/CSD overwrite error
Definition at line 300 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CMD_CRC_FAIL SDMMC_ERROR_CMD_CRC_FAIL |
Command response received (but CRC check failed)
Definition at line 279 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CMD_RSP_TIMEOUT SDMMC_ERROR_CMD_RSP_TIMEOUT |
Command response timeout
Definition at line 281 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_COM_CRC_FAILED SDMMC_ERROR_COM_CRC_FAILED |
CRC check of the previous command failed
Definition at line 293 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_DATA_CRC_FAIL SDMMC_ERROR_DATA_CRC_FAIL |
Data block sent/received (CRC check failed)
Definition at line 280 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_IRQHandler(), HAL_SD_ReadBlocks(), HAL_SD_WriteBlocks(), SD_FindSCR(), and SD_SendSDStatus().
#define HAL_SD_ERROR_DATA_TIMEOUT SDMMC_ERROR_DATA_TIMEOUT |
Data timeout
Definition at line 282 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_IRQHandler(), HAL_SD_ReadBlocks(), HAL_SD_WriteBlocks(), SD_FindSCR(), and SD_SendSDStatus().
#define HAL_SD_ERROR_DMA SDMMC_ERROR_DMA |
Error while DMA transfer
Definition at line 312 of file stm32f4xx_hal_sd.h.
Referenced by SD_DMAError().
#define HAL_SD_ERROR_ERASE_RESET SDMMC_ERROR_ERASE_RESET |
Erase sequence was cleared before executing because an out of erase sequence command was received
Definition at line 303 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_ERASE_SEQ_ERR SDMMC_ERROR_ERASE_SEQ_ERR |
An error in the sequence of erase command occurs
Definition at line 288 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_GENERAL_UNKNOWN_ERR SDMMC_ERROR_GENERAL_UNKNOWN_ERR |
General or unknown error
Definition at line 297 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_ILLEGAL_CMD SDMMC_ERROR_ILLEGAL_CMD |
Command is not legal for the card state
Definition at line 294 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_INVALID_VOLTRANGE SDMMC_ERROR_INVALID_VOLTRANGE |
Error in case of invalid voltage range
Definition at line 306 of file stm32f4xx_hal_sd.h.
Referenced by SD_PowerON().
#define HAL_SD_ERROR_LOCK_UNLOCK_FAILED SDMMC_ERROR_LOCK_UNLOCK_FAILED |
Sequence or password error has been detected in unlock command or if there was an attempt to access a locked card
Definition at line 291 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Erase(), SD_SendSDStatus(), SD_WideBus_Disable(), and SD_WideBus_Enable().
#define HAL_SD_ERROR_NONE SDMMC_ERROR_NONE |
No error
Definition at line 278 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Abort(), HAL_SD_Abort_IT(), HAL_SD_ConfigWideBusOperation(), HAL_SD_DeInit(), HAL_SD_Erase(), HAL_SD_GetCardState(), HAL_SD_GetCardStatus(), HAL_SD_InitCard(), HAL_SD_IRQHandler(), HAL_SD_ReadBlocks(), HAL_SD_ReadBlocks_DMA(), HAL_SD_ReadBlocks_IT(), HAL_SD_WriteBlocks(), HAL_SD_WriteBlocks_DMA(), HAL_SD_WriteBlocks_IT(), SD_DMAReceiveCplt(), SD_DMARxAbort(), SD_DMATxAbort(), SD_FindSCR(), SD_InitCard(), SD_PowerON(), SD_SendSDStatus(), SD_SendStatus(), SD_WideBus_Disable(), and SD_WideBus_Enable().
#define HAL_SD_ERROR_PARAM SDMMC_ERROR_INVALID_PARAMETER |
the used parameter is not valid
Definition at line 309 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ConfigWideBusOperation(), HAL_SD_Erase(), HAL_SD_ReadBlocks(), HAL_SD_ReadBlocks_DMA(), HAL_SD_ReadBlocks_IT(), HAL_SD_WriteBlocks(), HAL_SD_WriteBlocks_DMA(), HAL_SD_WriteBlocks_IT(), and SD_SendStatus().
#define HAL_SD_ERROR_REQUEST_NOT_APPLICABLE SDMMC_ERROR_REQUEST_NOT_APPLICABLE |
Error when command request is not applicable
Definition at line 308 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Erase(), SD_InitCard(), SD_WideBus_Disable(), and SD_WideBus_Enable().
#define HAL_SD_ERROR_RX_OVERRUN SDMMC_ERROR_RX_OVERRUN |
Receive FIFO overrun
Definition at line 284 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_IRQHandler(), HAL_SD_ReadBlocks(), SD_FindSCR(), and SD_SendSDStatus().
#define HAL_SD_ERROR_STREAM_READ_UNDERRUN SDMMC_ERROR_STREAM_READ_UNDERRUN |
The card could not sustain data reading in stream rmode
Definition at line 298 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_STREAM_WRITE_OVERRUN SDMMC_ERROR_STREAM_WRITE_OVERRUN |
The card could not sustain data programming in stream mode
Definition at line 299 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_TIMEOUT SDMMC_ERROR_TIMEOUT |
Timeout error
Definition at line 313 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ReadBlocks(), SD_FindSCR(), and SD_SendSDStatus().
#define HAL_SD_ERROR_TX_UNDERRUN SDMMC_ERROR_TX_UNDERRUN |
Transmit FIFO underrun
Definition at line 283 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_IRQHandler(), and HAL_SD_WriteBlocks().
#define HAL_SD_ERROR_UNSUPPORTED_FEATURE SDMMC_ERROR_UNSUPPORTED_FEATURE |
Error when feature is not insupported
Definition at line 310 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ConfigWideBusOperation(), HAL_SD_GetCardCSD(), and SD_PowerON().
#define HAL_SD_ERROR_WP_ERASE_SKIP SDMMC_ERROR_WP_ERASE_SKIP |
Only partial address space was erased
Definition at line 301 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_WRITE_PROT_VIOLATION SDMMC_ERROR_WRITE_PROT_VIOLATION |
Attempt to program a write protect block
Definition at line 290 of file stm32f4xx_hal_sd.h.