STM32F4xx_HAL_Driver  1.8.3

Responses functions. More...

+ Collaboration diagram for Responses management functions:

Functions

uint32_t SDMMC_GetCmdResp1 (SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint32_t Timeout)
 Checks for error conditions for R1 response. More...
 
uint32_t SDMMC_GetCmdResp2 (SDIO_TypeDef *SDIOx)
 Checks for error conditions for R2 (CID or CSD) response. More...
 
uint32_t SDMMC_GetCmdResp3 (SDIO_TypeDef *SDIOx)
 Checks for error conditions for R3 (OCR) response. More...
 
uint32_t SDMMC_GetCmdResp6 (SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint16_t *pRCA)
 Checks for error conditions for R6 (RCA) response. More...
 
uint32_t SDMMC_GetCmdResp7 (SDIO_TypeDef *SDIOx)
 Checks for error conditions for R7 response. More...
 

Detailed Description

Responses functions.

 ===============================================================================
                   ##### Responses management functions #####
 ===============================================================================
    [..]
    This subsection provides a set of functions allowing to manage the needed responses.

Function Documentation

◆ SDMMC_GetCmdResp1()

uint32_t SDMMC_GetCmdResp1 ( SDIO_TypeDef *  SDIOx,
uint8_t  SD_CMD,
uint32_t  Timeout 
)

Checks for error conditions for R1 response.

Parameters
SDIOxPointer to SDMMC register base
SD_CMDThe sent command index
Return values
SDCard error state

Definition at line 1191 of file stm32f4xx_ll_sdmmc.c.

◆ SDMMC_GetCmdResp2()

uint32_t SDMMC_GetCmdResp2 ( SDIO_TypeDef *  SDIOx)

Checks for error conditions for R2 (CID or CSD) response.

Parameters
SDIOxPointer to SDMMC register base
Return values
SDCard error state

Definition at line 1326 of file stm32f4xx_ll_sdmmc.c.

◆ SDMMC_GetCmdResp3()

uint32_t SDMMC_GetCmdResp3 ( SDIO_TypeDef *  SDIOx)

Checks for error conditions for R3 (OCR) response.

Parameters
SDIOxPointer to SDMMC register base
Return values
SDCard error state

Definition at line 1370 of file stm32f4xx_ll_sdmmc.c.

◆ SDMMC_GetCmdResp6()

uint32_t SDMMC_GetCmdResp6 ( SDIO_TypeDef *  SDIOx,
uint8_t  SD_CMD,
uint16_t *  pRCA 
)

Checks for error conditions for R6 (RCA) response.

Parameters
SDIOxPointer to SDMMC register base
SD_CMDThe sent command index
pRCAPointer to the variable that will contain the SD card relative address RCA
Return values
SDCard error state

Definition at line 1410 of file stm32f4xx_ll_sdmmc.c.

◆ SDMMC_GetCmdResp7()

uint32_t SDMMC_GetCmdResp7 ( SDIO_TypeDef *  SDIOx)

Checks for error conditions for R7 response.

Parameters
SDIOxPointer to SDMMC register base
Return values
SDCard error state

Definition at line 1483 of file stm32f4xx_ll_sdmmc.c.