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

HAL_SPI_Abort() function

Abort ongoing transfer (blocking mode).

Arguments

hspi

SPI handle.

Return value

HAL status

Notes

This procedure could be used for aborting any ongoing transfer (Tx and Rx), started in Interrupt or DMA mode. This procedure performs following operations : - Disable SPI Interrupts (depending of transfer direction) - Disable the DMA transfer in the peripheral register (if enabled) - Abort DMA transfer by calling HAL_DMA_Abort (in case of transfer in DMA mode) - Set handle State to READY This procedure is executed in blocking mode : when exiting function, Abort is considered as completed.

Call Tree

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