Command path state machine (CPSM) management functions.
More...
Command path state machine (CPSM) management functions.
===============================================================================
##### Command path state machine (CPSM) management functions #####
===============================================================================
This section provide functions allowing to program and read the Command path
state machine (CPSM).
Fills each SDIO_CmdInitStruct member with its default value.
- Parameters
-
- Return values
-
Definition at line 435 of file stm32f4xx_sdio.c.
uint8_t SDIO_GetCommandResponse |
( |
void |
| ) |
|
Returns command index of last command for which response received.
- Parameters
-
- Return values
-
Returns | the command index of the last command response received. |
Definition at line 450 of file stm32f4xx_sdio.c.
uint32_t SDIO_GetResponse |
( |
uint32_t |
SDIO_RESP | ) |
|
Returns response received from the card for the last command.
- Parameters
-
SDIO_RESP | Specifies the SDIO response register. This parameter can be one of the following values:
- SDIO_RESP1: Response Register 1
- SDIO_RESP2: Response Register 2
- SDIO_RESP3: Response Register 3
- SDIO_RESP4: Response Register 4
|
- Return values
-
The | Corresponding response register value. |
Definition at line 465 of file stm32f4xx_sdio.c.
Initializes the SDIO Command according to the specified parameters in the SDIO_CmdInitStruct and send the command.
- Parameters
-
SDIO_CmdInitStruct | : pointer to a SDIO_CmdInitTypeDef structure that contains the configuration information for the SDIO command. |
- Return values
-
Definition at line 399 of file stm32f4xx_sdio.c.