Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/adc/
Dadc_stm32.c1380 uint32_t input_freq; local
1388 if (clock_control_get_rate(clk, clk_src, &input_freq) != 0) {
1400 input_freq /= presc * adc_stm32_get_input_freq_prescaler();
1402 if (input_freq <= KHZ(6250)) {
1404 } else if (input_freq <= KHZ(12500)) {
1406 } else if (input_freq <= MHZ(20)) {
1408 } else if (input_freq <= MHZ(25)) {
1410 } else if (input_freq <= MHZ(50)) {
1413 LOG_WRN("ADC clock frequency too high %u", input_freq);