Data path state machine (DPSM) management functions.
More...
Data path state machine (DPSM) management functions.
===============================================================================
##### Data path state machine (DPSM) management functions #####
===============================================================================
This section provide functions allowing to program and read the Data path
state machine (DPSM).
Initializes the SDIO data path according to the specified parameters in the SDIO_DataInitStruct.
- Parameters
-
SDIO_DataInitStruct | : pointer to a SDIO_DataInitTypeDef structure that contains the configuration information for the SDIO command. |
- Return values
-
Definition at line 503 of file stm32f4xx_sdio.c.
Fills each SDIO_DataInitStruct member with its default value.
- Parameters
-
- Return values
-
Definition at line 544 of file stm32f4xx_sdio.c.
uint32_t SDIO_GetDataCounter |
( |
void |
| ) |
|
Returns number of remaining data bytes to be transferred.
- Parameters
-
- Return values
-
Number | of remaining data bytes to be transferred |
Definition at line 560 of file stm32f4xx_sdio.c.
uint32_t SDIO_GetFIFOCount |
( |
void |
| ) |
|
Returns the number of words left to be written to or read from FIFO.
- Parameters
-
- Return values
-
Remaining | number of words. |
Definition at line 590 of file stm32f4xx_sdio.c.
uint32_t SDIO_ReadData |
( |
void |
| ) |
|
Read one data word from Rx FIFO.
- Parameters
-
- Return values
-
Definition at line 570 of file stm32f4xx_sdio.c.
void SDIO_WriteData |
( |
uint32_t |
Data | ) |
|
Write one data word to Tx FIFO.
- Parameters
-
Data | 32-bit data word to write. |
- Return values
-
Definition at line 580 of file stm32f4xx_sdio.c.