Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_psoc6.c169 uint32_t oversample; in spi_psoc6_get_freqdiv() local
177 for (oversample = 4; oversample < 16; oversample++) { in spi_psoc6_get_freqdiv()
178 if ((bus_freq / oversample) <= frequency) { in spi_psoc6_get_freqdiv()
184 return oversample; in spi_psoc6_get_freqdiv()
192 cfg->oversample = 0U; in spi_psoc6_master_get_defaults()
259 data->cfg.oversample = spi_psoc6_get_freqdiv(spi_cfg->frequency); in spi_psoc6_configure()
Dspi_ifx_cat1.c159 scb_spi_config.oversample = 0; in spi_config()
345 .oversample = IFX_CAT1_SPI_DEFAULT_OVERSAMPLE, \
/Zephyr-latest/drivers/sensor/nordic/npm2100_vbat/
Dnpm2100_vbat.c405 uint16_t oversample; in npm2100_vbat_attr_set() local
412 ret = linear_range_get_index(&oversample_range, val->val1, &oversample); in npm2100_vbat_attr_set()
418 adc_cfg->config |= FIELD_PREP(ADC_CONFIG_AVG_MASK, oversample); in npm2100_vbat_attr_set()
/Zephyr-latest/drivers/serial/
Duart_psoc6.c69 .oversample = UART_PSOC6_CONFIG_OVERSAMPLE,
Duart_ifx_cat1.c97 .oversample = 12,