|
MG32F157 Standard Peripherals Firmware Library
|
This file provides all the SDIO firmware functions. More...
Functions | |
| void | SDIO_DeInit (SDIO_TypeDef *SDIOx) |
| Deinitializes the SDIOx peripheral registers to their default reset values. More... | |
| void | SDIO_Init (SDIO_TypeDef *SDIOx, SDIO_InitTypeDef *SDIO_InitStruct) |
| Initializes the SDIO according to the specified parameters in the SDIO_InitTypeDef and create the associated handle. More... | |
| void | SDIO_ConfigBusWidth (SDIO_TypeDef *SDIOx, uint32_t BusWidth) |
| Configure the width of the SDIO data bus. More... | |
| uint32_t | SDIO_ReadFIFO (SDIO_TypeDef *SDIOx) |
| Read data (word) from Rx FIFO in blocking mode (polling) More... | |
| void | SDIO_WriteFIFO (SDIO_TypeDef *SDIOx, uint32_t *pWriteData) |
| Write data (word) to Tx FIFO in blocking mode (polling) More... | |
| void | SDIO_PowerON (SDIO_TypeDef *SDIOx) |
| Set SDIO Power state to ON. More... | |
| void | SDIO_PowerOFF (SDIO_TypeDef *SDIOx) |
| Set SDIO Power state to OFF. More... | |
| uint32_t | SDIO_GetPower (SDIO_TypeDef *SDIOx) |
| Get SDIO Power state. More... | |
| void | SDIO_ClockCmd (SDIO_TypeDef *SDIOx, FunctionalState NewState) |
| Enables or disables the SDIO Clock. More... | |
| void | SDIO_ClockUpdate (SDIO_TypeDef *SDIOx) |
| Update the SDIO Clock. More... | |
| void | SDIO_ControlReset (SDIO_TypeDef *SDIOx) |
| Reset the SDIO Controller. More... | |
| void | SDIO_DMACmd (SDIO_TypeDef *SDIOx, FunctionalState NewState) |
| Enables or disables the SDIO DMA request. More... | |
| void | SDIO_ITConfig (SDIO_TypeDef *SDIOx, uint32_t SDIO_IT, FunctionalState NewState) |
| Enables or disables the SDIO interrupts. More... | |
| FlagStatus | SDIO_GetFlagStatus (SDIO_TypeDef *SDIOx, uint32_t SDIO_FLAG) |
| Checks whether the specified SDIO flag is set or not. More... | |
| void | SDIO_ClearFlagStatus (SDIO_TypeDef *SDIOx, uint32_t SDIO_FLAG) |
| Clears the SDIO's pending flags. More... | |
| ITStatus | SDIO_GetITStatus (SDIO_TypeDef *SDIOx, uint32_t SDIO_IT) |
| Checks whether the specified SDIO interrupt has occurred or not. More... | |
| void | SDIO_ClearITPendingBit (SDIO_TypeDef *SDIOx, uint32_t SDIO_IT) |
| Clears the SDIO's interrupt pending bits. More... | |
| void | SDIO_SendCommand (SDIO_TypeDef *SDIOx, SDIO_CmdInitTypeDef *Command) |
| Configure the SDIO command path according to the specified parameters in SDIO_CmdInitTypeDef structure and send the command. More... | |
| uint8_t | SDIO_GetCommandResponse (SDIO_TypeDef *SDIOx) |
| Return the command index of last command for which response received. More... | |
| uint32_t | SDIO_GetResponse (SDIO_TypeDef *SDIOx, uint32_t Response) |
| Return the response received from the card for the last command. More... | |
| void | SDIO_ConfigData (SDIO_TypeDef *SDIOx, SDIO_DataInitTypeDef *Data) |
| Configure the SDIO data path according to the specified parameters in the SDIO_DataInitTypeDef. More... | |
This file provides all the SDIO firmware functions.