Functions
Command path state machine (CPSM) management functions

Command path state machine (CPSM) management functions. More...

Collaboration diagram for Command path state machine (CPSM) management functions:

Functions

void SDIO_CmdStructInit (SDIO_CmdInitTypeDef *SDIO_CmdInitStruct)
 Fills each SDIO_CmdInitStruct member with its default value. More...
 
uint8_t SDIO_GetCommandResponse (void)
 Returns command index of last command for which response received. More...
 
uint32_t SDIO_GetResponse (uint32_t SDIO_RESP)
 Returns response received from the card for the last command. More...
 
void SDIO_SendCommand (SDIO_CmdInitTypeDef *SDIO_CmdInitStruct)
 Initializes the SDIO Command according to the specified parameters in the SDIO_CmdInitStruct and send the command. More...
 

Detailed Description

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

Function Documentation

void SDIO_CmdStructInit ( SDIO_CmdInitTypeDef SDIO_CmdInitStruct)

Fills each SDIO_CmdInitStruct member with its default value.

Parameters
SDIO_CmdInitStructpointer to an SDIO_CmdInitTypeDef structure which will be initialized.
Return values
None

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
None
Return values
Returnsthe 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_RESPSpecifies 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
TheCorresponding response register value.

Definition at line 465 of file stm32f4xx_sdio.c.

void SDIO_SendCommand ( SDIO_CmdInitTypeDef SDIO_CmdInitStruct)

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
None

Definition at line 399 of file stm32f4xx_sdio.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:29