STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_sd_ex.h File Reference

Header file of SD HAL extended module. More...

Go to the source code of this file.

Functions

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...
 

Variables

 C
 

Detailed Description

Header file of SD HAL extended module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

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.h.

Variable Documentation

◆ C

C
Initial value:
{
#endif
#if defined(STM32L4R5xx) || defined(STM32L4R7xx) || defined(STM32L4R9xx) || defined(STM32L4S5xx) || defined(STM32L4S7xx) || defined(STM32L4S9xx)
typedef enum
{
SD_DMA_BUFFER0 = 0x00U,
SD_DMA_BUFFER1 = 0x01U,
}HAL_SDEx_DMABuffer_MemoryTypeDef
This file contains HAL common defines, enumeration, macros and structures definitions.