STM32F4xx_HAL_Driver  1.8.3
MMC card related functions
+ Collaboration diagram for MMC card related functions:

Functions

HAL_MMC_CardStateTypeDef HAL_MMC_GetCardState (MMC_HandleTypeDef *hmmc)
 Gets the current mmc card data state. More...
 
HAL_StatusTypeDef HAL_MMC_GetCardCID (MMC_HandleTypeDef *hmmc, HAL_MMC_CardCIDTypeDef *pCID)
 Returns information the information of the card which are stored on the CID register. More...
 
HAL_StatusTypeDef HAL_MMC_GetCardCSD (MMC_HandleTypeDef *hmmc, HAL_MMC_CardCSDTypeDef *pCSD)
 Returns information the information of the card which are stored on the CSD register. More...
 
HAL_StatusTypeDef HAL_MMC_GetCardInfo (MMC_HandleTypeDef *hmmc, HAL_MMC_CardInfoTypeDef *pCardInfo)
 Gets the MMC card info. More...
 
HAL_StatusTypeDef HAL_MMC_GetCardExtCSD (MMC_HandleTypeDef *hmmc, uint32_t *pExtCSD, uint32_t Timeout)
 Returns information the information of the card which are stored on the Extended CSD register. More...
 

Detailed Description

Function Documentation

◆ HAL_MMC_GetCardCID()

HAL_StatusTypeDef HAL_MMC_GetCardCID ( MMC_HandleTypeDef hmmc,
HAL_MMC_CardCIDTypeDef pCID 
)

Returns information the information of the card which are stored on the CID register.

Parameters
hmmcPointer to MMC handle
pCIDPointer to a HAL_MMC_CIDTypedef structure that contains all CID register parameters
Return values
HALstatus

Definition at line 2004 of file stm32f4xx_hal_mmc.c.

◆ HAL_MMC_GetCardCSD()

HAL_StatusTypeDef HAL_MMC_GetCardCSD ( MMC_HandleTypeDef hmmc,
HAL_MMC_CardCSDTypeDef pCSD 
)

Returns information the information of the card which are stored on the CSD register.

Parameters
hmmcPointer to MMC handle
pCSDPointer to a HAL_MMC_CardCSDTypeDef structure that contains all CSD register parameters
Return values
HALstatus

< Reserved

Definition at line 2037 of file stm32f4xx_hal_mmc.c.

◆ HAL_MMC_GetCardExtCSD()

HAL_StatusTypeDef HAL_MMC_GetCardExtCSD ( MMC_HandleTypeDef hmmc,
uint32_t *  pExtCSD,
uint32_t  Timeout 
)

Returns information the information of the card which are stored on the Extended CSD register.

Parameters
hmmcPointer to MMC handle
pExtCSDPointer to a memory area (512 bytes) that contains all Extended CSD register parameters
TimeoutSpecify timeout value
Return values
HALstatus

Definition at line 2176 of file stm32f4xx_hal_mmc.c.

◆ HAL_MMC_GetCardInfo()

HAL_StatusTypeDef HAL_MMC_GetCardInfo ( MMC_HandleTypeDef hmmc,
HAL_MMC_CardInfoTypeDef pCardInfo 
)

Gets the MMC card info.

Parameters
hmmcPointer to MMC handle
pCardInfoPointer to the HAL_MMC_CardInfoTypeDef structure that will contain the MMC card status information
Return values
HALstatus

Definition at line 2154 of file stm32f4xx_hal_mmc.c.

◆ HAL_MMC_GetCardState()

HAL_MMC_CardStateTypeDef HAL_MMC_GetCardState ( MMC_HandleTypeDef hmmc)

Gets the current mmc card data state.

Parameters
hmmcpointer to MMC handle
Return values
Cardstate

Definition at line 2393 of file stm32f4xx_hal_mmc.c.