Searched refs:hum_adc (Results 1 – 3 of 3) sorted by relevance
71 uint32_t calculate_humidity(uint16_t hum_adc, int32_t t_fine, struct calibration_coeffs *cal_coeffs) in calculate_humidity() argument83 var1 = (int32_t)(hum_adc - ((int32_t)((int32_t)cal_coeffs->par_h1 * 16))) - in calculate_humidity()
192 uint16_t hum_adc = 0; in read_adc_humidity() local195 hum_adc = (uint16_t)(((uint16_t)read_sensor_register(HUM_ADC_DATA_MSB_0) << 8) | in read_adc_humidity()198 return hum_adc; in read_adc_humidity()
160 uint32_t calculate_humidity(uint16_t hum_adc, int32_t t_fine,