This query follows from my previous thread "USART interrupt problem".
How UDR0 is shared by reciever and transmitter of USART?
Also,in the ISR instead of using global variable ,I replaced the ISR body with :
{
UDR0 = UDR0
}
And ,it still worked. The code works correctly.
Could anyone explain how does this happen??
How UDR0 is shared by reciever and transmitter of USART?
Also,in the ISR instead of using global variable ,I replaced the ISR body with :
{
UDR0 = UDR0
}
And ,it still worked. The code works correctly.
Could anyone explain how does this happen??