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

HAL_UART_AbortTransmit() function

Abort ongoing Transmit transfer (blocking mode).

Arguments

huart

UART handle.

Return value

HAL status

Notes

This procedure could be used for aborting any ongoing Tx transfer started in Interrupt or DMA mode. This procedure performs following operations : - Disable UART Interrupts (Tx) - 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_UART_AbortTransmit()
HAL_UART_AbortTransmit()
Type of HAL_UART_AbortTransmit()
HAL_UART_AbortTransmit()
uint32_t
all items filtered out