This procedure could be used for aborting any ongoing
transfer started in Interrupt or DMA mode. This procedure
performs following operations : Disable PPP InterruptsDisable
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.
HAL_UART_Abort_IT
HAL_StatusTypeDef HAL_UART_Abort_IT
(UART_HandleTypeDef * huart)
Abort ongoing transfers (Interrupt mode).
This procedure could be used for aborting any ongoing
transfer started in Interrupt or DMA mode. This procedure
performs following operations : Disable PPP InterruptsDisable
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 READYAt 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).
HAL_UART_AbortTransmit_IT
HAL_StatusTypeDef HAL_UART_AbortTransmit_IT
(UART_HandleTypeDef * huart)
Abort ongoing Transmit transfer (Interrupt mode).
This procedure could be used for aborting any ongoing
transfer started in Interrupt or DMA mode. This procedure
performs following operations : Disable PPP InterruptsDisable
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 READYAt 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).