

The previous versions of the compiler do not support C++ anonymous union and use standard C syntax to access multi-byte struct members: Table 1: XMega IO Register Access

In version 8.02 and above, the compiler accepts C++ style anonymous union and struct and thus become fully compatible with the Atmel AppNote examples. ImageCraft IO header files support the new syntax fully. In case Atmel moves the URL, use a search engine to locate the proper URL. They are different from the older AVR and it is imperative to read Atmel’s AppNote AVR1000 “Getting Started with Writing C-Code for the XMEGA” for details. With XMega, Atmel introduces new syntax to access the io registers, using structs and unions.
