2010-02-17 03:59 AM
2011-05-17 01:00 AM
You can try to use the ReceiveTimeOut event, in this case you won't leave any character in the Rx Fifo:
void UART0_IRQHandler(void) { if(UART_GetITStatus(UART0,UART_IT_Receive|UART_IT_ReceiveTimeOut) == SET) { /* Read characters from the receive FIFO */ do ...you IT code on Rx event here...2011-05-17 01:00 AM
Thanks man!!!
Hadn't tought about that one!! greetz.