HAL
HAL_SPI_Receive_DMA() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_SPI_Receive_DMA() function

Receive an amount of data in non-blocking mode with DMA.

Syntax

HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi,     uint8_t *pData,     uint16_t Size);
Implemented in stm32f4xx_hal_spi.c:1771

Arguments

hspi

pointer to a SPI_HandleTypeDef structure that contains the configuration information for SPI module.

pData

pointer to data buffer

Size

amount of data to be sent

Return value

HAL status

Notes

In case of MASTER mode and SPI_DIRECTION_2LINES direction, hdmatx shall be defined. When the CRC feature is enabled the pData Length must be Size + 1.

References

LocationText
stm32f4xx_hal_spi.c:1771
HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size)
stm32f4xx_hal_spi.h:679
HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);

Call Tree

Functions called by HAL_SPI_Receive_DMA()
HAL_SPI_Receive_DMA()
assert_failed()
all items filtered out
Type of HAL_SPI_Receive_DMA()
HAL_SPI_Receive_DMA()