STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Macros | |
#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_NONE SDMMC_ERROR_NONE |
#include <stm32f4xx_hal_sd.h>
No error
Definition at line 294 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_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(), 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_CMD_CRC_FAIL SDMMC_ERROR_CMD_CRC_FAIL |
#include <stm32f4xx_hal_sd.h>
Command response received (but CRC check failed)
Definition at line 295 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_DATA_CRC_FAIL SDMMC_ERROR_DATA_CRC_FAIL |
#include <stm32f4xx_hal_sd.h>
Data block sent/received (CRC check failed)
Definition at line 296 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_CMD_RSP_TIMEOUT SDMMC_ERROR_CMD_RSP_TIMEOUT |
#include <stm32f4xx_hal_sd.h>
Command response timeout
Definition at line 297 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_DATA_TIMEOUT SDMMC_ERROR_DATA_TIMEOUT |
#include <stm32f4xx_hal_sd.h>
Data timeout
Definition at line 298 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_TX_UNDERRUN SDMMC_ERROR_TX_UNDERRUN |
#include <stm32f4xx_hal_sd.h>
Transmit FIFO underrun
Definition at line 299 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_IRQHandler(), and HAL_SD_WriteBlocks().
#define HAL_SD_ERROR_RX_OVERRUN SDMMC_ERROR_RX_OVERRUN |
#include <stm32f4xx_hal_sd.h>
Receive FIFO overrun
Definition at line 300 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_IRQHandler(), HAL_SD_ReadBlocks(), SD_FindSCR(), and SD_SendSDStatus().
#define HAL_SD_ERROR_ADDR_MISALIGNED SDMMC_ERROR_ADDR_MISALIGNED |
#define HAL_SD_ERROR_BLOCK_LEN_ERR SDMMC_ERROR_BLOCK_LEN_ERR |
#include <stm32f4xx_hal_sd.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 302 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_ERASE_SEQ_ERR SDMMC_ERROR_ERASE_SEQ_ERR |
#include <stm32f4xx_hal_sd.h>
An error in the sequence of erase command occurs
Definition at line 304 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_BAD_ERASE_PARAM SDMMC_ERROR_BAD_ERASE_PARAM |
#include <stm32f4xx_hal_sd.h>
An invalid selection for erase groups
Definition at line 305 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_WRITE_PROT_VIOLATION SDMMC_ERROR_WRITE_PROT_VIOLATION |
#include <stm32f4xx_hal_sd.h>
Attempt to program a write protect block
Definition at line 306 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_LOCK_UNLOCK_FAILED SDMMC_ERROR_LOCK_UNLOCK_FAILED |
#include <stm32f4xx_hal_sd.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 307 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Erase(), SD_SendSDStatus(), SD_WideBus_Disable(), and SD_WideBus_Enable().
#define HAL_SD_ERROR_COM_CRC_FAILED SDMMC_ERROR_COM_CRC_FAILED |
#include <stm32f4xx_hal_sd.h>
CRC check of the previous command failed
Definition at line 309 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_ILLEGAL_CMD SDMMC_ERROR_ILLEGAL_CMD |
#include <stm32f4xx_hal_sd.h>
Command is not legal for the card state
Definition at line 310 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CARD_ECC_FAILED SDMMC_ERROR_CARD_ECC_FAILED |
#include <stm32f4xx_hal_sd.h>
Card internal ECC was applied but failed to correct the data
Definition at line 311 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CC_ERR SDMMC_ERROR_CC_ERR |
#include <stm32f4xx_hal_sd.h>
Internal card controller error
Definition at line 312 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_GENERAL_UNKNOWN_ERR SDMMC_ERROR_GENERAL_UNKNOWN_ERR |
#include <stm32f4xx_hal_sd.h>
General or unknown error
Definition at line 313 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_STREAM_READ_UNDERRUN SDMMC_ERROR_STREAM_READ_UNDERRUN |
#include <stm32f4xx_hal_sd.h>
The card could not sustain data reading in stream rmode
Definition at line 314 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_STREAM_WRITE_OVERRUN SDMMC_ERROR_STREAM_WRITE_OVERRUN |
#include <stm32f4xx_hal_sd.h>
The card could not sustain data programming in stream mode
Definition at line 315 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CID_CSD_OVERWRITE SDMMC_ERROR_CID_CSD_OVERWRITE |
#include <stm32f4xx_hal_sd.h>
CID/CSD overwrite error
Definition at line 316 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_WP_ERASE_SKIP SDMMC_ERROR_WP_ERASE_SKIP |
#include <stm32f4xx_hal_sd.h>
Only partial address space was erased
Definition at line 317 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_CARD_ECC_DISABLED SDMMC_ERROR_CARD_ECC_DISABLED |
#include <stm32f4xx_hal_sd.h>
Command has been executed without using internal ECC
Definition at line 318 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_ERASE_RESET SDMMC_ERROR_ERASE_RESET |
#include <stm32f4xx_hal_sd.h>
Erase sequence was cleared before executing because an out of erase sequence command was received
Definition at line 319 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_AKE_SEQ_ERR SDMMC_ERROR_AKE_SEQ_ERR |
#include <stm32f4xx_hal_sd.h>
Error in sequence of authentication
Definition at line 321 of file stm32f4xx_hal_sd.h.
#define HAL_SD_ERROR_INVALID_VOLTRANGE SDMMC_ERROR_INVALID_VOLTRANGE |
#include <stm32f4xx_hal_sd.h>
Error in case of invalid voltage range
Definition at line 322 of file stm32f4xx_hal_sd.h.
Referenced by SD_PowerON().
#define HAL_SD_ERROR_ADDR_OUT_OF_RANGE SDMMC_ERROR_ADDR_OUT_OF_RANGE |
#include <stm32f4xx_hal_sd.h>
Error when addressed block is out of range
Definition at line 323 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_REQUEST_NOT_APPLICABLE SDMMC_ERROR_REQUEST_NOT_APPLICABLE |
#include <stm32f4xx_hal_sd.h>
Error when command request is not applicable
Definition at line 324 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Erase(), SD_InitCard(), SD_WideBus_Disable(), and SD_WideBus_Enable().
#define HAL_SD_ERROR_PARAM SDMMC_ERROR_INVALID_PARAMETER |
#include <stm32f4xx_hal_sd.h>
the used parameter is not valid
Definition at line 325 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_UNSUPPORTED_FEATURE SDMMC_ERROR_UNSUPPORTED_FEATURE |
#include <stm32f4xx_hal_sd.h>
Error when feature is not insupported
Definition at line 326 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ConfigWideBusOperation(), HAL_SD_GetCardCSD(), SD_InitCard(), and SD_PowerON().
#define HAL_SD_ERROR_BUSY SDMMC_ERROR_BUSY |
#include <stm32f4xx_hal_sd.h>
Error when transfer process is busy
Definition at line 327 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ReadBlocks(), and HAL_SD_WriteBlocks().
#define HAL_SD_ERROR_DMA SDMMC_ERROR_DMA |
#include <stm32f4xx_hal_sd.h>
Error while DMA transfer
Definition at line 328 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_Abort(), HAL_SD_ReadBlocks_DMA(), HAL_SD_WriteBlocks_DMA(), and SD_DMAError().
#define HAL_SD_ERROR_TIMEOUT SDMMC_ERROR_TIMEOUT |
#include <stm32f4xx_hal_sd.h>
Timeout error
Definition at line 329 of file stm32f4xx_hal_sd.h.
Referenced by HAL_SD_ReadBlocks(), SD_FindSCR(), and SD_SendSDStatus().