HAL_IRDA_AbortReceive_IT() function
Abort ongoing Receive transfer (Interrupt mode).
Return value
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 Interrupts - Disable 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 READY - At 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).