HAL_UART_DMAStop
HAL_StatusTypeDef HAL_UART_DMAStop
(UART_HandleTypeDef * huart)
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
HAL_UART_Abort
HAL_StatusTypeDef HAL_UART_Abort
(UART_HandleTypeDef * huart)
Abort ongoing transfers (blocking 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 (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_AbortTransmit
HAL_StatusTypeDef HAL_UART_AbortTransmit
(UART_HandleTypeDef * huart)
Abort ongoing Transmit transfer (blocking 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 (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_AbortReceive
HAL_StatusTypeDef HAL_UART_AbortReceive
(UART_HandleTypeDef * huart)
Abort ongoing Receive transfer (blocking mode).