Home
last modified time | relevance | path

Searched refs:coeff (Results 1 – 1 of 1) sorted by relevance

/hal_st-latest/sensor/stmemsc/hts221_STdC/driver/
Dhts221_reg.c856 uint8_t coeff; in hts221_hum_rh_point_0_get() local
859 ret = hts221_read_reg(ctx, HTS221_H0_RH_X2, &coeff, 1); in hts221_hum_rh_point_0_get()
860 *val = coeff / 2.0f; in hts221_hum_rh_point_0_get()
875 uint8_t coeff; in hts221_hum_rh_point_1_get() local
878 ret = hts221_read_reg(ctx, HTS221_H1_RH_X2, &coeff, 1); in hts221_hum_rh_point_1_get()
879 *val = coeff / 2.0f; in hts221_hum_rh_point_1_get()
949 int16_t coeff; in hts221_hum_adc_point_0_get() local
953 coeff = (coeff_p[1] * 256) + coeff_p[0]; in hts221_hum_adc_point_0_get()
954 *val = coeff * 1.0f; in hts221_hum_adc_point_0_get()
970 int16_t coeff; in hts221_hum_adc_point_1_get() local
[all …]