Hal_Usart_Dmaresume; Hal_Usart_Dmastop; Hal_Usart_Abort; Hal_Usart_Abort_It - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
Function description
Parameters
Return values

HAL_USART_DMAResume

Function name
Function description
Parameters
Return values

HAL_USART_DMAStop

Function name
Function description
Parameters
Return values

HAL_USART_Abort

Function name
Function description
Parameters
Return values
Notes

HAL_USART_Abort_IT

Function name
Pauses the DMA Transfer.
husart: pointer to a USART_HandleTypeDef structure that
contains the configuration information for the specified
USART module.
HAL: status
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: status
HAL_StatusTypeDef HAL_USART_DMAStop
(USART_HandleTypeDef * husart)
Stops the DMA Transfer.
husart: pointer to a USART_HandleTypeDef structure that
contains the configuration information for the specified
USART module.
HAL: status
HAL_StatusTypeDef HAL_USART_Abort
(USART_HandleTypeDef * husart)
Abort ongoing transfer (blocking mode).
husart: USART handle.
HAL: status
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_StatusTypeDef HAL_USART_Abort_IT
DocID028236 Rev 2
HAL USART Generic Driver
681/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Table of Contents

Save PDF