[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] Question on stack size in ATmega128 and Errors in iom128.
From: |
Curtis, Ron |
Subject: |
[avr-libc-dev] Question on stack size in ATmega128 and Errors in iom128.h |
Date: |
Mon, 9 Dec 2002 12:00:34 -0600 |
Hi-
Question on ATmega128:
Why is the stack initialized to 0x10FF instead of 0x0FFF?
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
Thanks,
Ron
--------------------------------------------------
Ron Curtis
Technical Fellow
The Boeing Co.
499 Boeing Blvd
MS JN-72, Bld 48-20, Rm 23D.812
Huntsville, AL 35824
256-461-3043 voice
256-461-5815 fax
- [avr-libc-dev] Question on stack size in ATmega128 and Errors in iom128.h,
Curtis, Ron <=