STM32F2 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F2 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
Initialization and Configuration functions

Initialization and Configuration functions. More...

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

Detailed Description

Initialization and Configuration functions.

 ===============================================================================
                 Initialization and Configuration functions
 ===============================================================================

Function Documentation

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
None
void SDIO_DeInit ( void  )

Deinitializes the SDIO peripheral registers to their default reset values.

Parameters
None
Return values
None
uint32_t SDIO_GetPowerState ( void  )

Gets the power status of the controller.

Parameters
None
Return values
Powerstatus of the controller. The returned value can be one of the following values:
  • 0x00: Power OFF
  • 0x02: Power UP
  • 0x03: Power ON
void SDIO_Init ( SDIO_InitTypeDef SDIO_InitStruct)

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
None
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
None
void SDIO_StructInit ( SDIO_InitTypeDef SDIO_InitStruct)

Fills each SDIO_InitStruct member with its default value.

Parameters
SDIO_InitStruct,:pointer to an SDIO_InitTypeDef structure which will be initialized.
Return values
None