__SDIO_CLEAR_FLAG macro
Clears the SDIO pending flags.
Syntax
#define __SDIO_CLEAR_FLAG(__INSTANCE__, __FLAG__) ((__INSTANCE__)->ICR = (__FLAG__)) Arguments
__INSTANCE__
Pointer to SDIO register base
__FLAG__
specifies the flag to clear. This parameter can be one or a combination of the following values: @arg SDIO_FLAG_CCRCFAIL: Command response received (CRC check failed) @arg SDIO_FLAG_DCRCFAIL: Data block sent/received (CRC check failed) @arg SDIO_FLAG_CTIMEOUT: Command response timeout @arg SDIO_FLAG_DTIMEOUT: Data timeout @arg SDIO_FLAG_TXUNDERR: Transmit FIFO underrun error @arg SDIO_FLAG_RXOVERR: Received FIFO overrun error @arg SDIO_FLAG_CMDREND: Command response received (CRC check passed) @arg SDIO_FLAG_CMDSENT: Command sent (no response required) @arg SDIO_FLAG_DATAEND: Data end (data counter, DATACOUNT, is zero) @arg SDIO_FLAG_DBCKEND: Data block sent/received (CRC check passed) @arg SDIO_FLAG_SDIOIT: SDIO interrupt received
Return value
None