|
STM32L4xx_HAL_Driver
1.14.0
|
SD card Extended HAL module driver. This file provides firmware functions to manage the following functionalities of the Secure Digital (SD) peripheral: More...
Go to the source code of this file.
Functions | |
| uint32_t | SD_HighSpeed (SD_HandleTypeDef *hsd) |
| Switches the SD card to High Speed mode. This API must be used after "Transfer State". More... | |
| uint32_t | HAL_SDEx_HighSpeed (SD_HandleTypeDef *hsd) |
| Switches the SD card to High Speed mode. This API must be used after "Transfer State". More... | |
| void | HAL_SDEx_DriveTransceiver_1_8V_Callback (FlagStatus status) |
| Enable/Disable the SD Transceiver 1.8V Mode Callback. More... | |
| HAL_StatusTypeDef | HAL_SDEx_ConfigDMAMultiBuffer (SD_HandleTypeDef *hsd, 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_SDEx_ReadBlocksDMAMultiBuffer (SD_HandleTypeDef *hsd, 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_SDEx_ConfigDMAMultiBuffer before call this function. More... | |
| HAL_StatusTypeDef | HAL_SDEx_WriteBlocksDMAMultiBuffer (SD_HandleTypeDef *hsd, 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_SDEx_ConfigDMAMultiBuffer before call this function. More... | |
| HAL_StatusTypeDef | HAL_SDEx_ChangeDMABuffer (SD_HandleTypeDef *hsd, HAL_SDEx_DMABuffer_MemoryTypeDef Buffer, uint32_t *pDataBuffer) |
| Change the DMA Buffer0 or Buffer1 address on the fly. More... | |
| void | HAL_SDEx_Read_DMADoubleBuffer0CpltCallback (SD_HandleTypeDef *hsd) |
| Read DMA Buffer 0 Transfer completed callbacks. More... | |
| void | HAL_SDEx_Read_DMADoubleBuffer1CpltCallback (SD_HandleTypeDef *hsd) |
| Read DMA Buffer 1 Transfer completed callbacks. More... | |
| void | HAL_SDEx_Write_DMADoubleBuffer0CpltCallback (SD_HandleTypeDef *hsd) |
| Write DMA Buffer 0 Transfer completed callbacks. More... | |
| void | HAL_SDEx_Write_DMADoubleBuffer1CpltCallback (SD_HandleTypeDef *hsd) |
| Write DMA Buffer 1 Transfer completed callbacks. More... | |
SD card Extended HAL module driver. This file provides firmware functions to manage the following functionalities of the Secure Digital (SD) peripheral:
==============================================================================
##### How to use this driver #####
==============================================================================
[..]
The SD Extension HAL driver can be used as follows:
(+) Set card in High Speed mode using HAL_SDEx_HighSpeed() function.
(+) Configure Buffer0 and Buffer1 start address and Buffer size using HAL_SDEx_ConfigDMAMultiBuffer() function.
(+) Start Read and Write for multibuffer mode using HAL_SDEx_ReadBlocksDMAMultiBuffer() and HAL_SDEx_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_sd_ex.c.