Searched refs:lsb_shift (Results 1 – 1 of 1) sorted by relevance
188 static uint16_t adc_get_res(uint8_t msb, uint8_t lsb, uint16_t lsb_shift) in adc_get_res() argument190 return ((uint16_t)msb << ADC_MSB_SHIFT) | ((lsb >> lsb_shift) & ADC_LSB_MASK); in adc_get_res()