AnsweredAssumed Answered

Cancel a pending UART recieve

Question asked by John Craven on Jan 16, 2017
Latest reply on Jun 15, 2017 by John Craven

If i start an UART receive with an interrupt looking for the next inbound byte/char;

 

HAL_UART_Receive_IT(&huart1, &UART1_Data, 1);

 

how can i cancel the receive before receiving the next byte/char?

Outcomes