STM32H735xx HAL User Manual
|
Defines | |
#define | HAL_MMC_ERROR_NONE SDMMC_ERROR_NONE |
#define | HAL_MMC_ERROR_CMD_CRC_FAIL SDMMC_ERROR_CMD_CRC_FAIL |
#define | HAL_MMC_ERROR_DATA_CRC_FAIL SDMMC_ERROR_DATA_CRC_FAIL |
#define | HAL_MMC_ERROR_CMD_RSP_TIMEOUT SDMMC_ERROR_CMD_RSP_TIMEOUT |
#define | HAL_MMC_ERROR_DATA_TIMEOUT SDMMC_ERROR_DATA_TIMEOUT |
#define | HAL_MMC_ERROR_TX_UNDERRUN SDMMC_ERROR_TX_UNDERRUN |
#define | HAL_MMC_ERROR_RX_OVERRUN SDMMC_ERROR_RX_OVERRUN |
#define | HAL_MMC_ERROR_ADDR_MISALIGNED SDMMC_ERROR_ADDR_MISALIGNED |
#define | HAL_MMC_ERROR_BLOCK_LEN_ERR SDMMC_ERROR_BLOCK_LEN_ERR |
#define | HAL_MMC_ERROR_ERASE_SEQ_ERR SDMMC_ERROR_ERASE_SEQ_ERR |
#define | HAL_MMC_ERROR_BAD_ERASE_PARAM SDMMC_ERROR_BAD_ERASE_PARAM |
#define | HAL_MMC_ERROR_WRITE_PROT_VIOLATION SDMMC_ERROR_WRITE_PROT_VIOLATION |
#define | HAL_MMC_ERROR_LOCK_UNLOCK_FAILED SDMMC_ERROR_LOCK_UNLOCK_FAILED |
#define | HAL_MMC_ERROR_COM_CRC_FAILED SDMMC_ERROR_COM_CRC_FAILED |
#define | HAL_MMC_ERROR_ILLEGAL_CMD SDMMC_ERROR_ILLEGAL_CMD |
#define | HAL_MMC_ERROR_CARD_ECC_FAILED SDMMC_ERROR_CARD_ECC_FAILED |
#define | HAL_MMC_ERROR_CC_ERR SDMMC_ERROR_CC_ERR |
#define | HAL_MMC_ERROR_GENERAL_UNKNOWN_ERR SDMMC_ERROR_GENERAL_UNKNOWN_ERR |
#define | HAL_MMC_ERROR_STREAM_READ_UNDERRUN SDMMC_ERROR_STREAM_READ_UNDERRUN |
#define | HAL_MMC_ERROR_STREAM_WRITE_OVERRUN SDMMC_ERROR_STREAM_WRITE_OVERRUN |
#define | HAL_MMC_ERROR_CID_CSD_OVERWRITE SDMMC_ERROR_CID_CSD_OVERWRITE |
#define | HAL_MMC_ERROR_WP_ERASE_SKIP SDMMC_ERROR_WP_ERASE_SKIP |
#define | HAL_MMC_ERROR_CARD_ECC_DISABLED SDMMC_ERROR_CARD_ECC_DISABLED |
#define | HAL_MMC_ERROR_ERASE_RESET SDMMC_ERROR_ERASE_RESET |
#define | HAL_MMC_ERROR_AKE_SEQ_ERR SDMMC_ERROR_AKE_SEQ_ERR |
#define | HAL_MMC_ERROR_INVALID_VOLTRANGE SDMMC_ERROR_INVALID_VOLTRANGE |
#define | HAL_MMC_ERROR_ADDR_OUT_OF_RANGE SDMMC_ERROR_ADDR_OUT_OF_RANGE |
#define | HAL_MMC_ERROR_REQUEST_NOT_APPLICABLE SDMMC_ERROR_REQUEST_NOT_APPLICABLE |
#define | HAL_MMC_ERROR_PARAM SDMMC_ERROR_INVALID_PARAMETER |
#define | HAL_MMC_ERROR_UNSUPPORTED_FEATURE SDMMC_ERROR_UNSUPPORTED_FEATURE |
#define | HAL_MMC_ERROR_BUSY SDMMC_ERROR_BUSY |
#define | HAL_MMC_ERROR_DMA SDMMC_ERROR_DMA |
#define | HAL_MMC_ERROR_TIMEOUT SDMMC_ERROR_TIMEOUT |
#define | HAL_MMC_ERROR_INVALID_CALLBACK SDMMC_ERROR_INVALID_PARAMETER |
#define HAL_MMC_ERROR_ADDR_MISALIGNED SDMMC_ERROR_ADDR_MISALIGNED |
Misaligned address
Definition at line 286 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_Erase(), HAL_MMC_EraseSequence(), HAL_MMC_ReadBlocks(), HAL_MMC_ReadBlocks_DMA(), HAL_MMC_ReadBlocks_IT(), HAL_MMC_WriteBlocks(), HAL_MMC_WriteBlocks_DMA(), HAL_MMC_WriteBlocks_IT(), HAL_MMCEx_ReadBlocksDMAMultiBuffer(), and HAL_MMCEx_WriteBlocksDMAMultiBuffer().
#define HAL_MMC_ERROR_ADDR_OUT_OF_RANGE SDMMC_ERROR_ADDR_OUT_OF_RANGE |
Error when addressed block is out of range
Definition at line 308 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_Erase(), HAL_MMC_EraseSequence(), HAL_MMC_ReadBlocks(), HAL_MMC_ReadBlocks_DMA(), HAL_MMC_ReadBlocks_IT(), HAL_MMC_WriteBlocks(), HAL_MMC_WriteBlocks_DMA(), HAL_MMC_WriteBlocks_IT(), HAL_MMCEx_ReadBlocksDMAMultiBuffer(), and HAL_MMCEx_WriteBlocksDMAMultiBuffer().
#define HAL_MMC_ERROR_AKE_SEQ_ERR SDMMC_ERROR_AKE_SEQ_ERR |
Error in sequence of authentication
Definition at line 306 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_BAD_ERASE_PARAM SDMMC_ERROR_BAD_ERASE_PARAM |
An invalid selection for erase groups
Definition at line 290 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_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 287 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_ReadBlocks(), HAL_MMC_ReadBlocks_DMA(), HAL_MMC_ReadBlocks_IT(), HAL_MMC_WriteBlocks(), HAL_MMC_WriteBlocks_DMA(), HAL_MMC_WriteBlocks_IT(), HAL_MMCEx_ReadBlocksDMAMultiBuffer(), and HAL_MMCEx_WriteBlocksDMAMultiBuffer().
#define HAL_MMC_ERROR_BUSY SDMMC_ERROR_BUSY |
Error when transfer process is busy
Definition at line 312 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_ReadBlocks(), and HAL_MMC_WriteBlocks().
#define HAL_MMC_ERROR_CARD_ECC_DISABLED SDMMC_ERROR_CARD_ECC_DISABLED |
Command has been executed without using internal ECC
Definition at line 303 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_CARD_ECC_FAILED SDMMC_ERROR_CARD_ECC_FAILED |
Card internal ECC was applied but failed to correct the data
Definition at line 296 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_CC_ERR SDMMC_ERROR_CC_ERR |
Internal card controller error
Definition at line 297 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_CID_CSD_OVERWRITE SDMMC_ERROR_CID_CSD_OVERWRITE |
CID/CSD overwrite error
Definition at line 301 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_CMD_CRC_FAIL SDMMC_ERROR_CMD_CRC_FAIL |
Command response received (but CRC check failed)
Definition at line 280 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_CMD_RSP_TIMEOUT SDMMC_ERROR_CMD_RSP_TIMEOUT |
Command response timeout
Definition at line 282 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_COM_CRC_FAILED SDMMC_ERROR_COM_CRC_FAILED |
CRC check of the previous command failed
Definition at line 294 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_DATA_CRC_FAIL SDMMC_ERROR_DATA_CRC_FAIL |
Data block sent/received (CRC check failed)
Definition at line 281 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_GetCardExtCSD(), HAL_MMC_IRQHandler(), HAL_MMC_ReadBlocks(), HAL_MMC_WriteBlocks(), and MMC_ReadExtCSD().
#define HAL_MMC_ERROR_DATA_TIMEOUT SDMMC_ERROR_DATA_TIMEOUT |
Data timeout
Definition at line 283 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_GetCardExtCSD(), HAL_MMC_IRQHandler(), HAL_MMC_ReadBlocks(), HAL_MMC_WriteBlocks(), and MMC_ReadExtCSD().
#define HAL_MMC_ERROR_DMA SDMMC_ERROR_DMA |
Error while DMA transfer
Definition at line 313 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_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 304 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_ERASE_SEQ_ERR SDMMC_ERROR_ERASE_SEQ_ERR |
An error in the sequence of erase command occurs
Definition at line 289 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_GENERAL_UNKNOWN_ERR SDMMC_ERROR_GENERAL_UNKNOWN_ERR |
General or unknown error
Definition at line 298 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_ILLEGAL_CMD SDMMC_ERROR_ILLEGAL_CMD |
Command is not legal for the card state
Definition at line 295 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_INVALID_CALLBACK SDMMC_ERROR_INVALID_PARAMETER |
Invalid callback error
Definition at line 317 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_RegisterCallback(), and HAL_MMC_UnRegisterCallback().
#define HAL_MMC_ERROR_INVALID_VOLTRANGE SDMMC_ERROR_INVALID_VOLTRANGE |
Error in case of invalid voltage range
Definition at line 307 of file stm32h7xx_hal_mmc.h.
Referenced by MMC_PowerON().
#define HAL_MMC_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 292 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_Erase(), and HAL_MMC_EraseSequence().
#define HAL_MMC_ERROR_NONE SDMMC_ERROR_NONE |
No error
Definition at line 279 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_Abort(), HAL_MMC_Abort_IT(), HAL_MMC_AwakeDevice(), HAL_MMC_ConfigSecRemovalType(), HAL_MMC_ConfigSpeedBusOperation(), HAL_MMC_ConfigWideBusOperation(), HAL_MMC_DeInit(), HAL_MMC_Erase(), HAL_MMC_EraseSequence(), HAL_MMC_GetCardExtCSD(), HAL_MMC_GetCardState(), HAL_MMC_InitCard(), HAL_MMC_IRQHandler(), HAL_MMC_ReadBlocks(), HAL_MMC_ReadBlocks_DMA(), HAL_MMC_ReadBlocks_IT(), HAL_MMC_Sanitize(), HAL_MMC_SleepDevice(), HAL_MMC_WriteBlocks(), HAL_MMC_WriteBlocks_DMA(), HAL_MMC_WriteBlocks_IT(), HAL_MMCEx_ReadBlocksDMAMultiBuffer(), HAL_MMCEx_WriteBlocksDMAMultiBuffer(), MMC_DDR_Mode(), MMC_HighSpeed(), MMC_InitCard(), MMC_PowerON(), MMC_PwrClassUpdate(), MMC_ReadExtCSD(), and MMC_SendStatus().
#define HAL_MMC_ERROR_PARAM SDMMC_ERROR_INVALID_PARAMETER |
the used parameter is not valid
Definition at line 310 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_ConfigSpeedBusOperation(), HAL_MMC_ConfigWideBusOperation(), HAL_MMC_Erase(), HAL_MMC_EraseSequence(), HAL_MMC_GetCardExtCSD(), HAL_MMC_ReadBlocks(), HAL_MMC_ReadBlocks_DMA(), HAL_MMC_ReadBlocks_IT(), HAL_MMC_WriteBlocks(), HAL_MMC_WriteBlocks_DMA(), HAL_MMC_WriteBlocks_IT(), and MMC_SendStatus().
#define HAL_MMC_ERROR_REQUEST_NOT_APPLICABLE SDMMC_ERROR_REQUEST_NOT_APPLICABLE |
Error when command request is not applicable
Definition at line 309 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_Erase(), HAL_MMC_EraseSequence(), and MMC_InitCard().
#define HAL_MMC_ERROR_RX_OVERRUN SDMMC_ERROR_RX_OVERRUN |
Receive FIFO overrun
Definition at line 285 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_GetCardExtCSD(), HAL_MMC_IRQHandler(), HAL_MMC_ReadBlocks(), and MMC_ReadExtCSD().
#define HAL_MMC_ERROR_STREAM_READ_UNDERRUN SDMMC_ERROR_STREAM_READ_UNDERRUN |
The card could not sustain data reading in stream rmode
Definition at line 299 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_STREAM_WRITE_OVERRUN SDMMC_ERROR_STREAM_WRITE_OVERRUN |
The card could not sustain data programming in stream mode
Definition at line 300 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_TIMEOUT SDMMC_ERROR_TIMEOUT |
Timeout error
Definition at line 314 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_AwakeDevice(), HAL_MMC_ConfigSpeedBusOperation(), HAL_MMC_EraseSequence(), HAL_MMC_GetCardExtCSD(), HAL_MMC_ReadBlocks(), HAL_MMC_Sanitize(), HAL_MMC_SleepDevice(), and MMC_ReadExtCSD().
#define HAL_MMC_ERROR_TX_UNDERRUN SDMMC_ERROR_TX_UNDERRUN |
Transmit FIFO underrun
Definition at line 284 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_IRQHandler(), and HAL_MMC_WriteBlocks().
#define HAL_MMC_ERROR_UNSUPPORTED_FEATURE SDMMC_ERROR_UNSUPPORTED_FEATURE |
Error when feature is not insupported
Definition at line 311 of file stm32h7xx_hal_mmc.h.
Referenced by HAL_MMC_ConfigSpeedBusOperation(), HAL_MMC_GetCardCSD(), and MMC_PowerON().
#define HAL_MMC_ERROR_WP_ERASE_SKIP SDMMC_ERROR_WP_ERASE_SKIP |
Only partial address space was erased
Definition at line 302 of file stm32h7xx_hal_mmc.h.
#define HAL_MMC_ERROR_WRITE_PROT_VIOLATION SDMMC_ERROR_WRITE_PROT_VIOLATION |
Attempt to program a write protect block
Definition at line 291 of file stm32h7xx_hal_mmc.h.