Initialization and Configuration functions.
More...
Initialization and Configuration functions.
===============================================================================
Initialization and Configuration functions
===============================================================================
void SDIO_ClockCmd |
( |
FunctionalState |
NewState | ) |
|
Enables or disables the SDIO Clock.
- Parameters
-
NewState,: | new state of the SDIO Clock. This parameter can be: ENABLE or DISABLE. |
- Return values
-
void SDIO_DeInit |
( |
void |
| ) |
|
Deinitializes the SDIO peripheral registers to their default reset values.
- Parameters
-
- Return values
-
uint32_t SDIO_GetPowerState |
( |
void |
| ) |
|
Gets the power status of the controller.
- Parameters
-
- Return values
-
Power | status of the controller. The returned value can be one of the following values:
- 0x00: Power OFF
- 0x02: Power UP
- 0x03: Power ON
|
Initializes the SDIO peripheral according to the specified parameters in the SDIO_InitStruct.
- Parameters
-
SDIO_InitStruct | : pointer to a SDIO_InitTypeDef structure that contains the configuration information for the SDIO peripheral. |
- Return values
-
void SDIO_SetPowerState |
( |
uint32_t |
SDIO_PowerState | ) |
|
Sets the power status of the controller.
- Parameters
-
SDIO_PowerState,: | new state of the Power state. This parameter can be one of the following values:
- SDIO_PowerState_OFF: SDIO Power OFF
- SDIO_PowerState_ON: SDIO Power ON
|
- Return values
-
Fills each SDIO_InitStruct member with its default value.
- Parameters
-
SDIO_InitStruct,: | pointer to an SDIO_InitTypeDef structure which will be initialized. |
- Return values
-