Setup Code

Add this to your main application C-file:
void ACC_Handler(void)
{
} 
Add this to the main loop or a setup function:
pmc_enable_periph_clk(ID_ACC);