|
STM32L4xx_HAL_Driver
1.14.0
|
MMC card Extended HAL module driver. This file provides firmware functions to manage the following functionalities of the Secure Digital (MMC) peripheral: More...
Go to the source code of this file.
Functions | |
| HAL_StatusTypeDef | HAL_MMCEx_ConfigDMAMultiBuffer (MMC_HandleTypeDef *hmmc, uint32_t *pDataBuffer0, uint32_t *pDataBuffer1, uint32_t BufferSize) |
| Configure DMA Dual Buffer mode. The Data transfer is managed by an Internal DMA. More... | |
| HAL_StatusTypeDef | HAL_MMCEx_ReadBlocksDMAMultiBuffer (MMC_HandleTypeDef *hmmc, uint32_t BlockAdd, uint32_t NumberOfBlocks) |
| Reads block(s) from a specified address in a card. The received Data will be stored in Buffer0 and Buffer1. Buffer0, Buffer1 and BufferSize need to be configured by function HAL_MMCEx_ConfigDMAMultiBuffer before call this function. More... | |
| HAL_StatusTypeDef | HAL_MMCEx_WriteBlocksDMAMultiBuffer (MMC_HandleTypeDef *hmmc, uint32_t BlockAdd, uint32_t NumberOfBlocks) |
| Write block(s) to a specified address in a card. The transfered Data are stored in Buffer0 and Buffer1. Buffer0, Buffer1 and BufferSize need to be configured by function HAL_MMCEx_ConfigDMAMultiBuffer before call this function. More... | |
| HAL_StatusTypeDef | HAL_MMCEx_ChangeDMABuffer (MMC_HandleTypeDef *hmmc, HAL_MMCEx_DMABuffer_MemoryTypeDef Buffer, uint32_t *pDataBuffer) |
| Change the DMA Buffer0 or Buffer1 address on the fly. More... | |
| __weak void | HAL_MMCEx_Read_DMADoubleBuffer0CpltCallback (MMC_HandleTypeDef *hmmc) |
| Read DMA Buffer 0 Transfer completed callbacks. More... | |
| __weak void | HAL_MMCEx_Read_DMADoubleBuffer1CpltCallback (MMC_HandleTypeDef *hmmc) |
| Read DMA Buffer 1 Transfer completed callbacks. More... | |
| __weak void | HAL_MMCEx_Write_DMADoubleBuffer0CpltCallback (MMC_HandleTypeDef *hmmc) |
| Write DMA Buffer 0 Transfer completed callbacks. More... | |
| __weak void | HAL_MMCEx_Write_DMADoubleBuffer1CpltCallback (MMC_HandleTypeDef *hmmc) |
| Write DMA Buffer 1 Transfer completed callbacks. More... | |
MMC card Extended HAL module driver. This file provides firmware functions to manage the following functionalities of the Secure Digital (MMC) peripheral:
==============================================================================
##### How to use this driver #####
==============================================================================
[..]
The MMC Extension HAL driver can be used as follows:
(+) Configure Buffer0 and Buffer1 start address and Buffer size using HAL_MMCEx_ConfigDMAMultiBuffer() function.
(+) Start Read and Write for multibuffer mode using HAL_MMCEx_ReadBlocksDMAMultiBuffer() and HAL_MMCEx_WriteBlocksDMAMultiBuffer() functions.This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32l4xx_hal_mmc_ex.c.