avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Serial Communication


From: ks_347
Subject: Re: [avr-gcc-list] Serial Communication
Date: Wed, 28 Jan 2004 12:48:56 -0800 (PST)

Not able to understand much in that appli note.
What is :
#pragma vector=USART0_UDRE_vect 
#define USART_TX_BUFFER_MASK ( USART_TX_BUFFER_SIZE - 1 )
Why mask is created?
what is the algorithm used in that
 
Thanks


Eric Fu <address@hidden> wrote:
Have a look at Atmel App. Note AVR306.

Eric Fu
----- Original Message ----- 
From: "ks_347" 
To: 
Sent: Thursday, January 29, 2004 1:06 AM
Subject: [avr-gcc-list] Serial Communication


> Hello,
>
> I wanted to write this simple program of throwing "Hello" to the computer
through serial comm(using UART of the ucontroller). I am using ATMEGA162 and
STK500. I wrote the program using polling. Its working fine. Anybody has an
interrupt version? Or any suggestions/guidance on writing the interrupt
driven program. I am writing in C programming. I don't have any clue about
how to write interrupt handling routines.
>
> Thanks
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list



_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list

---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]