Hal_Uart_Abortreceive_It; Hal_Uart_Irqhandler; Hal_Uart_Txcpltcallback; Hal_Uart_Txhalfcpltcallback - ST STM32F2 User Manual

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

Advertisement

HAL UART Generic Driver

HAL_UART_AbortReceive_IT

Function name
Function description
Parameters
Return values
Notes

HAL_UART_IRQHandler

Function name
Function description
Parameters
Return values

HAL_UART_TxCpltCallback

Function name
Function description
Parameters
Return values

HAL_UART_TxHalfCpltCallback

Function name
Function description
Parameters
Return values
658/1371
HAL_StatusTypeDef HAL_UART_AbortReceive_IT
(UART_HandleTypeDef * huart)
Abort ongoing Receive transfer (Interrupt mode).
huart: UART handle.
HAL: status
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_IT (in case of
transfer in DMA mode)Set handle State to READYAt abort
completion, call user abort complete callback
This procedure is executed in Interrupt mode, meaning that
abort procedure could be considered as completed only when
user abort complete callback is executed (not when exiting
function).
void HAL_UART_IRQHandler (UART_HandleTypeDef * huart)
This function handles UART interrupt request.
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
None:
void HAL_UART_TxCpltCallback (UART_HandleTypeDef *
huart)
Tx Transfer completed callbacks.
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
None:
void HAL_UART_TxHalfCpltCallback (UART_HandleTypeDef *
huart)
Tx Half Transfer completed callbacks.
huart: pointer to a UART_HandleTypeDef structure that
contains the configuration information for the specified UART
module.
None:
DocID028236 Rev 2
UM1940

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?

Questions and answers

Table of Contents

Save PDF