Back to main page

AVR Software Framework: XMEGA Utils

Copyright © 2010 Atmel Corporation

Introduction

This directory contains files that are used by all other directories of the framework: it holds several linker script files, IAR & GCC pre-compiled libraries of some Software Framework modules, and C/C++ files with general usage defines, macros and functions.

AVR XMEGA Utils

This directory contains the following:

assembler.h

This file enables to get an abstraction layer for IAR & GCC assemblers.

compiler.h

This file defines commonly used types and macros for both GCC and IAR compilers.

interrupt.h

This file defines global interrupt management for 8- and 32-bit AVR.

parts.h

This file defines macros for checking GCC and IAR part definitions.

progmem.h

This file defines macros for locating and accessing data in program memory.

status_codes.h

This file defines various status codes returned by functions, indicating success or failure as well as what kind of failure.

/assembler folder

This module gathers a set of an Assembler abstraction layer for IAR & GCC.

/bit_handling folder

This module gives function to compute the number of trailing zero from an unsigned value.

/interrupt folder

This module defines Global interrupt management for 8-bit AVR.

/preprocessor folder

This module gathers a set of useful C preprocessor macros. It is composed of the files:

  • mrepeat.h: C preprocessor repeating set of macros,
  • preprocessor.h: include of all header files of this module (so that applications only use to include this file),
  • stringz.h: C preprocessor stringenizer set of macros,
  • tpaste.h: C preprocessor token manipulation set of macros.

AVR is a registered trademark of Atmel Corporation.