Arduino DUE ADC interrupt

Hey i'm newbie here, i am on dc to dc converter project and i need to set my adc sampling time to a specific time. i have search the forum but none of the example works, anyone can help me to give some adc interrupt setting example program that already works? thankyou :)

Why use the ADC interrupt? Use a timer interrupt to take samples at particular times.

I want to be sure that i read actual ADC value from its register. Actual means the very last value together with the very last timer interrupt, I am not really sure that my AD converter would be synchronized with the timer interrupts without any extra ADC interrupt. thanks :slight_smile: