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

HAL_SPI_Abort_IT() function

Abort ongoing transfer (Interrupt 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_IT (in case of transfer in DMA mode) - Set handle State to READY - At abort completion, call user abort complete callback This procedure is executed in Interrupt mode, meaning that abort procedure could be considered as completed only when user abort complete callback is executed (not when exiting function).

Call Tree

Functions called by HAL_SPI_Abort_IT()
HAL_SPI_Abort_IT()
Data read by HAL_SPI_Abort_IT()
Data written by HAL_SPI_Abort_IT()
HAL_SPI_Abort_IT()
HAL_SPI_Abort_IT()::errorcode
HAL_SPI_Abort_IT()::abortcplt
HAL_SPI_Abort_IT()::count
HAL_SPI_Abort_IT()::resetcount
HAL_SPI_Abort_IT()::tmpreg_ovr
HAL_SPI_Abort_IT()::tmpreg_fre
all items filtered out
Type of HAL_SPI_Abort_IT()
HAL_SPI_Abort_IT()
uint32_t
all items filtered out