2008-04-09 02:08 AM
Can you show me how to clear a UART interrupt?
2011-05-17 12:51 AM
Hello,
Once my UART interrupts the processor (STR9), nothing else other than interrupt handling occurs! I tried it using a loopback and a simulation of input signals (I use Keil microvision) but still - the result is the same! My ISR looks like this:Code:
unsigned x = UART0->DR ; UART_ClearITPendingBit(UART0, UART_IT_Receive) ; VIC0->VAR = 0 ; VIC1->VAR = 0 ; } How come do I keep on getting interrupted? Am I cleaning up inappropriately?