Question
Question on USART interrupt and when it occurs
Posted on July 01, 2016 at 20:26
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.