#define STM32F4xx_LL_SDMMC_H
Includes
#include "stm32f4xx_hal_def.h"
Exported types
SDIO_InitTypeDef
ClockEdge
ClockBypass
ClockPowerSave
BusWide
HardwareFlowControl
ClockDiv
SDIO_CmdInitTypeDef
Argument
CmdIndex
Response
WaitForInterrupt
CPSM
SDIO_DataInitTypeDef
DataTimeOut
DataLength
DataBlockSize
TransferDir
TransferMode
DPSM
#define SDMMC_ERROR_NONE
#define SDMMC_ERROR_CMD_CRC_FAIL
#define SDMMC_ERROR_DATA_CRC_FAIL
#define SDMMC_ERROR_CMD_RSP_TIMEOUT
#define SDMMC_ERROR_DATA_TIMEOUT
#define SDMMC_ERROR_TX_UNDERRUN
#define SDMMC_ERROR_RX_OVERRUN
#define SDMMC_ERROR_ADDR_MISALIGNED
#define SDMMC_ERROR_ERASE_SEQ_ERR
#define SDMMC_ERROR_BAD_ERASE_PARAM
#define SDMMC_ERROR_WRITE_PROT_VIOLATION
#define SDMMC_ERROR_COM_CRC_FAILED
#define SDMMC_ERROR_ILLEGAL_CMD
#define SDMMC_ERROR_CARD_ECC_FAILED
#define SDMMC_ERROR_CC_ERR
#define SDMMC_ERROR_GENERAL_UNKNOWN_ERR
#define SDMMC_ERROR_STREAM_READ_UNDERRUN
#define SDMMC_ERROR_STREAM_WRITE_OVERRUN
#define SDMMC_ERROR_CID_CSD_OVERWRITE
#define SDMMC_ERROR_WP_ERASE_SKIP
#define SDMMC_ERROR_CARD_ECC_DISABLED
#define SDMMC_ERROR_AKE_SEQ_ERR
#define SDMMC_ERROR_INVALID_VOLTRANGE
#define SDMMC_ERROR_ADDR_OUT_OF_RANGE
#define SDMMC_ERROR_REQUEST_NOT_APPLICABLE
#define SDMMC_ERROR_INVALID_PARAMETER
#define SDMMC_ERROR_UNSUPPORTED_FEATURE
#define SDMMC_ERROR_BUSY
#define SDMMC_ERROR_DMA
#define SDMMC_ERROR_TIMEOUT
#define SDMMC_CMD_GO_IDLE_STATE
#define SDMMC_CMD_SEND_OP_COND
#define SDMMC_CMD_ALL_SEND_CID
#define SDMMC_CMD_SET_REL_ADDR
#define SDMMC_CMD_SET_DSR
#define SDMMC_CMD_HS_SWITCH
#define SDMMC_CMD_SEL_DESEL_CARD
#define SDMMC_CMD_SEND_CSD
#define SDMMC_CMD_SEND_CID
#define SDMMC_CMD_READ_DAT_UNTIL_STOP
#define SDMMC_CMD_STOP_TRANSMISSION
#define SDMMC_CMD_SEND_STATUS
#define SDMMC_CMD_HS_BUSTEST_READ
#define SDMMC_CMD_GO_INACTIVE_STATE
#define SDMMC_CMD_HS_BUSTEST_WRITE
#define SDMMC_CMD_WRITE_DAT_UNTIL_STOP
#define SDMMC_CMD_SET_BLOCK_COUNT
#define SDMMC_CMD_WRITE_MULT_BLOCK
#define SDMMC_CMD_PROG_CID
#define SDMMC_CMD_PROG_CSD
#define SDMMC_CMD_SET_WRITE_PROT
#define SDMMC_CMD_CLR_WRITE_PROT
#define SDMMC_CMD_SEND_WRITE_PROT
#define SDMMC_CMD_SD_ERASE_GRP_START
#define SDMMC_CMD_SD_ERASE_GRP_END
#define SDMMC_CMD_ERASE
#define SDMMC_CMD_FAST_IO
#define SDMMC_CMD_GO_IRQ_STATE
#define SDMMC_CMD_NO_CMD
#define SDMMC_CMD_SD_APP_STATUS
#define SDMMC_CMD_SD_APP_SET_CLR_CARD_DETECT
#define SDMMC_CMD_SD_APP_SEND_SCR
#define SDMMC_CMD_SDMMC_RW_DIRECT
#define SDMMC_CMD_SDMMC_RW_EXTENDED
#define SDMMC_CMD_SD_APP_GET_MKB
#define SDMMC_CMD_SD_APP_GET_MID
#define SDMMC_CMD_SD_APP_SET_CER_RN1
#define SDMMC_CMD_SD_APP_GET_CER_RN2
#define SDMMC_CMD_SD_APP_SET_CER_RES2
#define SDMMC_CMD_SD_APP_GET_CER_RES1
#define SDMMC_CMD_SD_APP_SECURE_READ_MULTIPLE_BLOCK
#define SDMMC_CMD_SD_APP_SECURE_WRITE_MULTIPLE_BLOCK
#define SDMMC_CMD_SD_APP_SECURE_ERASE
#define SDMMC_CMD_SD_APP_CHANGE_SECURE_AREA
#define SDMMC_CMD_SD_APP_SECURE_WRITE_MKB
#define SDMMC_OCR_ADDR_OUT_OF_RANGE
#define SDMMC_OCR_ADDR_MISALIGNED
#define SDMMC_OCR_BLOCK_LEN_ERR
#define SDMMC_OCR_ERASE_SEQ_ERR
#define SDMMC_OCR_BAD_ERASE_PARAM
#define SDMMC_OCR_WRITE_PROT_VIOLATION
#define SDMMC_OCR_LOCK_UNLOCK_FAILED
#define SDMMC_OCR_COM_CRC_FAILED
#define SDMMC_OCR_ILLEGAL_CMD
#define SDMMC_OCR_CARD_ECC_FAILED
#define SDMMC_OCR_CC_ERROR
#define SDMMC_OCR_GENERAL_UNKNOWN_ERROR
#define SDMMC_OCR_STREAM_READ_UNDERRUN
#define SDMMC_OCR_STREAM_WRITE_OVERRUN
#define SDMMC_OCR_CID_CSD_OVERWRITE
#define SDMMC_OCR_WP_ERASE_SKIP
#define SDMMC_OCR_CARD_ECC_DISABLED
#define SDMMC_OCR_ERASE_RESET
#define SDMMC_OCR_AKE_SEQ_ERROR
#define SDMMC_OCR_ERRORBITS
#define SDMMC_R6_GENERAL_UNKNOWN_ERROR
#define SDMMC_R6_ILLEGAL_CMD
#define SDMMC_R6_COM_CRC_FAILED
#define SDMMC_VOLTAGE_WINDOW_SD
#define SDMMC_HIGH_CAPACITY
#define SDMMC_STD_CAPACITY
#define SDMMC_CHECK_PATTERN
#define SD_SWITCH_1_8V_CAPACITY
#define SDMMC_MAX_VOLT_TRIAL
#define SDMMC_MAX_TRIAL
#define SDMMC_ALLZERO
#define SDMMC_WIDE_BUS_SUPPORT
#define SDMMC_SINGLE_BUS_SUPPORT
#define SDMMC_CARD_LOCKED
#define SDMMC_DATATIMEOUT
#define SDMMC_SWDATATIMEOUT
#define SDMMC_0TO7BITS
#define SDMMC_8TO15BITS
#define SDMMC_16TO23BITS
#define SDMMC_24TO31BITS
#define SDMMC_MAX_DATA_LENGTH
#define SDMMC_HALFFIFO
#define SDMMC_HALFFIFOBYTES
#define SDIO_CCCC_ERASE
#define SDIO_CMDTIMEOUT
#define SDIO_MAXERASETIMEOUT
#define SDIO_STOPTRANSFERTIMEOUT
#define SDIO_CLOCK_EDGE_RISING
#define SDIO_CLOCK_EDGE_FALLING
#define SDIO_CLOCK_BYPASS_DISABLE
#define SDIO_CLOCK_BYPASS_ENABLE
#define SDIO_CLOCK_POWER_SAVE_DISABLE
#define SDIO_CLOCK_POWER_SAVE_ENABLE
#define SDIO_BUS_WIDE_1B
#define SDIO_BUS_WIDE_4B
#define SDIO_BUS_WIDE_8B
#define SDIO_HARDWARE_FLOW_CONTROL_DISABLE
#define SDIO_HARDWARE_FLOW_CONTROL_ENABLE
#define IS_SDIO_CLKDIV
#define IS_SDIO_CMD_INDEX
#define SDIO_RESPONSE_NO
#define SDIO_RESPONSE_SHORT
#define SDIO_RESPONSE_LONG
#define SDIO_WAIT_NO
#define SDIO_WAIT_IT
#define SDIO_WAIT_PEND
#define SDIO_CPSM_DISABLE
#define SDIO_CPSM_ENABLE
#define SDIO_RESP1
#define SDIO_RESP2
#define SDIO_RESP3
#define SDIO_RESP4
#define IS_SDIO_DATA_LENGTH
#define SDIO_DATABLOCK_SIZE_1B
#define SDIO_DATABLOCK_SIZE_2B
#define SDIO_DATABLOCK_SIZE_4B
#define SDIO_DATABLOCK_SIZE_8B
#define SDIO_DATABLOCK_SIZE_16B
#define SDIO_DATABLOCK_SIZE_32B
#define SDIO_DATABLOCK_SIZE_64B
#define SDIO_DATABLOCK_SIZE_128B
#define SDIO_DATABLOCK_SIZE_256B
#define SDIO_DATABLOCK_SIZE_512B
#define SDIO_DATABLOCK_SIZE_1024B
#define SDIO_DATABLOCK_SIZE_2048B
#define SDIO_DATABLOCK_SIZE_4096B
#define SDIO_DATABLOCK_SIZE_8192B
#define SDIO_DATABLOCK_SIZE_16384B
#define SDIO_TRANSFER_DIR_TO_CARD
#define SDIO_TRANSFER_DIR_TO_SDIO
#define SDIO_TRANSFER_MODE_BLOCK
#define SDIO_TRANSFER_MODE_STREAM
#define SDIO_DPSM_DISABLE
#define SDIO_DPSM_ENABLE
#define SDIO_READ_WAIT_MODE_DATA2
#define SDIO_READ_WAIT_MODE_CLK
#define SDIO_IT_CCRCFAIL
#define SDIO_IT_DCRCFAIL
#define SDIO_IT_CTIMEOUT
#define SDIO_IT_DTIMEOUT
#define SDIO_IT_TXUNDERR
#define SDIO_IT_RXOVERR
#define SDIO_IT_CMDREND
#define SDIO_IT_CMDSENT
#define SDIO_IT_DATAEND
#define SDIO_IT_STBITERR
#define SDIO_IT_DBCKEND
#define SDIO_IT_CMDACT
#define SDIO_IT_TXACT
#define SDIO_IT_RXACT
#define SDIO_IT_TXFIFOHE
#define SDIO_IT_RXFIFOHF
#define SDIO_IT_TXFIFOF
#define SDIO_IT_RXFIFOF
#define SDIO_IT_TXFIFOE
#define SDIO_IT_RXFIFOE
#define SDIO_IT_TXDAVL
#define SDIO_IT_RXDAVL
#define SDIO_IT_SDIOIT
#define SDIO_IT_CEATAEND
#define SDIO_FLAG_CCRCFAIL
#define SDIO_FLAG_DCRCFAIL
#define SDIO_FLAG_CTIMEOUT
#define SDIO_FLAG_DTIMEOUT
#define SDIO_FLAG_TXUNDERR
#define SDIO_FLAG_RXOVERR
#define SDIO_FLAG_CMDREND
#define SDIO_FLAG_CMDSENT
#define SDIO_FLAG_DATAEND
#define SDIO_FLAG_STBITERR
#define SDIO_FLAG_DBCKEND
#define SDIO_FLAG_CMDACT
#define SDIO_FLAG_TXACT
#define SDIO_FLAG_RXACT
#define SDIO_FLAG_TXFIFOHE
#define SDIO_FLAG_RXFIFOHF
#define SDIO_FLAG_TXFIFOF
#define SDIO_FLAG_RXFIFOF
#define SDIO_FLAG_TXFIFOE
#define SDIO_FLAG_RXFIFOE
#define SDIO_FLAG_TXDAVL
#define SDIO_FLAG_RXDAVL
#define SDIO_FLAG_SDIOIT
#define SDIO_FLAG_CEATAEND
Exported macro
------------ SDIO registers bit address in the alias region
#define SDIO_OFFSET
#define CLKCR_OFFSET
#define CLKEN_BITNUMBER
#define CLKCR_CLKEN_BB
#define CMD_OFFSET
#define SDIOSUSPEND_BITNUMBER
#define CMD_SDIOSUSPEND_BB
#define ENCMDCOMPL_BITNUMBER
#define CMD_ENCMDCOMPL_BB
#define NIEN_BITNUMBER
#define CMD_NIEN_BB
#define ATACMD_BITNUMBER
#define CMD_ATACMD_BB
#define DCTRL_OFFSET
#define DMAEN_BITNUMBER
#define DCTRL_DMAEN_BB
#define RWSTART_BITNUMBER
#define DCTRL_RWSTART_BB
#define RWSTOP_BITNUMBER
#define DCTRL_RWSTOP_BB
#define RWMOD_BITNUMBER
#define DCTRL_RWMOD_BB
#define SDIOEN_BITNUMBER
#define DCTRL_SDIOEN_BB
#define SDIO_INIT_CLK_DIV
#define SDIO_TRANSFER_CLK_DIV
#define __SDIO_ENABLE
#define __SDIO_DISABLE
#define __SDIO_DMA_ENABLE
#define __SDIO_DMA_DISABLE
#define __SDIO_ENABLE_IT
#define __SDIO_DISABLE_IT
#define __SDIO_GET_FLAG
#define __SDIO_CLEAR_FLAG
#define __SDIO_GET_IT
#define __SDIO_CLEAR_IT
#define __SDIO_START_READWAIT_ENABLE
#define __SDIO_START_READWAIT_DISABLE
#define __SDIO_STOP_READWAIT_ENABLE
#define __SDIO_STOP_READWAIT_DISABLE
#define __SDIO_OPERATION_ENABLE
#define __SDIO_OPERATION_DISABLE
#define __SDIO_SUSPEND_CMD_ENABLE
#define __SDIO_SUSPEND_CMD_DISABLE
#define __SDIO_CEATA_CMD_COMPLETION_ENABLE
#define __SDIO_CEATA_CMD_COMPLETION_DISABLE
#define __SDIO_CEATA_ENABLE_IT
#define __SDIO_CEATA_DISABLE_IT
#define __SDIO_CEATA_SENDCMD_ENABLE
#define __SDIO_CEATA_SENDCMD_DISABLE
SDIO_Init(SDIO_TypeDef *, SDIO_InitTypeDef);
SDIO_ReadFIFO(SDIO_TypeDef *);
SDIO_WriteFIFO(SDIO_TypeDef *, uint32_t *);
SDIO_PowerState_ON(SDIO_TypeDef *);
SDIO_PowerState_OFF(SDIO_TypeDef *);
SDIO_GetPowerState(SDIO_TypeDef *);
SDIO_SendCommand(SDIO_TypeDef *, SDIO_CmdInitTypeDef *);
SDIO_GetCommandResponse(SDIO_TypeDef *);
SDIO_GetResponse(SDIO_TypeDef *, uint32_t);
SDIO_ConfigData(SDIO_TypeDef *, SDIO_DataInitTypeDef *);
SDIO_GetDataCounter(SDIO_TypeDef *);
SDIO_GetFIFOCount(SDIO_TypeDef *);
SDIO_SetSDMMCReadWaitMode(SDIO_TypeDef *, uint32_t);
SDMMC_CmdBlockLength(SDIO_TypeDef *, uint32_t);
SDMMC_CmdReadSingleBlock(SDIO_TypeDef *, uint32_t);
SDMMC_CmdReadMultiBlock(SDIO_TypeDef *, uint32_t);
SDMMC_CmdWriteSingleBlock(SDIO_TypeDef *, uint32_t);
SDMMC_CmdWriteMultiBlock(SDIO_TypeDef *, uint32_t);
SDMMC_CmdEraseStartAdd(SDIO_TypeDef *, uint32_t);
SDMMC_CmdSDEraseStartAdd(SDIO_TypeDef *, uint32_t);
SDMMC_CmdEraseEndAdd(SDIO_TypeDef *, uint32_t);
SDMMC_CmdSDEraseEndAdd(SDIO_TypeDef *, uint32_t);
SDMMC_CmdErase(SDIO_TypeDef *);
SDMMC_CmdStopTransfer(SDIO_TypeDef *);
SDMMC_CmdSelDesel(SDIO_TypeDef *, uint64_t);
SDMMC_CmdGoIdleState(SDIO_TypeDef *);
SDMMC_CmdOperCond(SDIO_TypeDef *);
SDMMC_CmdAppCommand(SDIO_TypeDef *, uint32_t);
SDMMC_CmdAppOperCommand(SDIO_TypeDef *, uint32_t);
SDMMC_CmdBusWidth(SDIO_TypeDef *, uint32_t);
SDMMC_CmdSendSCR(SDIO_TypeDef *);
SDMMC_CmdSendCID(SDIO_TypeDef *);
SDMMC_CmdSendCSD(SDIO_TypeDef *, uint32_t);
SDMMC_CmdSetRelAdd(SDIO_TypeDef *, uint16_t *);
SDMMC_CmdSetRelAddMmc(SDIO_TypeDef *, uint16_t);
SDMMC_CmdSendStatus(SDIO_TypeDef *, uint32_t);
SDMMC_CmdStatusRegister(SDIO_TypeDef *);
SDMMC_CmdOpCondition(SDIO_TypeDef *, uint32_t);
SDMMC_CmdSwitch(SDIO_TypeDef *, uint32_t);
SDMMC_CmdSendEXTCSD(SDIO_TypeDef *, uint32_t);
SDMMC_GetCmdResp1(SDIO_TypeDef *, uint8_t, uint32_t);
SDMMC_GetCmdResp2(SDIO_TypeDef *);
SDMMC_GetCmdResp3(SDIO_TypeDef *);
SDMMC_GetCmdResp6(SDIO_TypeDef *, uint8_t, uint16_t *);
SDMMC_GetCmdResp7(SDIO_TypeDef *);