Home
last modified time | relevance | path

Searched refs:oversampling (Results 1 – 25 of 91) sorted by relevance

1234

/Zephyr-latest/samples/sensor/bmi270/src/
Dmain.c16 struct sensor_value full_scale, sampling_freq, oversampling; in main() local
32 oversampling.val1 = 1; /* Normal mode */ in main()
33 oversampling.val2 = 0; in main()
38 &oversampling); in main()
53 oversampling.val1 = 1; /* Normal mode */ in main()
54 oversampling.val2 = 0; in main()
59 &oversampling); in main()
/Zephyr-latest/drivers/sensor/bosch/bmc150_magn/
DKconfig22 Specify the default preset (x/y oversampling, z oversampling, sampling
45 bool "Dynamic XY oversampling"
47 Enable alteration of XY oversampling at runtime.
50 bool "Dynamic Z oversampling"
52 Enable alteration of Z oversampling at runtime.
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/
Dda1469x_dk_pro.overlay44 zephyr,oversampling = <7>;
53 zephyr,oversampling = <0>;
62 zephyr,oversampling = <0>;
71 zephyr,oversampling = <0>;
89 zephyr,oversampling = <7>;
98 zephyr,oversampling = <7>;
108 zephyr,oversampling = <7>;
Dnrf54l15dk_nrf54l15_cpuapp.overlay33 zephyr,oversampling = <8>;
43 zephyr,oversampling = <8>;
Dnrf52840dk_nrf52840.overlay34 zephyr,oversampling = <8>;
Dnrf54h20dk_nrf54h20_cpuapp.overlay33 zephyr,oversampling = <8>;
/Zephyr-latest/drivers/sensor/bosch/bmm150/
DKconfig19 Specify the default preset (x/y oversampling, z oversampling, sampling
73 bool "Dynamic XY oversampling"
75 Enable alteration of XY oversampling at runtime.
78 bool "Dynamic Z oversampling"
80 Enable alteration of Z oversampling at runtime.
/Zephyr-latest/drivers/sensor/infineon/dps310/
DKconfig19 prompt "DPS310 temperature oversampling"
22 Select temperature oversampling for the DPS310 sensor. Higher values
43 prompt "DPS310 pressure oversampling"
46 Select pressure oversampling for the DPS310 sensor. Higher values
/Zephyr-latest/drivers/sensor/bosch/bme680/
DKconfig20 prompt "BME680 temperature oversampling"
23 Select temperature oversampling for the BME680 sensor. Higher values
38 prompt "BME680 pressure oversampling"
41 Select pressure oversampling for the BME680 sensor. Higher values
56 prompt "BME680 humidity oversampling"
59 Select humidity oversampling for the BME680 sensor. Higher values
/Zephyr-latest/drivers/sensor/bosch/bme280/
DKconfig33 prompt "BME280 temperature oversampling"
36 Select temperature oversampling for the BME280 sensor. Higher values
51 prompt "BME280 pressure oversampling"
54 Select pressure oversampling for the BME280 sensor. Higher values
69 prompt "BME280 humidity oversampling"
72 Select humidity oversampling for the BME280 sensor. Higher values
/Zephyr-latest/drivers/sensor/meas/ms5607/
DKconfig18 prompt "Pressure oversampling."
40 prompt "Temperature oversampling."
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/
Dnrf54l15dk_nrf54l15_cpuapp.overlay39 zephyr,oversampling = <8>;
49 zephyr,oversampling = <8>;
Dnrf52840dk_nrf52840.overlay31 zephyr,oversampling = <8>;
Dnrf54h20dk_nrf54h20_cpuapp.overlay39 zephyr,oversampling = <8>;
/Zephyr-latest/drivers/sensor/nxp/nxp_kinetis_temp/
DKconfig25 int "ADC oversampling"
29 ADC oversampling to use for the temperature sensor and
/Zephyr-latest/include/zephyr/drivers/
Dadc.h308 uint8_t oversampling; member
332 .oversampling = DT_PROP_OR(node_id, zephyr_oversampling, 0),))
660 uint8_t oversampling; member
951 seq->oversampling = spec->oversampling; in adc_sequence_init_dt()
/Zephyr-latest/drivers/adc/
Dadc_sam0.c325 if (sequence->oversampling > 10U) { in start_read()
330 adc->AVGCTRL.reg = ADC_AVGCTRL_SAMPLENUM(sequence->oversampling); in start_read()
338 if (sequence->oversampling > 4U && DSU->DID.bit.REVISION < 3) { in start_read()
339 adc->AVGCTRL.bit.ADJRES = sequence->oversampling - 4U; in start_read()
345 if (sequence->oversampling) { in start_read()
353 if (sequence->oversampling) { in start_read()
361 if (sequence->oversampling) { in start_read()
Dadc_mcux_gau_adc.c247 if (sequence->oversampling == 0) { in mcux_gau_adc_do_read()
249 } else if (sequence->oversampling == 1) { in mcux_gau_adc_do_read()
251 } else if (sequence->oversampling == 2) { in mcux_gau_adc_do_read()
253 } else if (sequence->oversampling == 3) { in mcux_gau_adc_do_read()
255 } else if (sequence->oversampling == 4) { in mcux_gau_adc_do_read()
Dadc_nxp_s32_adc_sar.c141 static int adc_nxp_s32_set_averaging(const struct device *dev, uint8_t oversampling) in adc_nxp_s32_set_averaging() argument
147 switch (oversampling) { in adc_nxp_s32_set_averaging()
223 error = adc_nxp_s32_set_averaging(dev, sequence->oversampling); in adc_nxp_s32_start_read_async()
228 if (sequence->oversampling) { in adc_nxp_s32_start_read_async()
Dadc_smartbond_sdadc.c164 val |= (ctx->sequence.oversampling - 7) << SDADC_SDADC_CTRL_REG_SDADC_OSR_Pos; in adc_context_start_sampling()
206 if (sequence->oversampling < 7U || sequence->oversampling > 10) { in start_read()
/Zephyr-latest/tests/drivers/adc/adc_error_cases/src/
Dadc_error_cases.c32 .oversampling = 0,
50 invalid_seq.oversampling = 99; in ZTEST()
/Zephyr-latest/samples/sensor/thermometer/boards/
Dnrf52840dk_nrf52840.overlay25 zephyr,oversampling = <2>; /* x4 */
/Zephyr-latest/drivers/sensor/bosch/bmp180/
DKconfig17 Enable runtime changes of the oversampling value
/Zephyr-latest/drivers/sensor/ti/tmag5170/
Dtmag5170.h21 uint8_t oversampling; member
/Zephyr-latest/drivers/sensor/bosch/bmp581/
Dbmp581.c270 uint8_t oversampling = osr->val1; in set_osr_config() local
278 osr_val = BMP5_SET_BITS_POS_0(osr_val, BMP5_TEMP_OS, oversampling); in set_osr_config()
279 osr_val = BMP5_SET_BITSLICE(osr_val, BMP5_PRESS_OS, oversampling); in set_osr_config()
283 osr_val = BMP5_SET_BITSLICE(osr_val, BMP5_PRESS_OS, oversampling); in set_osr_config()
287 osr_val = BMP5_SET_BITS_POS_0(osr_val, BMP5_TEMP_OS, oversampling); in set_osr_config()

1234