AnsweredAssumed Answered

Question on USART interrupt and when it occurs

Question asked by vu.andy on Jul 1, 2016
Latest reply on Jul 1, 2016 by Clive One
For example, if I call the function HAL_UART_Receive_IT() with a buffer size of 16.
When will the interrupt be triggered?
Is it when all 16 bytes are filled up?  Or when the Usart finished received all the data?
Will the interrupt get triggered in the middle of receiving a message?

Also when the interrupt is finished, how do I clear the buffer?

Thanks.

Outcomes