I feel like 100 years when reading the Xmega notes. In the old days, the way to set a bit was:
PORTA |= (1<<PA0);
PORTA &= ~(1<<PA0);
But when looking at the Xmega they have all this fancy struct stuff. Anyone care to give examples on how the two lines above would be in Xmega struct style?
Thanks and have a nice weekend!