Global Sources
EE Times-India
Stay in touch with EE Times India
EE Times-India > Controls/MCUs

Register, Bit-name definitions for AVR MCUs

Posted: 16 Dec 2008     Print Version  Bookmark and Share

Keywords:MCU  AVR 

This application note by Atmel contains files which allows the user to use Register and Bit names from the databook when writing assembly programs. For controllers with SRAM, the constant "RAMEND" is defined. For all devices, the constants "FLASHEND" and "EEPROMEND" are defined. This number is useful when initializing the Stack pointer to point at the highest internal SRAM address. Finally, the interrupt addresses have been defined, and can be used together with the ".org" directive in the assembler to position an interrupt vector at the correct memory location. See the file listing for details on this. To prohibit use of non-implemented instructions, all files contain a ".device" directive for the target MCU. As new AVR products are released, newfiles will be made available.

View the PDF document for more information.

Comment on "Register, Bit-name definitions for A..."
*  You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.


Go to top             Connect on Facebook      Follow us on Twitter      Follow us on Orkut

Back to Top