STM32F439xx HAL User Manual
Functions
MMC Private Functions
MMC | MMC Exported Functions

Functions

static uint32_t MMC_InitCard (MMC_HandleTypeDef *hmmc)
 Initializes the mmc card.
static uint32_t MMC_PowerON (MMC_HandleTypeDef *hmmc)
 Enquires cards about their operating voltage and configures clock controls and stores MMC information that will be needed in future in the MMC handle.
static uint32_t MMC_SendStatus (MMC_HandleTypeDef *hmmc, uint32_t *pCardStatus)
 Returns the current card's status.
static HAL_StatusTypeDef MMC_PowerOFF (MMC_HandleTypeDef *hmmc)
 Turns the SDIO output signals off.
static HAL_StatusTypeDef MMC_Write_IT (MMC_HandleTypeDef *hmmc)
 Wrap up writing in non-blocking mode.
static HAL_StatusTypeDef MMC_Read_IT (MMC_HandleTypeDef *hmmc)
 Wrap up reading in non-blocking mode.
static void MMC_DMATransmitCplt (DMA_HandleTypeDef *hdma)
 DMA MMC transmit process complete callback.
static void MMC_DMAReceiveCplt (DMA_HandleTypeDef *hdma)
 DMA MMC receive process complete callback.
static void MMC_DMAError (DMA_HandleTypeDef *hdma)
 DMA MMC communication error callback.
static void MMC_DMATxAbort (DMA_HandleTypeDef *hdma)
 DMA MMC Tx Abort callback.
static void MMC_DMARxAbort (DMA_HandleTypeDef *hdma)
 DMA MMC Rx Abort callback.

Function Documentation

static void MMC_DMAError ( DMA_HandleTypeDef hdma) [static]
static void MMC_DMAReceiveCplt ( DMA_HandleTypeDef hdma) [static]
static void MMC_DMARxAbort ( DMA_HandleTypeDef hdma) [static]
static void MMC_DMATransmitCplt ( DMA_HandleTypeDef hdma) [static]

DMA MMC transmit process complete callback.

Parameters:
hdmaDMA handle
Return values:
None

Definition at line 2211 of file stm32f4xx_hal_mmc.c.

References __HAL_MMC_ENABLE_IT, and __DMA_HandleTypeDef::Parent.

Referenced by HAL_MMC_WriteBlocks_DMA().

static void MMC_DMATxAbort ( DMA_HandleTypeDef hdma) [static]
static uint32_t MMC_InitCard ( MMC_HandleTypeDef hmmc) [static]
static HAL_StatusTypeDef MMC_PowerOFF ( MMC_HandleTypeDef hmmc) [static]

Turns the SDIO output signals off.

Parameters:
hmmcPointer to MMC handle
Return values:
HALstatus

Definition at line 2499 of file stm32f4xx_hal_mmc.c.

References MMC_HandleTypeDef::Instance.

Referenced by HAL_MMC_DeInit().

static uint32_t MMC_PowerON ( MMC_HandleTypeDef hmmc) [static]

Enquires cards about their operating voltage and configures clock controls and stores MMC information that will be needed in future in the MMC handle.

Parameters:
hmmcPointer to MMC handle
Return values:
errorstate

Definition at line 2445 of file stm32f4xx_hal_mmc.c.

References HAL_MMC_CardInfoTypeDef::CardType, eMMC_HIGH_VOLTAGE_RANGE, HAL_MMC_ERROR_INVALID_VOLTRANGE, HAL_MMC_ERROR_NONE, HAL_MMC_ERROR_UNSUPPORTED_FEATURE, MMC_HandleTypeDef::Instance, MMC_DUAL_VOLTAGE_CARD, MMC_HIGH_VOLTAGE_CARD, MMC_HIGH_VOLTAGE_RANGE, and MMC_HandleTypeDef::MmcCard.

Referenced by HAL_MMC_InitCard().

static HAL_StatusTypeDef MMC_Read_IT ( MMC_HandleTypeDef hmmc) [static]

Wrap up reading in non-blocking mode.

Parameters:
hmmcpointer to a MMC_HandleTypeDef structure that contains the configuration information.
Return values:
HALstatus

Definition at line 2542 of file stm32f4xx_hal_mmc.c.

References MMC_HandleTypeDef::Instance, and MMC_HandleTypeDef::pRxBuffPtr.

Referenced by HAL_MMC_IRQHandler().

static uint32_t MMC_SendStatus ( MMC_HandleTypeDef hmmc,
uint32_t *  pCardStatus 
) [static]

Returns the current card's status.

Parameters:
hmmcPointer to MMC handle
pCardStatuspointer to the buffer that will contain the MMC card status (Card Status register)
Return values:
errorstate

Definition at line 2514 of file stm32f4xx_hal_mmc.c.

References HAL_MMC_ERROR_NONE, HAL_MMC_ERROR_PARAM, MMC_HandleTypeDef::Instance, MMC_HandleTypeDef::MmcCard, and HAL_MMC_CardInfoTypeDef::RelCardAdd.

Referenced by HAL_MMC_GetCardState().

static HAL_StatusTypeDef MMC_Write_IT ( MMC_HandleTypeDef hmmc) [static]

Wrap up writing in non-blocking mode.

Parameters:
hmmcpointer to a MMC_HandleTypeDef structure that contains the configuration information.
Return values:
HALstatus

Definition at line 2566 of file stm32f4xx_hal_mmc.c.

References MMC_HandleTypeDef::Instance, and MMC_HandleTypeDef::pTxBuffPtr.

Referenced by HAL_MMC_IRQHandler().