EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #656 background imageLoading...
Page #656 background image
HAL UART Generic Driver
UM1940
656/1371
DocID028236 Rev 2
HAL_UART_DMAStop
Function name
HAL_StatusTypeDef HAL_UART_DMAStop
(UART_HandleTypeDef * huart)
Function description
Stops the DMA Transfer.
Parameters
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
Return values
HAL: status
HAL_UART_Abort
Function name
HAL_StatusTypeDef HAL_UART_Abort
(UART_HandleTypeDef * huart)
Function description
Abort ongoing transfers (blocking mode).
Parameters
huart: UART handle.
Return values
HAL: status
Notes
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
Function name
HAL_StatusTypeDef HAL_UART_AbortTransmit
(UART_HandleTypeDef * huart)
Function description
Abort ongoing Transmit transfer (blocking mode).
Parameters
huart: UART handle.
Return values
HAL: status
Notes
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
Function name
HAL_StatusTypeDef HAL_UART_AbortReceive
(UART_HandleTypeDef * huart)
Function description
Abort ongoing Receive transfer (blocking mode).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals