/Zephyr-latest/samples/drivers/adc/adc_dt/boards/ |
D | s32z2xxdc2_s32z270_rtu0.overlay | 29 zephyr,resolution = <12>; 37 zephyr,resolution = <12>; 45 zephyr,resolution = <12>; 53 zephyr,resolution = <12>; 69 zephyr,resolution = <12>; 77 zephyr,resolution = <12>; 85 zephyr,resolution = <12>; 93 zephyr,resolution = <12>;
|
D | mec15xxevb_assy6853.overlay | 21 zephyr,resolution = <12>; 28 zephyr,resolution = <12>; 35 zephyr,resolution = <12>; 42 zephyr,resolution = <12>;
|
D | mec172xevb_assy6906.overlay | 21 zephyr,resolution = <12>; 28 zephyr,resolution = <12>; 35 zephyr,resolution = <12>; 42 zephyr,resolution = <12>;
|
D | mr_canhubk3.overlay | 27 zephyr,resolution = <14>; 42 zephyr,resolution = <14>; 59 zephyr,resolution = <14>; 67 zephyr,resolution = <14>; 75 zephyr,resolution = <14>;
|
D | da1469x_dk_pro.overlay | 43 zephyr,resolution = <12>; 52 zephyr,resolution = <12>; 61 zephyr,resolution = <12>; 70 zephyr,resolution = <12>; 88 zephyr,resolution = <14>; 97 zephyr,resolution = <14>; 107 zephyr,resolution = <14>;
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 23 zephyr,resolution = <10>; 32 zephyr,resolution = <12>; 42 zephyr,resolution = <12>; 53 zephyr,resolution = <12>;
|
D | cy8cproto_062_4343w.overlay | 26 zephyr,resolution = <12>; 35 zephyr,resolution = <12>; 44 zephyr,resolution = <12>; 53 zephyr,resolution = <12>;
|
D | cy8cproto_063_ble.overlay | 26 zephyr,resolution = <12>; 35 zephyr,resolution = <12>; 44 zephyr,resolution = <12>; 53 zephyr,resolution = <12>;
|
/Zephyr-latest/dts/arm/infineon/cat1a/psoc6_01/ |
D | psoc6_01.dtsi | 320 resolution = <32>; 327 resolution = <32>; 334 resolution = <32>; 341 resolution = <32>; 348 resolution = <32>; 355 resolution = <32>; 362 resolution = <32>; 369 resolution = <32>; 376 resolution = <16>; 383 resolution = <16>; [all …]
|
/Zephyr-latest/dts/arm/infineon/cat1a/psoc6_02/ |
D | psoc6_02.dtsi | 324 resolution = <32>; 331 resolution = <32>; 338 resolution = <32>; 345 resolution = <32>; 352 resolution = <32>; 359 resolution = <32>; 366 resolution = <32>; 373 resolution = <32>; 380 resolution = <16>; 387 resolution = <16>; [all …]
|
/Zephyr-latest/dts/arm/infineon/cat1b/cyw20829/ |
D | cyw20829.dtsi | 168 resolution = <32>; 175 resolution = <32>; 182 resolution = <16>; 189 resolution = <16>; 196 resolution = <16>; 203 resolution = <16>; 210 resolution = <16>; 217 resolution = <16>; 224 resolution = <16>; 232 resolution = <32>; [all …]
|
/Zephyr-latest/tests/drivers/adc/adc_api/boards/ |
D | lpcxpresso55s69_lpc55s69_cpu0.overlay | 20 * Channel 0 is used in single ended mode, with 12 bit resolution 29 zephyr,resolution = <13>; 34 * Channel 1 is used in single ended mode, with 16 bit resolution 43 zephyr,resolution = <16>; 48 * Channel 2 is used in single ended mode, with 12 bit resolution 57 zephyr,resolution = <12>;
|
D | lpcxpresso55s69_lpc55s69_cpu0_ns.overlay | 20 * Channel 0 is used in single ended mode, with 12 bit resolution 29 zephyr,resolution = <13>; 34 * Channel 1 is used in single ended mode, with 16 bit resolution 43 zephyr,resolution = <16>; 48 * Channel 2 is used in single ended mode, with 12 bit resolution 57 zephyr,resolution = <12>;
|
/Zephyr-latest/drivers/dac/ |
D | dac_stm32.c | 56 uint8_t resolution; member 71 if (value >= BIT(data->resolution)) { in dac_stm32_write_value() 76 if (data->resolution == 8) { in dac_stm32_write_value() 79 } else if (data->resolution == 12) { in dac_stm32_write_value() 101 if ((channel_cfg->resolution == 8) || in dac_stm32_channel_setup() 102 (channel_cfg->resolution == 12)) { in dac_stm32_channel_setup() 103 data->resolution = channel_cfg->resolution; in dac_stm32_channel_setup()
|
D | dac_ltc166x.c | 22 uint8_t resolution; member 34 if (config->resolution == 10) { in ltc166x_reg_write() 64 if (channel_cfg->resolution != config->resolution) { in ltc166x_channel_setup() 65 LOG_ERR("Unsupported resolution %d", channel_cfg->resolution); in ltc166x_channel_setup() 87 if (value >= (1 << config->resolution)) { in ltc166x_write_value() 119 .resolution = res, \
|
D | dac_dacx0501.c | 61 uint8_t resolution; member 103 if (channel_cfg->resolution != data->resolution) { in dacx0501_channel_setup() 104 LOG_ERR("Unsupported resolution %d. Actual: %d", channel_cfg->resolution, in dacx0501_channel_setup() 105 data->resolution); in dacx0501_channel_setup() 126 if (value >= (1 << data->resolution)) { in dacx0501_write_value() 131 value <<= (16 - data->resolution); in dacx0501_write_value() 155 data->resolution = 16 - 2 * FIELD_GET(DACX0501_MASK_DEVICE_ID_RES, device_id); in dacx0501_init()
|
D | dac_ad569x.c | 31 uint8_t resolution; member 75 if (channel_cfg->resolution != config->resolution) { in ad569x_channel_setup() 76 LOG_ERR("invalid resolution %d", channel_cfg->resolution); in ad569x_channel_setup() 122 if (value > (BIT(config->resolution) - 1)) { in ad569x_write_value() 127 value <<= 16 - config->resolution; in ad569x_write_value() 171 .resolution = res, \
|
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/ |
D | s32z2xxdc2_s32z270_rtu0.overlay | 29 zephyr,resolution = <12>; 37 zephyr,resolution = <12>; 45 zephyr,resolution = <12>; 53 zephyr,resolution = <12>;
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 29 zephyr,resolution = <10>; 38 zephyr,resolution = <12>; 48 zephyr,resolution = <12>; 59 zephyr,resolution = <12>;
|
/Zephyr-latest/include/zephyr/drivers/ |
D | adc.h | 301 uint8_t resolution; member 331 .resolution = DT_PROP_OR(node_id, zephyr_resolution, 0), \ 652 uint8_t resolution; member 868 uint8_t resolution, in adc_raw_to_millivolts() argument 875 *valp = (adc_mv >> resolution); in adc_raw_to_millivolts() 898 uint8_t resolution; in adc_raw_to_millivolts_dt() local 910 resolution = spec->resolution; in adc_raw_to_millivolts_dt() 917 resolution -= 1U; in adc_raw_to_millivolts_dt() 921 resolution, valp); in adc_raw_to_millivolts_dt() 950 seq->resolution = spec->resolution; in adc_sequence_init_dt()
|
/Zephyr-latest/drivers/sensor/rohm/bh1750/ |
D | bh1750.c | 42 uint8_t resolution; member 99 if (cfg->resolution == BH1750_HIGH_RES_2_DTS_ENUM) { in bh1750_get_mode_from_dts_device() 101 } else if (cfg->resolution == BH1750_HIGH_RES_DTS_ENUM) { in bh1750_get_mode_from_dts_device() 112 if (cfg->resolution == BH1750_HIGH_RES_2_DTS_ENUM) { in bh1750_get_wait_time_from_dts_device() 114 } else if (cfg->resolution == BH1750_HIGH_RES_DTS_ENUM) { in bh1750_get_wait_time_from_dts_device() 180 if (cfg->resolution == BH1750_HIGH_RES_2_DTS_ENUM) { in bh1750_channel_get() 216 .resolution = DT_INST_PROP(_num, resolution) \
|
/Zephyr-latest/include/zephyr/dt-bindings/adc/ |
D | stm32f1_adc.h | 23 #define STM32F1_ADC_RES(resolution) \ argument 24 STM32_ADC_RES(resolution, STM32_ADC_RES_REG_VAL)
|
D | stm32h7_adc.h | 23 #define STM32H72X_ADC3_RES(resolution, reg_val) \ argument 24 STM32_ADC(resolution, reg_val, STM32H72X_ADC3_RES_MASK, \
|
/Zephyr-latest/boards/arduino/opta/ |
D | arduino_opta-common.dtsi | 122 zephyr,resolution = <16>; 130 zephyr,resolution = <16>; 150 zephyr,resolution = <16>; 169 zephyr,resolution = <16>; 177 zephyr,resolution = <16>; 185 zephyr,resolution = <16>; 193 zephyr,resolution = <16>; 201 zephyr,resolution = <16>;
|
/Zephyr-latest/tests/drivers/regulator/voltage/boards/ |
D | nrf52840dk_nrf52840_npm6001.overlay | 34 zephyr,resolution = <12>; 43 zephyr,resolution = <12>; 52 zephyr,resolution = <12>; 61 zephyr,resolution = <12>; 70 zephyr,resolution = <12>;
|