husart: pointer to a USART_HandleTypeDef structure that
contains the configuration information for the specified
USART module.
HAL_USART_DMAResume
HAL_StatusTypeDef HAL_USART_DMAResume
(USART_HandleTypeDef * husart)
Resumes the DMA Transfer.
husart: pointer to a USART_HandleTypeDef structure that
contains the configuration information for the specified
USART module.
HAL_USART_DMAStop
HAL_StatusTypeDef HAL_USART_DMAStop
(USART_HandleTypeDef * husart)
husart: pointer to a USART_HandleTypeDef structure that
contains the configuration information for the specified
USART module.
HAL_USART_Abort
HAL_StatusTypeDef HAL_USART_Abort
(USART_HandleTypeDef * husart)
Abort ongoing transfer (blocking mode).
This procedure could be used for aborting any ongoing
transfer (either Tx or Rx, as described by TransferType
parameter) started in Interrupt or DMA mode. This procedure
performs following operations : Disable PPP 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.
HAL_USART_Abort_IT
HAL_StatusTypeDef HAL_USART_Abort_IT