altos/stmf0: Re-implement fast ADC code for stmf0