STM32L4xx_HAL_Driver  1.14.0
Peripheral State and Errors functions

Functions

HAL_MMC_StateTypeDef HAL_MMC_GetState (MMC_HandleTypeDef *hmmc)
 return the MMC state More...
 
uint32_t HAL_MMC_GetError (MMC_HandleTypeDef *hmmc)
 Return the MMC error code. More...
 

Detailed Description

Function Documentation

◆ HAL_MMC_GetError()

uint32_t HAL_MMC_GetError ( MMC_HandleTypeDef hmmc)

Return the MMC error code.

Parameters
hmmc: Pointer to a MMC_HandleTypeDef structure that contains the configuration information.
Return values
MMCError Code

Definition at line 1946 of file stm32l4xx_hal_mmc.c.

1947 {
1948  return hmmc->ErrorCode;
1949 }

◆ HAL_MMC_GetState()

HAL_MMC_StateTypeDef HAL_MMC_GetState ( MMC_HandleTypeDef hmmc)

return the MMC state

Parameters
hmmcPointer to mmc handle
Return values
HALstate

Definition at line 1935 of file stm32l4xx_hal_mmc.c.

1936 {
1937  return hmmc->State;
1938 }