| 
    CARME-M4 BSP
    V1.5
    
   | 
 
SDIO driver modules. More...
 Collaboration diagram for SDIO:Modules | |
| SDIO_Exported_Constants | |
| SDIO_Private_Functions | |
Data Structures | |
| struct | SDIO_InitTypeDef | 
| struct | SDIO_CmdInitTypeDef | 
| struct | SDIO_DataInitTypeDef | 
Functions | |
| void | SDIO_DeInit (void) | 
| Deinitializes the SDIO peripheral registers to their default reset values.  More... | |
| void | SDIO_Init (SDIO_InitTypeDef *SDIO_InitStruct) | 
| Initializes the SDIO peripheral according to the specified parameters in the SDIO_InitStruct.  More... | |
| void | SDIO_StructInit (SDIO_InitTypeDef *SDIO_InitStruct) | 
| Fills each SDIO_InitStruct member with its default value.  More... | |
| void | SDIO_ClockCmd (FunctionalState NewState) | 
| Enables or disables the SDIO Clock.  More... | |
| void | SDIO_SetPowerState (uint32_t SDIO_PowerState) | 
| Sets the power status of the controller.  More... | |
| uint32_t | SDIO_GetPowerState (void) | 
| Gets the power status of the controller.  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... | |
| 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_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... | |
| void | SDIO_StartSDIOReadWait (FunctionalState NewState) | 
| Starts the SD I/O Read Wait operation.  More... | |
| void | SDIO_StopSDIOReadWait (FunctionalState NewState) | 
| Stops the SD I/O Read Wait operation.  More... | |
| void | SDIO_SetSDIOReadWaitMode (uint32_t SDIO_ReadWaitMode) | 
| Sets one of the two options of inserting read wait interval.  More... | |
| void | SDIO_SetSDIOOperation (FunctionalState NewState) | 
| Enables or disables the SD I/O Mode Operation.  More... | |
| void | SDIO_SendSDIOSuspendCmd (FunctionalState NewState) | 
| Enables or disables the SD I/O Mode suspend command sending.  More... | |
| void | SDIO_CommandCompletionCmd (FunctionalState NewState) | 
| Enables or disables the command completion signal.  More... | |
| void | SDIO_CEATAITCmd (FunctionalState NewState) | 
| Enables or disables the CE-ATA interrupt.  More... | |
| void | SDIO_SendCEATACmd (FunctionalState NewState) | 
| Sends CE-ATA command (CMD61).  More... | |
| void | SDIO_DMACmd (FunctionalState NewState) | 
| Enables or disables the SDIO DMA request.  More... | |
| void | SDIO_ITConfig (uint32_t SDIO_IT, FunctionalState NewState) | 
| Enables or disables the SDIO interrupts.  More... | |
| FlagStatus | SDIO_GetFlagStatus (uint32_t SDIO_FLAG) | 
| Checks whether the specified SDIO flag is set or not.  More... | |
| void | SDIO_ClearFlag (uint32_t SDIO_FLAG) | 
| Clears the SDIO's pending flags.  More... | |
| ITStatus | SDIO_GetITStatus (uint32_t SDIO_IT) | 
| Checks whether the specified SDIO interrupt has occurred or not.  More... | |
| void | SDIO_ClearITPendingBit (uint32_t SDIO_IT) | 
| Clears the SDIO's interrupt pending bits.  More... | |
SDIO driver modules.
| void SDIO_CEATAITCmd | ( | FunctionalState | NewState | ) | 
Enables or disables the CE-ATA interrupt.
| NewState | new state of CE-ATA interrupt. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 723 of file stm32f4xx_sdio.c.
| void SDIO_ClearFlag | ( | uint32_t | SDIO_FLAG | ) | 
Clears the SDIO's pending flags.
| SDIO_FLAG | specifies the flag to clear. This parameter can be one or a combination of the following values: 
  | 
| None | 
Definition at line 912 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| void SDIO_ClearITPendingBit | ( | uint32_t | SDIO_IT | ) | 
Clears the SDIO's interrupt pending bits.
| SDIO_IT | specifies the interrupt pending bit to clear. This parameter can be one or a combination of the following values: 
  | 
| None | 
Definition at line 987 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| void SDIO_ClockCmd | ( | FunctionalState | NewState | ) | 
Enables or disables the SDIO Clock.
| NewState | new state of the SDIO Clock. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 334 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| void SDIO_CmdStructInit | ( | SDIO_CmdInitTypeDef * | SDIO_CmdInitStruct | ) | 
Fills each SDIO_CmdInitStruct member with its default value.
| SDIO_CmdInitStruct | pointer to an SDIO_CmdInitTypeDef structure which will be initialized. | 
| None | 
Definition at line 435 of file stm32f4xx_sdio.c.
| void SDIO_CommandCompletionCmd | ( | FunctionalState | NewState | ) | 
Enables or disables the command completion signal.
| NewState | new state of command completion signal. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 709 of file stm32f4xx_sdio.c.
| void SDIO_DataConfig | ( | SDIO_DataInitTypeDef * | SDIO_DataInitStruct | ) | 
Initializes the SDIO data path according to the specified parameters in the SDIO_DataInitStruct.
| SDIO_DataInitStruct | : pointer to a SDIO_DataInitTypeDef structure that contains the configuration information for the SDIO command. | 
| 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.
| SDIO_DataInitStruct | pointer to an SDIO_DataInitTypeDef structure which will be initialized. | 
| None | 
Definition at line 544 of file stm32f4xx_sdio.c.
| void SDIO_DeInit | ( | void | ) | 
Deinitializes the SDIO peripheral registers to their default reset values.
| None | 
| None | 
Definition at line 266 of file stm32f4xx_sdio.c.
 Here is the call graph for this function:
 Here is the caller graph for this function:| void SDIO_DMACmd | ( | FunctionalState | NewState | ) | 
Enables or disables the SDIO DMA request.
| NewState | new state of the selected SDIO DMA request. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 769 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| uint8_t SDIO_GetCommandResponse | ( | void | ) | 
Returns command index of last command for which response received.
| None | 
| Returns | the command index of the last command response received. | 
Definition at line 450 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| uint32_t SDIO_GetDataCounter | ( | void | ) | 
Returns number of remaining data bytes to be transferred.
| None | 
| 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.
| None | 
| Remaining | number of words. | 
Definition at line 590 of file stm32f4xx_sdio.c.
| FlagStatus SDIO_GetFlagStatus | ( | uint32_t | SDIO_FLAG | ) | 
Checks whether the specified SDIO flag is set or not.
| SDIO_FLAG | specifies the flag to check. This parameter can be one of the following values: 
  | 
| The | new state of SDIO_FLAG (SET or RESET). | 
Definition at line 875 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| ITStatus SDIO_GetITStatus | ( | uint32_t | SDIO_IT | ) | 
Checks whether the specified SDIO interrupt has occurred or not.
| SDIO_IT | specifies the SDIO interrupt source to check. This parameter can be one of the following values: 
  | 
| The | new state of SDIO_IT (SET or RESET). | 
Definition at line 951 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| uint32_t SDIO_GetPowerState | ( | void | ) | 
Gets the power status of the controller.
| None | 
| Power | status of the controller. The returned value can be one of the following values:
  | 
Definition at line 367 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| uint32_t SDIO_GetResponse | ( | uint32_t | SDIO_RESP | ) | 
Returns response received from the card for the last command.
| SDIO_RESP | Specifies the SDIO response register. This parameter can be one of the following values: 
  | 
| The | Corresponding response register value. | 
Definition at line 465 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| void SDIO_Init | ( | SDIO_InitTypeDef * | SDIO_InitStruct | ) | 
Initializes the SDIO peripheral according to the specified parameters in the SDIO_InitStruct.
| SDIO_InitStruct | : pointer to a SDIO_InitTypeDef structure that contains the configuration information for the SDIO peripheral. | 
| None | 
Definition at line 279 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| void SDIO_ITConfig | ( | uint32_t | SDIO_IT, | 
| FunctionalState | NewState | ||
| ) | 
Enables or disables the SDIO interrupts.
| SDIO_IT | specifies the SDIO interrupt sources to be enabled or disabled. This parameter can be one or a combination of the following values: 
  | 
| NewState | new state of the specified SDIO interrupts. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 827 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| uint32_t SDIO_ReadData | ( | void | ) | 
Read one data word from Rx FIFO.
| None | 
| Data | received | 
Definition at line 570 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| void SDIO_SendCEATACmd | ( | FunctionalState | NewState | ) | 
Sends CE-ATA command (CMD61).
| NewState | new state of CE-ATA command. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 737 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.
| SDIO_CmdInitStruct | : pointer to a SDIO_CmdInitTypeDef structure that contains the configuration information for the SDIO command. | 
| None | 
Definition at line 399 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| void SDIO_SendSDIOSuspendCmd | ( | FunctionalState | NewState | ) | 
Enables or disables the SD I/O Mode suspend command sending.
| NewState | new state of the SD I/O Mode suspend command. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 677 of file stm32f4xx_sdio.c.
| void SDIO_SetPowerState | ( | uint32_t | SDIO_PowerState | ) | 
Sets the power status of the controller.
| SDIO_PowerState | new state of the Power state. This parameter can be one of the following values: 
  | 
| None | 
Definition at line 350 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function:| void SDIO_SetSDIOOperation | ( | FunctionalState | NewState | ) | 
Enables or disables the SD I/O Mode Operation.
| NewState | new state of SDIO specific operation. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 663 of file stm32f4xx_sdio.c.
| void SDIO_SetSDIOReadWaitMode | ( | uint32_t | SDIO_ReadWaitMode | ) | 
Sets one of the two options of inserting read wait interval.
| SDIO_ReadWaitMode | SD I/O Read Wait operation mode. This parameter can be: 
  | 
| None | 
Definition at line 649 of file stm32f4xx_sdio.c.
| void SDIO_StartSDIOReadWait | ( | FunctionalState | NewState | ) | 
Starts the SD I/O Read Wait operation.
| NewState | new state of the Start SDIO Read Wait operation. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 619 of file stm32f4xx_sdio.c.
| void SDIO_StopSDIOReadWait | ( | FunctionalState | NewState | ) | 
Stops the SD I/O Read Wait operation.
| NewState | new state of the Stop SDIO Read Wait operation. This parameter can be: ENABLE or DISABLE. | 
| None | 
Definition at line 633 of file stm32f4xx_sdio.c.
| void SDIO_StructInit | ( | SDIO_InitTypeDef * | SDIO_InitStruct | ) | 
Fills each SDIO_InitStruct member with its default value.
| SDIO_InitStruct | pointer to an SDIO_InitTypeDef structure which will be initialized. | 
| None | 
Definition at line 317 of file stm32f4xx_sdio.c.
| void SDIO_WriteData | ( | uint32_t | Data | ) | 
Write one data word to Tx FIFO.
| Data | 32-bit data word to write. | 
| None | 
Definition at line 580 of file stm32f4xx_sdio.c.
 Here is the caller graph for this function: