CARME-M4 BSP  V1.5
Initialization and Configuration functions

Initialization and Configuration functions. More...

+ Collaboration diagram for Initialization and Configuration functions:

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
NewStatenew state of the SDIO Clock. This parameter can be: ENABLE or DISABLE.
Return values
None

Definition at line 334 of file stm32f4xx_sdio.c.

+ Here is the caller graph for this function:

void SDIO_DeInit ( void  )

Deinitializes the SDIO peripheral registers to their default reset values.

Parameters
None
Return values
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:

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

Definition at line 367 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.

Parameters
SDIO_InitStruct: pointer to a SDIO_InitTypeDef structure that contains the configuration information for the SDIO peripheral.
Return values
None

Definition at line 279 of file stm32f4xx_sdio.c.

+ Here is the caller graph for this function:

void SDIO_SetPowerState ( uint32_t  SDIO_PowerState)

Sets the power status of the controller.

Parameters
SDIO_PowerStatenew 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

Definition at line 350 of file stm32f4xx_sdio.c.

+ Here is the caller graph for this function:

void SDIO_StructInit ( SDIO_InitTypeDef SDIO_InitStruct)

Fills each SDIO_InitStruct member with its default value.

Parameters
SDIO_InitStructpointer to an SDIO_InitTypeDef structure which will be initialized.
Return values
None

Definition at line 317 of file stm32f4xx_sdio.c.