avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] Question on stack size in ATmega128 and Errors in iom


From: Theodore A. Roth
Subject: Re: [avr-libc-dev] Question on stack size in ATmega128 and Errors in iom128.h
Date: Mon, 9 Dec 2002 14:12:48 -0800 (PST)


On Mon, 9 Dec 2002, Curtis, Ron wrote:

:) Also,  I had to make the following corrections to iom128.h  to be consistent
:) in my code.
:)
:) /* USART Status Register A   ERROR RDC
:) #define    RXC          7
:) #define    TXC          6
:) #define    UDRE         5
:) #define    FE           4
:) #define    OVR          3    This definition differs from the databook */
:)   /*definition to avoid problems with the OR instruction */
:)
:) /* UCSR0A    correction, RDC  12/2/02*/
:) #define RXC0 7
:) #define TXC0 6
:) #define UDRE0        5
:) #define FE0  4
:) #define OVR0 3
:) #define U2X0 1
:) #define MPCM0        0
:)


These look to have already been fixed in the cvs repository:

http://savannah.nongnu.org/cgi-bin/viewcvs/avr-libc/avr-libc/include/avr/iom128.h?rev=1.6&content-type=text/vnd.viewcvs-markup

Note that OVRn has been changed to DORn in Atmel's latest data sheets.

Ted Roth




reply via email to

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