STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
Data path state machine (DPSM) management functions

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

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
void SDIO_DataStructInit ( SDIO_DataInitTypeDef SDIO_DataInitStruct)

Fills each SDIO_DataInitStruct member with its default value.

Parameters
SDIO_DataInitStruct,:pointer to an SDIO_DataInitTypeDef structure which will be initialized.
Return values
None
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
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.
uint32_t SDIO_ReadData ( void  )

Read one data word from Rx FIFO.

Parameters
None
Return values
Datareceived
void SDIO_WriteData ( uint32_t  Data)

Write one data word to Tx FIFO.

Parameters
Data,:32-bit data word to write.
Return values
None