adc: Add interval and sampling time to API

Use chThdSleepUntil() to make sure the interval is steady over time
and does not drift.