STM32H735xx HAL User Manual
|
Initialization and de-initialization functions. More...
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. | |
__weak void | HAL_MMC_MspInit (MMC_HandleTypeDef *hmmc) |
Initializes the MMC MSP. | |
__weak void | HAL_MMC_MspDeInit (MMC_HandleTypeDef *hmmc) |
De-Initialize MMC MSP. |
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.
HAL_StatusTypeDef HAL_MMC_DeInit | ( | MMC_HandleTypeDef * | hmmc | ) |
De-Initializes the MMC card.
hmmc,: | Pointer to MMC handle |
HAL | status |
Definition at line 499 of file stm32h7xx_hal_mmc.c.
References assert_param, __MMC_HandleTypeDef::ErrorCode, HAL_MMC_ERROR_NONE, HAL_MMC_MspDeInit(), HAL_MMC_STATE_BUSY, HAL_MMC_STATE_RESET, __MMC_HandleTypeDef::Instance, MMC_PowerOFF(), __MMC_HandleTypeDef::MspDeInitCallback, and __MMC_HandleTypeDef::State.
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.
hmmc,: | Pointer to the MMC handle |
HAL | status |
Definition at line 345 of file stm32h7xx_hal_mmc.c.
References __MMC_HandleTypeDef::AbortCpltCallback, assert_param, __MMC_HandleTypeDef::Context, __MMC_HandleTypeDef::ErrorCallback, __MMC_HandleTypeDef::ErrorCode, HAL_DMA_ERROR_NONE, HAL_MMC_AbortCallback(), HAL_MMC_ConfigWideBusOperation(), HAL_MMC_ErrorCallback(), HAL_MMC_InitCard(), HAL_MMC_MspInit(), HAL_MMC_RxCpltCallback(), HAL_MMC_STATE_BUSY, HAL_MMC_STATE_READY, HAL_MMC_STATE_RESET, HAL_MMC_TxCpltCallback(), HAL_MMCEx_Read_DMADoubleBuf0CpltCallback(), HAL_MMCEx_Read_DMADoubleBuf1CpltCallback(), HAL_MMCEx_Write_DMADoubleBuf0CpltCallback(), HAL_MMCEx_Write_DMADoubleBuf1CpltCallback(), __MMC_HandleTypeDef::Init, __MMC_HandleTypeDef::Instance, __MMC_HandleTypeDef::Lock, MMC_CONTEXT_NONE, __MMC_HandleTypeDef::MspInitCallback, __MMC_HandleTypeDef::Read_DMADblBuf0CpltCallback, __MMC_HandleTypeDef::Read_DMADblBuf1CpltCallback, __MMC_HandleTypeDef::RxCpltCallback, __MMC_HandleTypeDef::State, __MMC_HandleTypeDef::TxCpltCallback, __MMC_HandleTypeDef::Write_DMADblBuf0CpltCallback, and __MMC_HandleTypeDef::Write_DMADblBuf1CpltCallback.
HAL_StatusTypeDef HAL_MMC_InitCard | ( | MMC_HandleTypeDef * | hmmc | ) |
Initializes the MMC Card.
hmmc,: | Pointer to MMC handle |
HAL | status |
Definition at line 425 of file stm32h7xx_hal_mmc.c.
References __HAL_MMC_CLEAR_FLAG, __MMC_HandleTypeDef::ErrorCode, HAL_Delay(), HAL_MMC_ERROR_NONE, HAL_MMC_STATE_READY, HAL_RCCEx_GetPeriphCLKFreq(), __MDMA_HandleTypeDef::Init, __MMC_HandleTypeDef::Instance, MMC_BLOCKSIZE, MMC_INIT_FREQ, MMC_InitCard(), MMC_InitTypeDef, MMC_PowerON(), RCC_PERIPHCLK_SDMMC, and __MMC_HandleTypeDef::State.
Referenced by HAL_MMC_Init().
void HAL_MMC_MspDeInit | ( | MMC_HandleTypeDef * | hmmc | ) |
De-Initialize MMC MSP.
hmmc,: | Pointer to MMC handle |
None |
Definition at line 555 of file stm32h7xx_hal_mmc.c.
Referenced by HAL_MMC_DeInit(), and HAL_MMC_UnRegisterCallback().
void HAL_MMC_MspInit | ( | MMC_HandleTypeDef * | hmmc | ) |
Initializes the MMC MSP.
hmmc,: | Pointer to MMC handle |
None |
Definition at line 540 of file stm32h7xx_hal_mmc.c.
Referenced by HAL_MMC_Init(), and HAL_MMC_UnRegisterCallback().