altos/stm: Add polling ADC sampler API