management functions
More...
management functions
==============================================================================
##### Peripheral Control functions #####
==============================================================================
[..]
This subsection provides a set of functions allowing to control the MMC card
operations and get the related information
◆ HAL_MMC_Abort()
Abort the current transfer and disable the MMC.
- Parameters
-
hmmc | pointer to a MMC_HandleTypeDef structure that contains the configuration information for MMC module. |
- Return values
-
Definition at line 2416 of file stm32f4xx_hal_mmc.c.
◆ HAL_MMC_Abort_IT()
Abort the current transfer and disable the MMC (IT mode).
- Parameters
-
hmmc | pointer to a MMC_HandleTypeDef structure that contains the configuration information for MMC module. |
- Return values
-
Definition at line 2473 of file stm32f4xx_hal_mmc.c.
◆ HAL_MMC_ConfigWideBusOperation()
HAL_StatusTypeDef HAL_MMC_ConfigWideBusOperation |
( |
MMC_HandleTypeDef * |
hmmc, |
|
|
uint32_t |
WideMode |
|
) |
| |
Enables wide bus operation for the requested card if supported by card.
- Parameters
-
hmmc | Pointer to MMC handle |
WideMode | Specifies the MMC card wide bus mode This parameter can be one of the following values:
- SDIO_BUS_WIDE_8B: 8-bit data transfer
- SDIO_BUS_WIDE_4B: 4-bit data transfer
- SDIO_BUS_WIDE_1B: 1-bit data transfer
|
- Return values
-
Definition at line 2294 of file stm32f4xx_hal_mmc.c.
◆ HAL_MMC_GetCardCID()
Returns information the information of the card which are stored on the CID register.
- Parameters
-
hmmc | Pointer to MMC handle |
pCID | Pointer to a HAL_MMC_CIDTypedef structure that contains all CID register parameters |
- Return values
-
Definition at line 2004 of file stm32f4xx_hal_mmc.c.
◆ HAL_MMC_GetCardCSD()
Returns information the information of the card which are stored on the CSD register.
- Parameters
-
hmmc | Pointer to MMC handle |
pCSD | Pointer to a HAL_MMC_CardCSDTypeDef structure that contains all CSD register parameters |
- Return values
-
< 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
-
hmmc | Pointer to MMC handle |
pExtCSD | Pointer to a memory area (512 bytes) that contains all Extended CSD register parameters |
Timeout | Specify timeout value |
- Return values
-
Definition at line 2176 of file stm32f4xx_hal_mmc.c.
◆ HAL_MMC_GetCardInfo()
Gets the MMC card info.
- Parameters
-
hmmc | Pointer to MMC handle |
pCardInfo | Pointer to the HAL_MMC_CardInfoTypeDef structure that will contain the MMC card status information |
- Return values
-
Definition at line 2154 of file stm32f4xx_hal_mmc.c.
◆ HAL_MMC_GetCardState()
Gets the current mmc card data state.
- Parameters
-
hmmc | pointer to MMC handle |
- Return values
-
Definition at line 2393 of file stm32f4xx_hal_mmc.c.