Searched refs:conversion_factor (Results 1 – 2 of 2) sorted by relevance
67 uint32_t conversion_factor = 0; in mcux_lpadc_acquisition_time_setup() local86 conversion_factor = 1; in mcux_lpadc_acquisition_time_setup()93 conversion_factor = 1000000000 / adc_freq_hz; in mcux_lpadc_acquisition_time_setup()100 if ((3 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()102 } else if ((5 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()104 } else if ((7 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()106 } else if ((11 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()108 } else if ((19 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()110 } else if ((35 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()112 } else if ((67 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()[all …]
201 uint16_t conversion_factor; in adltc2990_fetch_property_value() local205 conversion_factor = ADLTC2990_VOLTAGE_SINGLEENDED_CONVERSION_FACTOR; in adltc2990_fetch_property_value()207 conversion_factor = ADLTC2990_VOLTAGE_DIFFERENTIAL_CONVERSION_FACTOR; in adltc2990_fetch_property_value()209 conversion_factor = ADLTC2990_TEMPERATURE_CONVERSION_FACTOR; in adltc2990_fetch_property_value()223 *output = (voltage_value * conversion_factor) / sensor_val_divisor; in adltc2990_fetch_property_value()