Header file of MMC HAL module. More...
Go to the source code of this file.
Classes | |
struct | HAL_MMC_CardCIDTypeDef |
struct | HAL_MMC_CardCSDTypeDef |
struct | HAL_MMC_CardInfoTypeDef |
MMC Card Information Structure definition. More... | |
struct | MMC_HandleTypeDef |
MMC handle Structure definition. More... | |
Macros | |
#define | __HAL_MMC_CLEAR_FLAG(__HANDLE__, __FLAG__) __SDMMC_CLEAR_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Clear the MMC's pending flags. More... | |
#define | __HAL_MMC_CLEAR_IT(__HANDLE__, __INTERRUPT__) __SDMMC_CLEAR_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Clear the MMC's interrupt pending bits. More... | |
#define | __HAL_MMC_DISABLE_IT(__HANDLE__, __INTERRUPT__) __SDMMC_DISABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Disable the MMC device interrupt. More... | |
#define | __HAL_MMC_ENABLE_IT(__HANDLE__, __INTERRUPT__) __SDMMC_ENABLE_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Enable the MMC device interrupt. More... | |
#define | __HAL_MMC_GET_FLAG(__HANDLE__, __FLAG__) __SDMMC_GET_FLAG((__HANDLE__)->Instance, (__FLAG__)) |
Check whether the specified MMC flag is set or not. More... | |
#define | __HAL_MMC_GET_IT(__HANDLE__, __INTERRUPT__) __SDMMC_GET_IT((__HANDLE__)->Instance, (__INTERRUPT__)) |
Check whether the specified MMC interrupt has occurred or not. More... | |
#define | __HAL_MMC_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_MMC_STATE_RESET) |
Reset MMC handle state. More... | |
#define | eMMC_DUAL_VOLTAGE_RANGE 0xC0FF8080U |
#define | eMMC_HIGH_VOLTAGE_RANGE 0xC0FF8000U |
#define | HAL_MMC_CARD_DISCONNECTED 0x00000008U |
#define | HAL_MMC_CARD_ERROR 0x000000FFU |
#define | HAL_MMC_CARD_IDENTIFICATION 0x00000002U |
#define | HAL_MMC_CARD_PROGRAMMING 0x00000007U |
#define | HAL_MMC_CARD_READY 0x00000001U |
#define | HAL_MMC_CARD_RECEIVING 0x00000006U |
#define | HAL_MMC_CARD_SENDING 0x00000005U |
#define | HAL_MMC_CARD_STANDBY 0x00000003U |
#define | HAL_MMC_CARD_TRANSFER 0x00000004U |
#define | HAL_MMC_DISCARD 0x00000003U |
#define | HAL_MMC_ERASE 0x00000000U |
#define | HAL_MMC_ERROR_ADDR_MISALIGNED SDMMC_ERROR_ADDR_MISALIGNED |
#define | HAL_MMC_ERROR_ADDR_OUT_OF_RANGE SDMMC_ERROR_ADDR_OUT_OF_RANGE |
#define | HAL_MMC_ERROR_AKE_SEQ_ERR SDMMC_ERROR_AKE_SEQ_ERR |
#define | HAL_MMC_ERROR_BAD_ERASE_PARAM SDMMC_ERROR_BAD_ERASE_PARAM |
#define | HAL_MMC_ERROR_BLOCK_LEN_ERR SDMMC_ERROR_BLOCK_LEN_ERR |
#define | HAL_MMC_ERROR_BUSY SDMMC_ERROR_BUSY |
#define | HAL_MMC_ERROR_CARD_ECC_DISABLED SDMMC_ERROR_CARD_ECC_DISABLED |
#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_CID_CSD_OVERWRITE SDMMC_ERROR_CID_CSD_OVERWRITE |
#define | HAL_MMC_ERROR_CMD_CRC_FAIL SDMMC_ERROR_CMD_CRC_FAIL |
#define | HAL_MMC_ERROR_CMD_RSP_TIMEOUT SDMMC_ERROR_CMD_RSP_TIMEOUT |
#define | HAL_MMC_ERROR_COM_CRC_FAILED SDMMC_ERROR_COM_CRC_FAILED |
#define | HAL_MMC_ERROR_DATA_CRC_FAIL SDMMC_ERROR_DATA_CRC_FAIL |
#define | HAL_MMC_ERROR_DATA_TIMEOUT SDMMC_ERROR_DATA_TIMEOUT |
#define | HAL_MMC_ERROR_DMA SDMMC_ERROR_DMA |
#define | HAL_MMC_ERROR_ERASE_RESET SDMMC_ERROR_ERASE_RESET |
#define | HAL_MMC_ERROR_ERASE_SEQ_ERR SDMMC_ERROR_ERASE_SEQ_ERR |
#define | HAL_MMC_ERROR_GENERAL_UNKNOWN_ERR SDMMC_ERROR_GENERAL_UNKNOWN_ERR |
#define | HAL_MMC_ERROR_ILLEGAL_CMD SDMMC_ERROR_ILLEGAL_CMD |
#define | HAL_MMC_ERROR_INVALID_VOLTRANGE SDMMC_ERROR_INVALID_VOLTRANGE |
#define | HAL_MMC_ERROR_LOCK_UNLOCK_FAILED SDMMC_ERROR_LOCK_UNLOCK_FAILED |
#define | HAL_MMC_ERROR_NONE SDMMC_ERROR_NONE |
#define | HAL_MMC_ERROR_PARAM SDMMC_ERROR_INVALID_PARAMETER |
#define | HAL_MMC_ERROR_REQUEST_NOT_APPLICABLE SDMMC_ERROR_REQUEST_NOT_APPLICABLE |
#define | HAL_MMC_ERROR_RX_OVERRUN SDMMC_ERROR_RX_OVERRUN |
#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_TIMEOUT SDMMC_ERROR_TIMEOUT |
#define | HAL_MMC_ERROR_TX_UNDERRUN SDMMC_ERROR_TX_UNDERRUN |
#define | HAL_MMC_ERROR_UNSUPPORTED_FEATURE SDMMC_ERROR_UNSUPPORTED_FEATURE |
#define | HAL_MMC_ERROR_WP_ERASE_SKIP SDMMC_ERROR_WP_ERASE_SKIP |
#define | HAL_MMC_ERROR_WRITE_PROT_VIOLATION SDMMC_ERROR_WRITE_PROT_VIOLATION |
#define | HAL_MMC_SECURE_ERASE 0x80000000U |
#define | HAL_MMC_SECURE_TRIM_STEP1 0x80000001U |
#define | HAL_MMC_SECURE_TRIM_STEP2 0x80008000U |
#define | HAL_MMC_SRT_ERASE 0x00000001U |
#define | HAL_MMC_SRT_VENDOR_DEFINED 0x00000008U |
#define | HAL_MMC_SRT_WRITE_CHAR_COMPL_RANDOM 0x00000004U |
#define | HAL_MMC_SRT_WRITE_CHAR_ERASE 0x00000002U |
#define | HAL_MMC_TRIM 0x00000001U |
#define | IS_MMC_ERASE_TYPE(TYPE) |
#define | IS_MMC_SRT_TYPE(TYPE) |
#define | MMC_BLOCKSIZE ((uint32_t)512U) |
#define | MMC_CONTEXT_DMA ((uint32_t)0x00000080U) |
#define | MMC_CONTEXT_IT ((uint32_t)0x00000008U) |
#define | MMC_CONTEXT_NONE ((uint32_t)0x00000000U) |
#define | MMC_CONTEXT_READ_MULTIPLE_BLOCK ((uint32_t)0x00000002U) |
#define | MMC_CONTEXT_READ_SINGLE_BLOCK ((uint32_t)0x00000001U) |
#define | MMC_CONTEXT_WRITE_MULTIPLE_BLOCK ((uint32_t)0x00000020U) |
#define | MMC_CONTEXT_WRITE_SINGLE_BLOCK ((uint32_t)0x00000010U) |
#define | MMC_DUAL_VOLTAGE_RANGE 0x80FF8080U |
#define | MMC_HIGH_CAPACITY_CARD ((uint32_t)0x00000001U) |
#define | MMC_HIGH_VOLTAGE_RANGE 0x80FF8000U |
#define | MMC_InitTypeDef SDMMC_InitTypeDef |
#define | MMC_INVALID_VOLTAGE_RANGE 0x0001FF01U |
#define | MMC_LOW_CAPACITY_CARD ((uint32_t)0x00000000U) |
#define | MMC_TypeDef SDMMC_TypeDef |
Typedefs | |
typedef uint32_t | HAL_MMC_CardStateTypeDef |
Enumerations | |
enum | HAL_MMC_StateTypeDef { HAL_MMC_STATE_RESET = ((uint32_t)0x00000000U), HAL_MMC_STATE_READY = ((uint32_t)0x00000001U), HAL_MMC_STATE_TIMEOUT = ((uint32_t)0x00000002U), HAL_MMC_STATE_BUSY = ((uint32_t)0x00000003U), HAL_MMC_STATE_PROGRAMMING = ((uint32_t)0x00000004U), HAL_MMC_STATE_RECEIVING = ((uint32_t)0x00000005U), HAL_MMC_STATE_TRANSFER = ((uint32_t)0x00000006U), HAL_MMC_STATE_ERROR = ((uint32_t)0x0000000FU) } |
Header file of MMC HAL module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32h7xx_hal_mmc.h.