STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
MMC Error status enumeration Structure definition
Collaboration diagram for MMC Error status enumeration Structure definition:

Macros

#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
 

Detailed Description

Macro Definition Documentation

◆ HAL_MMC_ERROR_NONE

◆ HAL_MMC_ERROR_CMD_CRC_FAIL

#define HAL_MMC_ERROR_CMD_CRC_FAIL   SDMMC_ERROR_CMD_CRC_FAIL

#include <stm32f4xx_hal_mmc.h>

Command response received (but CRC check failed)

Definition at line 274 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_DATA_CRC_FAIL

#define HAL_MMC_ERROR_DATA_CRC_FAIL   SDMMC_ERROR_DATA_CRC_FAIL

#include <stm32f4xx_hal_mmc.h>

Data block sent/received (CRC check failed)

Definition at line 275 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_GetCardExtCSD(), HAL_MMC_IRQHandler(), HAL_MMC_ReadBlocks(), and HAL_MMC_WriteBlocks().

◆ HAL_MMC_ERROR_CMD_RSP_TIMEOUT

#define HAL_MMC_ERROR_CMD_RSP_TIMEOUT   SDMMC_ERROR_CMD_RSP_TIMEOUT

#include <stm32f4xx_hal_mmc.h>

Command response timeout

Definition at line 276 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_DATA_TIMEOUT

#define HAL_MMC_ERROR_DATA_TIMEOUT   SDMMC_ERROR_DATA_TIMEOUT

◆ HAL_MMC_ERROR_TX_UNDERRUN

#define HAL_MMC_ERROR_TX_UNDERRUN   SDMMC_ERROR_TX_UNDERRUN

#include <stm32f4xx_hal_mmc.h>

Transmit FIFO underrun

Definition at line 278 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_IRQHandler(), and HAL_MMC_WriteBlocks().

◆ HAL_MMC_ERROR_RX_OVERRUN

#define HAL_MMC_ERROR_RX_OVERRUN   SDMMC_ERROR_RX_OVERRUN

#include <stm32f4xx_hal_mmc.h>

Receive FIFO overrun

Definition at line 279 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_GetCardExtCSD(), HAL_MMC_IRQHandler(), and HAL_MMC_ReadBlocks().

◆ HAL_MMC_ERROR_ADDR_MISALIGNED

#define HAL_MMC_ERROR_ADDR_MISALIGNED   SDMMC_ERROR_ADDR_MISALIGNED

#include <stm32f4xx_hal_mmc.h>

Misaligned address

Definition at line 280 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_BLOCK_LEN_ERR

#define HAL_MMC_ERROR_BLOCK_LEN_ERR   SDMMC_ERROR_BLOCK_LEN_ERR

#include <stm32f4xx_hal_mmc.h>

Transferred block length is not allowed for the card or the number of transferred bytes does not match the block length

Definition at line 281 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_ERASE_SEQ_ERR

#define HAL_MMC_ERROR_ERASE_SEQ_ERR   SDMMC_ERROR_ERASE_SEQ_ERR

#include <stm32f4xx_hal_mmc.h>

An error in the sequence of erase command occurs

Definition at line 283 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_BAD_ERASE_PARAM

#define HAL_MMC_ERROR_BAD_ERASE_PARAM   SDMMC_ERROR_BAD_ERASE_PARAM

#include <stm32f4xx_hal_mmc.h>

An invalid selection for erase groups

Definition at line 284 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_WRITE_PROT_VIOLATION

#define HAL_MMC_ERROR_WRITE_PROT_VIOLATION   SDMMC_ERROR_WRITE_PROT_VIOLATION

#include <stm32f4xx_hal_mmc.h>

Attempt to program a write protect block

Definition at line 285 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_LOCK_UNLOCK_FAILED

#define HAL_MMC_ERROR_LOCK_UNLOCK_FAILED   SDMMC_ERROR_LOCK_UNLOCK_FAILED

#include <stm32f4xx_hal_mmc.h>

Sequence or password error has been detected in unlock command or if there was an attempt to access a locked card

Definition at line 286 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_Erase().

◆ HAL_MMC_ERROR_COM_CRC_FAILED

#define HAL_MMC_ERROR_COM_CRC_FAILED   SDMMC_ERROR_COM_CRC_FAILED

#include <stm32f4xx_hal_mmc.h>

CRC check of the previous command failed

Definition at line 288 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_ILLEGAL_CMD

#define HAL_MMC_ERROR_ILLEGAL_CMD   SDMMC_ERROR_ILLEGAL_CMD

#include <stm32f4xx_hal_mmc.h>

Command is not legal for the card state

Definition at line 289 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_CARD_ECC_FAILED

#define HAL_MMC_ERROR_CARD_ECC_FAILED   SDMMC_ERROR_CARD_ECC_FAILED

#include <stm32f4xx_hal_mmc.h>

Card internal ECC was applied but failed to correct the data

Definition at line 290 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_CC_ERR

#define HAL_MMC_ERROR_CC_ERR   SDMMC_ERROR_CC_ERR

#include <stm32f4xx_hal_mmc.h>

Internal card controller error

Definition at line 291 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_GENERAL_UNKNOWN_ERR

#define HAL_MMC_ERROR_GENERAL_UNKNOWN_ERR   SDMMC_ERROR_GENERAL_UNKNOWN_ERR

#include <stm32f4xx_hal_mmc.h>

General or unknown error

Definition at line 292 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_STREAM_READ_UNDERRUN

#define HAL_MMC_ERROR_STREAM_READ_UNDERRUN   SDMMC_ERROR_STREAM_READ_UNDERRUN

#include <stm32f4xx_hal_mmc.h>

The card could not sustain data reading in stream rmode

Definition at line 293 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_STREAM_WRITE_OVERRUN

#define HAL_MMC_ERROR_STREAM_WRITE_OVERRUN   SDMMC_ERROR_STREAM_WRITE_OVERRUN

#include <stm32f4xx_hal_mmc.h>

The card could not sustain data programming in stream mode

Definition at line 294 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_CID_CSD_OVERWRITE

#define HAL_MMC_ERROR_CID_CSD_OVERWRITE   SDMMC_ERROR_CID_CSD_OVERWRITE

#include <stm32f4xx_hal_mmc.h>

CID/CSD overwrite error

Definition at line 295 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_WP_ERASE_SKIP

#define HAL_MMC_ERROR_WP_ERASE_SKIP   SDMMC_ERROR_WP_ERASE_SKIP

#include <stm32f4xx_hal_mmc.h>

Only partial address space was erased

Definition at line 296 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_CARD_ECC_DISABLED

#define HAL_MMC_ERROR_CARD_ECC_DISABLED   SDMMC_ERROR_CARD_ECC_DISABLED

#include <stm32f4xx_hal_mmc.h>

Command has been executed without using internal ECC

Definition at line 297 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_ERASE_RESET

#define HAL_MMC_ERROR_ERASE_RESET   SDMMC_ERROR_ERASE_RESET

#include <stm32f4xx_hal_mmc.h>

Erase sequence was cleared before executing because an out of erase sequence command was received

Definition at line 298 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_AKE_SEQ_ERR

#define HAL_MMC_ERROR_AKE_SEQ_ERR   SDMMC_ERROR_AKE_SEQ_ERR

#include <stm32f4xx_hal_mmc.h>

Error in sequence of authentication

Definition at line 300 of file stm32f4xx_hal_mmc.h.

◆ HAL_MMC_ERROR_INVALID_VOLTRANGE

#define HAL_MMC_ERROR_INVALID_VOLTRANGE   SDMMC_ERROR_INVALID_VOLTRANGE

#include <stm32f4xx_hal_mmc.h>

Error in case of invalid voltage range

Definition at line 301 of file stm32f4xx_hal_mmc.h.

Referenced by MMC_PowerON().

◆ HAL_MMC_ERROR_ADDR_OUT_OF_RANGE

#define HAL_MMC_ERROR_ADDR_OUT_OF_RANGE   SDMMC_ERROR_ADDR_OUT_OF_RANGE

◆ HAL_MMC_ERROR_REQUEST_NOT_APPLICABLE

#define HAL_MMC_ERROR_REQUEST_NOT_APPLICABLE   SDMMC_ERROR_REQUEST_NOT_APPLICABLE

#include <stm32f4xx_hal_mmc.h>

Error when command request is not applicable

Definition at line 303 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_Erase(), and MMC_InitCard().

◆ HAL_MMC_ERROR_PARAM

#define HAL_MMC_ERROR_PARAM   SDMMC_ERROR_INVALID_PARAMETER

◆ HAL_MMC_ERROR_UNSUPPORTED_FEATURE

#define HAL_MMC_ERROR_UNSUPPORTED_FEATURE   SDMMC_ERROR_UNSUPPORTED_FEATURE

#include <stm32f4xx_hal_mmc.h>

Error when feature is not insupported

Definition at line 305 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_GetCardCSD(), and MMC_PowerON().

◆ HAL_MMC_ERROR_BUSY

#define HAL_MMC_ERROR_BUSY   SDMMC_ERROR_BUSY

#include <stm32f4xx_hal_mmc.h>

Error when transfer process is busy

Definition at line 306 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_ReadBlocks(), and HAL_MMC_WriteBlocks().

◆ HAL_MMC_ERROR_DMA

#define HAL_MMC_ERROR_DMA   SDMMC_ERROR_DMA

#include <stm32f4xx_hal_mmc.h>

Error while DMA transfer

Definition at line 307 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_Abort(), HAL_MMC_ReadBlocks_DMA(), HAL_MMC_WriteBlocks_DMA(), and MMC_DMAError().

◆ HAL_MMC_ERROR_TIMEOUT

#define HAL_MMC_ERROR_TIMEOUT   SDMMC_ERROR_TIMEOUT

#include <stm32f4xx_hal_mmc.h>

Timeout error

Definition at line 308 of file stm32f4xx_hal_mmc.h.

Referenced by HAL_MMC_GetCardExtCSD(), HAL_MMC_ReadBlocks(), and MMC_ReadExtCSD().