STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Initialization and de-initialization functions

Initialization and de-initialization functions. More...

Collaboration diagram for Initialization and de-initialization functions:

Functions

HAL_StatusTypeDef HAL_MMC_Init (MMC_HandleTypeDef *hmmc)
 Initializes the MMC according to the specified parameters in the MMC_HandleTypeDef and create the associated handle.
 
HAL_StatusTypeDef HAL_MMC_InitCard (MMC_HandleTypeDef *hmmc)
 Initializes the MMC Card.
 
HAL_StatusTypeDef HAL_MMC_DeInit (MMC_HandleTypeDef *hmmc)
 De-Initializes the MMC card.
 
void HAL_MMC_MspInit (MMC_HandleTypeDef *hmmc)
 Initializes the MMC MSP.
 
void HAL_MMC_MspDeInit (MMC_HandleTypeDef *hmmc)
 De-Initialize MMC MSP.
 

Detailed Description

Initialization and de-initialization functions.

  ==============================================================================
          ##### Initialization and de-initialization functions #####
  ==============================================================================
  [..]
    This section provides functions allowing to initialize/de-initialize the MMC
    card device to be ready for use.

Function Documentation

◆ HAL_MMC_Init()

◆ HAL_MMC_InitCard()

HAL_StatusTypeDef HAL_MMC_InitCard ( MMC_HandleTypeDef * hmmc)

#include <stm32f4xx_hal_mmc.h>

Initializes the MMC Card.

Parameters
hmmcPointer to MMC handle
Note
This function initializes the MMC card. It could be used when a card re-initialization is needed.
Return values
HALstatus

Definition at line 429 of file stm32f4xx_hal_mmc.c.

References __HAL_MMC_CLEAR_FLAG, __HAL_MMC_DISABLE, __HAL_MMC_ENABLE, MMC_HandleTypeDef::ErrorCode, HAL_Delay(), HAL_ERROR, HAL_MMC_ERROR_NONE, HAL_MMC_STATE_READY, HAL_OK, MMC_HandleTypeDef::Instance, MMC_BLOCKSIZE, MMC_InitCard(), MMC_InitTypeDef, MMC_PowerON(), and MMC_HandleTypeDef::State.

Referenced by HAL_MMC_Init().

◆ HAL_MMC_DeInit()

HAL_StatusTypeDef HAL_MMC_DeInit ( MMC_HandleTypeDef * hmmc)

#include <stm32f4xx_hal_mmc.h>

De-Initializes the MMC card.

Parameters
hmmcPointer to MMC handle
Return values
HALstatus

Definition at line 503 of file stm32f4xx_hal_mmc.c.

References assert_param, MMC_HandleTypeDef::ErrorCode, HAL_ERROR, HAL_MMC_ERROR_NONE, HAL_MMC_MspDeInit(), HAL_MMC_STATE_BUSY, HAL_MMC_STATE_RESET, HAL_OK, MMC_HandleTypeDef::Instance, MMC_PowerOFF(), and MMC_HandleTypeDef::State.

◆ HAL_MMC_MspInit()

__weak void HAL_MMC_MspInit ( MMC_HandleTypeDef * hmmc)

#include <stm32f4xx_hal_mmc.h>

Initializes the MMC MSP.

Parameters
hmmcPointer to MMC handle
Return values
None

Definition at line 544 of file stm32f4xx_hal_mmc.c.

References UNUSED.

Referenced by HAL_MMC_Init().

◆ HAL_MMC_MspDeInit()

__weak void HAL_MMC_MspDeInit ( MMC_HandleTypeDef * hmmc)

#include <stm32f4xx_hal_mmc.h>

De-Initialize MMC MSP.

Parameters
hmmcPointer to MMC handle
Return values
None

Definition at line 559 of file stm32f4xx_hal_mmc.c.

References UNUSED.

Referenced by HAL_MMC_DeInit().