ADC

If you need a time critical sampling of measuring values, you can use a timer interrupt to take samples

...but you'd eliminate any latency by initiating the analogue read in the timer ISR, and not risk jitter caused by activity in non-interrupt context delaying your reading.