cc10001_adc_read_reg
val = cc10001_adc_read_reg(adc_dev, CC10001_ADC_CONFIG);
while (!(cc10001_adc_read_reg(adc_dev, CC10001_ADC_EOC) &
while ((cc10001_adc_read_reg(adc_dev, CC10001_ADC_CHSEL_SAMPLED) &
return cc10001_adc_read_reg(adc_dev, CC10001_ADC_DDATA_OUT) &