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
-
Fills each SDIO_DataInitStruct member with its default value.
- Parameters
-
- Return values
-
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 |
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. |
uint32_t SDIO_ReadData |
( |
void |
| ) |
|
Read one data word from Rx FIFO.
- Parameters
-
- Return values
-
void SDIO_WriteData |
( |
uint32_t |
Data | ) |
|
Write one data word to Tx FIFO.
- Parameters
-
Data,: | 32-bit data word to write. |
- Return values
-