Lines Matching refs:conversion_factor
67 uint32_t conversion_factor = 0; in mcux_lpadc_acquisition_time_setup() local
86 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()
114 } else if ((131 * conversion_factor) >= acquisition_time_value) { in mcux_lpadc_acquisition_time_setup()