UM1940
__HAL_MMC_CLEAR_FLAG
underrun error
SDIO_FLAG_RXOVERR: Received FIFO
overrun error
SDIO_FLAG_CMDREND: Command response
received (CRC check passed)
SDIO_FLAG_CMDSENT: Command sent (no
response required)
SDIO_FLAG_DATAEND: Data end (data
counter, SDIDCOUNT, is zero)
SDIO_FLAG_DBCKEND: Data block
sent/received (CRC check passed)
SDIO_FLAG_CMDACT: Command transfer in
progress
SDIO_FLAG_TXACT: Data transmit in progress
SDIO_FLAG_RXACT: Data receive in progress
SDIO_FLAG_TXFIFOHE: Transmit FIFO Half
Empty
SDIO_FLAG_RXFIFOHF: Receive FIFO Half
Full
SDIO_FLAG_TXFIFOF: Transmit FIFO full
SDIO_FLAG_RXFIFOF: Receive FIFO full
SDIO_FLAG_TXFIFOE: Transmit FIFO empty
SDIO_FLAG_RXFIFOE: Receive FIFO empty
SDIO_FLAG_TXDAVL: Data available in
transmit FIFO
SDIO_FLAG_RXDAVL: Data available in
receive FIFO
SDIO_FLAG_SDIOIT: SD I/O interrupt received
Return value:
The: new state of MMC FLAG (SET or RESET).
Description:
Clear the MMC's pending flags.
Parameters:
__HANDLE__: MMC Handle
__FLAG__: specifies the flag to clear. This
parameter can be one or a combination of the
following values:
SDIO_FLAG_CCRCFAIL: Command response
received (CRC check failed)
SDIO_FLAG_DCRCFAIL: Data block
sent/received (CRC check failed)
SDIO_FLAG_CTIMEOUT: Command response
timeout
SDIO_FLAG_DTIMEOUT: Data timeout
SDIO_FLAG_TXUNDERR: Transmit FIFO
underrun error
SDIO_FLAG_RXOVERR: Received FIFO
overrun error
SDIO_FLAG_CMDREND: Command response
received (CRC check passed)
SDIO_FLAG_CMDSENT: Command sent (no
DocID028236 Rev 2
HAL MMC Generic Driver
367/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?