STM32H735xx 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_INVALID_CALLBACK SDMMC_ERROR_INVALID_PARAMETER |
#define HAL_SD_ERROR_ADDR_MISALIGNED SDMMC_ERROR_ADDR_MISALIGNED |
Misaligned address
Definition at line 316 of file stm32h7xx_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 338 of file stm32h7xx_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(), HAL_SD_WriteBlocks_IT(), HAL_SDEx_ReadBlocksDMAMultiBuffer(), and HAL_SDEx_WriteBlocksDMAMultiBuffer().
#define HAL_SD_ERROR_AKE_SEQ_ERR SDMMC_ERROR_AKE_SEQ_ERR |
Error in sequence of authentication
Definition at line 336 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_BAD_ERASE_PARAM SDMMC_ERROR_BAD_ERASE_PARAM |
An invalid selection for erase groups
Definition at line 320 of file stm32h7xx_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 317 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_BUSY SDMMC_ERROR_BUSY |
Error when transfer process is busy
Definition at line 342 of file stm32h7xx_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 333 of file stm32h7xx_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 326 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_CC_ERR SDMMC_ERROR_CC_ERR |
Internal card controller error
Definition at line 327 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_CID_CSD_OVERWRITE SDMMC_ERROR_CID_CSD_OVERWRITE |
CID/CSD overwrite error
Definition at line 331 of file stm32h7xx_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 310 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_CMD_RSP_TIMEOUT SDMMC_ERROR_CMD_RSP_TIMEOUT |
Command response timeout
Definition at line 312 of file stm32h7xx_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 324 of file stm32h7xx_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 311 of file stm32h7xx_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 313 of file stm32h7xx_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 343 of file stm32h7xx_hal_sd.h.
#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 334 of file stm32h7xx_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 319 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_GENERAL_UNKNOWN_ERR SDMMC_ERROR_GENERAL_UNKNOWN_ERR |
General or unknown error
Definition at line 328 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_ILLEGAL_CMD SDMMC_ERROR_ILLEGAL_CMD |
Command is not legal for the card state
Definition at line 325 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_INVALID_CALLBACK SDMMC_ERROR_INVALID_PARAMETER |
Invalid callback error
Definition at line 347 of file stm32h7xx_hal_sd.h.
Referenced by HAL_SD_RegisterCallback(), and HAL_SD_UnRegisterCallback().
#define HAL_SD_ERROR_INVALID_VOLTRANGE SDMMC_ERROR_INVALID_VOLTRANGE |
Error in case of invalid voltage range
Definition at line 337 of file stm32h7xx_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 322 of file stm32h7xx_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 309 of file stm32h7xx_hal_sd.h.
Referenced by HAL_SD_Abort(), HAL_SD_Abort_IT(), HAL_SD_ConfigSpeedBusOperation(), HAL_SD_ConfigWideBusOperation(), HAL_SD_DeInit(), HAL_SD_Erase(), HAL_SD_GetCardState(), HAL_SD_GetCardStatus(), HAL_SD_Init(), 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(), HAL_SDEx_ReadBlocksDMAMultiBuffer(), HAL_SDEx_WriteBlocksDMAMultiBuffer(), SD_FindSCR(), SD_HighSpeed(), 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 340 of file stm32h7xx_hal_sd.h.
Referenced by HAL_SD_ConfigSpeedBusOperation(), 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 339 of file stm32h7xx_hal_sd.h.
Referenced by HAL_SD_Erase(), SD_HighSpeed(), 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 315 of file stm32h7xx_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 329 of file stm32h7xx_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 330 of file stm32h7xx_hal_sd.h.
#define HAL_SD_ERROR_TIMEOUT SDMMC_ERROR_TIMEOUT |
Timeout error
Definition at line 344 of file stm32h7xx_hal_sd.h.
Referenced by HAL_SD_ConfigSpeedBusOperation(), HAL_SD_Init(), HAL_SD_ReadBlocks(), SD_FindSCR(), SD_HighSpeed(), SD_InitCard(), SD_PowerON(), and SD_SendSDStatus().
#define HAL_SD_ERROR_TX_UNDERRUN SDMMC_ERROR_TX_UNDERRUN |
Transmit FIFO underrun
Definition at line 314 of file stm32h7xx_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 341 of file stm32h7xx_hal_sd.h.
Referenced by HAL_SD_ConfigSpeedBusOperation(), HAL_SD_ConfigWideBusOperation(), HAL_SD_GetCardCSD(), SD_InitCard(), and SD_PowerON().
#define HAL_SD_ERROR_WP_ERASE_SKIP SDMMC_ERROR_WP_ERASE_SKIP |
Only partial address space was erased
Definition at line 332 of file stm32h7xx_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 321 of file stm32h7xx_hal_sd.h.