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: Eric Fu
Subject: Re: [avr-gcc-list] Serial Communication
Date: Thu, 29 Jan 2004 20:14:31 +1100

The mask is used to maintain a ring buffer.

----- Original Message ----- 
From: "ks_347" <address@hidden>
To: <address@hidden>
Sent: Thursday, January 29, 2004 7:48 AM
Subject: Re: [avr-gcc-list] Serial Communication


> 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!
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list




reply via email to

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