HAL + 0/12 examples
CodeScope will show references to HAL_SD_ReadBlocks_DMA() from the following samples and libraries:
 
Symbols
loading...
Files
loading...

HAL_SD_ReadBlocks_DMA() function

Reads block(s) from a specified address in a card. The Data transfer is managed by DMA mode.

Syntax

HAL_StatusTypeDef HAL_SD_ReadBlocks_DMA(SD_HandleTypeDef *hsd,     uint8_t *pData,     uint32_t BlockAdd,     uint32_t NumberOfBlocks);
Implemented in stm32f4xx_hal_sd.c:1174

Arguments

hsd

Pointer SD handle

pData

Pointer to the buffer that will contain the received data

BlockAdd

Block Address from where data is to be read

NumberOfBlocks

Number of blocks to read.

Return value

HAL status

Notes

This API should be followed by a check on the card state through HAL_SD_GetCardState(). You could also check the DMA transfer process through the SD Rx interrupt event.

Examples

HAL_SD_ReadBlocks_DMA() is referenced by 12 libraries and example projects.

References

LocationText
stm32f4xx_hal_sd.c:1174
HAL_StatusTypeDef HAL_SD_ReadBlocks_DMA(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks)
stm32f4xx_hal_sd.h:615
HAL_StatusTypeDef HAL_SD_ReadBlocks_DMA(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks);

Call Tree

Functions called by HAL_SD_ReadBlocks_DMA()
HAL_SD_ReadBlocks_DMA()
Type of HAL_SD_ReadBlocks_DMA()
HAL_SD_ReadBlocks_DMA()
uint32_t
all items filtered out