CARME-M4 BSP  V1.5
Data path state machine (DPSM) management functions

Data path state machine (DPSM) management functions. More...

+ Collaboration diagram for Data path state machine (DPSM) management functions:

Functions

void SDIO_DataConfig (SDIO_DataInitTypeDef *SDIO_DataInitStruct)
 Initializes the SDIO data path according to the specified parameters in the SDIO_DataInitStruct. More...
 
void SDIO_DataStructInit (SDIO_DataInitTypeDef *SDIO_DataInitStruct)
 Fills each SDIO_DataInitStruct member with its default value. More...
 
uint32_t SDIO_GetDataCounter (void)
 Returns number of remaining data bytes to be transferred. More...
 
uint32_t SDIO_ReadData (void)
 Read one data word from Rx FIFO. More...
 
void SDIO_WriteData (uint32_t Data)
 Write one data word to Tx FIFO. More...
 
uint32_t SDIO_GetFIFOCount (void)
 Returns the number of words left to be written to or read from FIFO. More...
 

Detailed Description

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).

Function Documentation

void SDIO_DataConfig ( SDIO_DataInitTypeDef SDIO_DataInitStruct)

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
None

Definition at line 503 of file stm32f4xx_sdio.c.

+ Here is the caller graph for this function:

void SDIO_DataStructInit ( SDIO_DataInitTypeDef SDIO_DataInitStruct)

Fills each SDIO_DataInitStruct member with its default value.

Parameters
SDIO_DataInitStructpointer to an SDIO_DataInitTypeDef structure which will be initialized.
Return values
None

Definition at line 544 of file stm32f4xx_sdio.c.

uint32_t SDIO_GetDataCounter ( void  )

Returns number of remaining data bytes to be transferred.

Parameters
None
Return values
Numberof 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
None
Return values
Remainingnumber of words.

Definition at line 590 of file stm32f4xx_sdio.c.

uint32_t SDIO_ReadData ( void  )

Read one data word from Rx FIFO.

Parameters
None
Return values
Datareceived

Definition at line 570 of file stm32f4xx_sdio.c.

+ Here is the caller graph for this function:

void SDIO_WriteData ( uint32_t  Data)

Write one data word to Tx FIFO.

Parameters
Data32-bit data word to write.
Return values
None

Definition at line 580 of file stm32f4xx_sdio.c.

+ Here is the caller graph for this function: