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
-
Definition at line 334 of file stm32f4xx_sdio.c.
void SDIO_DeInit |
( |
void |
| ) |
|
Deinitializes the SDIO peripheral registers to their default reset values.
- Parameters
-
- Return values
-
Definition at line 266 of file stm32f4xx_sdio.c.
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
|
Definition at line 367 of file stm32f4xx_sdio.c.
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
-
Definition at line 279 of file stm32f4xx_sdio.c.
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
-
Definition at line 350 of file stm32f4xx_sdio.c.
Fills each SDIO_InitStruct member with its default value.
- Parameters
-
SDIO_InitStruct | pointer to an SDIO_InitTypeDef structure which will be initialized. |
- Return values
-
Definition at line 317 of file stm32f4xx_sdio.c.