In the header files for the Xmega D series, the ADC_t struct is missing several blank registers, resulting in the improper offset being calculated when trying to access items further down the list. Specifically, offsets 0x12 - 0x17 or the spots occupied by the word registers for channels 1, 2, and 3 in the Xmega A series. I have attached a fixed version for the 32D4.
2009-10-30 19:34:54 UTC in WinAVR