ADC_CHANNEL_OFFSET
v_channel = (adc->chan_props[i].sid << ADC_CHANNEL_OFFSET) |
sid = chan >> ADC_CHANNEL_OFFSET;