Home
last modified time | relevance | path

Searched +full:voltage +full:- +full:reference (Results 1 – 25 of 196) sorted by relevance

12345678

/Zephyr-latest/dts/bindings/adc/
Dzephyr,adc-emul.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "zephyr,adc-emul"
8 include: adc-controller.yaml
14 description: Number of emulated ADC channels. Should be in 1-32 range.
16 ref-internal-mv:
20 Internal reference voltage in mV. If not provided or set to zero,
23 ref-vdd-mv:
27 VDD reference voltage in mV. If not provided or set to zero,
30 ref-external0-mv:
34 External 0 reference voltage in mV. If not provided or set to zero,
[all …]
Dnxp,adc12.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [adc-controller.yaml, pinctrl-device.yaml]
17 clk-source:
22 clk-divider:
27 alternate-voltage-reference:
29 description: use alternate voltage reference source
31 sample-time:
36 vref-mv:
39 description: Indicates the reference voltage of the ADC in mV.
41 "#io-channel-cells":
[all …]
Draspberrypi,pico-adc.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "raspberrypi,pico-adc"
8 include: [adc-controller.yaml, pinctrl-device.yaml, reset-device.yaml]
14 vref-mv:
18 Indicate the reference voltage of the ADC in mV.
19 Raspberry Pi has one voltage reference.
23 "#io-channel-cells":
26 io-channel-cells:
27 - input
/Zephyr-latest/samples/sensor/mcux_lpcmp/
DREADME.rst1 .. zephyr:code-sample:: mcux_lpcmp
2 :name: NXP MCUX Low-power Analog Comparator (LPCMP)
3 :relevant-api: sensor_interface
5 Get analog comparator data from an NXP MCUX Low-power Analog Comparator (LPCMP).
10 This sample show how to use the NXP MCUX Low-power Analog Comparator (LPCMP) driver.
13 means the input voltage comes from the LPCMP internal DAC, the reference
14 voltage of the DAC is set to 0 (for the specific chip, the user needs to
15 check the reference manual to confirm where this reference voltage comes
16 from), the output voltage of the DAC is equal to (VREF/256)*(data+1), where
18 The positive input port is set to 0, the user needs to check the reference
[all …]
/Zephyr-latest/tests/drivers/adc/adc_accuracy_test/
DREADME.txt6 - DAC source: a board DAC pin is set to a known value, which is then
9 - Reference voltage: an ADC channel is read and compared to an expected
16 voltage on the same range.
18 In the reference voltage case, the ADC is expected to be connected to a
19 known voltage reference, whose value is informed, in millivolts, at
/Zephyr-latest/dts/bindings/dac/
Dadi,ad569x-base.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: [dac-controller.yaml]
7 "#io-channel-cells":
10 voltage-reference:
14 - "internal"
15 - "external"
17 DAC voltage reference select.
18 - Internal voltage reference - 2.5V (reg: 0).
19 - External voltage reference (reg: 1).
24 default: "gain-1"
[all …]
Dti,dacx0501.yaml2 # SPDX-License-Identifier: Apache-2.0
11 voltage-reference:
15 - "internal"
16 - "external"
18 DAC voltage reference select: either internal (2.5 V) or external
20 output-gain:
24 - "mul2"
25 - "mul1"
26 - "div2"
28 This setting can be used to control the output voltage range within the supported bit
Dnxp,kinetis-dac.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,kinetis-dac"
8 include: dac-controller.yaml
14 voltage-reference:
17 description: DAC voltage reference select
19 low-power-mode:
21 description: Enable low-power mode
23 "#io-channel-cells":
26 io-channel-cells:
27 - output
Dnxp,lpdac.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [dac-controller.yaml, pinctrl-device.yaml]
14 voltage-reference:
18 DAC voltage reference select. The meaning of the value may be
21 low-power-mode:
23 description: Enable low-power mode
25 "#io-channel-cells":
28 io-channel-cells:
29 - output
Dnxp,kinetis-dac32.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,kinetis-dac32"
8 include: [dac-controller.yaml, pinctrl-device.yaml]
14 voltage-reference:
17 description: DAC voltage reference select
19 low-power-mode:
21 description: Enable low-power mode
27 "#io-channel-cells":
30 io-channel-cells:
31 - output
/Zephyr-latest/tests/drivers/dac/dac_loopback/boards/
Dlpcxpresso55s36.overlay4 * SPDX-License-Identifier: Apache-2.0
8 /* To align reference voltage with ADC. */
9 voltage-reference = <1>;
/Zephyr-latest/drivers/adc/
Dadc_emul.c10 * SPDX-License-Identifier: Apache-2.0
52 /** Reference source */
86 /** Reference voltage for ADC_REF_VDD_1 source */
88 /** Reference voltage for ADC_REF_EXTERNAL0 source */
90 /** Reference voltage for ADC_REF_EXTERNAL1 source */
92 /** Reference voltage for ADC_REF_INTERNAL source */
111 const struct adc_emul_config *config = dev->config; in adc_emul_const_value_set()
112 struct adc_emul_data *data = dev->data; in adc_emul_const_value_set()
115 if (chan >= config->num_channels) { in adc_emul_const_value_set()
117 return -EINVAL; in adc_emul_const_value_set()
[all …]
DKconfig.it8xxx24 # SPDX-License-Identifier: Apache-2.0
14 Voltage range 0 to 3000mV.
15 Support 10-bit resolution.
21 bool "ADC internal voltage as full-scale"
23 This option enables ADC internal reference
24 voltage as full-scale 3300mV.
/Zephyr-latest/tests/drivers/regulator/voltage/boards/
Dmimxrt685_evk_mimxrt685s_cm33.overlay3 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
9 * so limit regulator voltage to this range.
10 * Only test regulators we can safely change voltage to in RUN mode
13 regulator-max-microvolt = <1800000>;
17 regulator-max-microvolt = <1800000>;
25 slew-rate = "normal";
26 drive-strength = "normal";
27 nxp,analog-mode;
33 * J30.1-> TP15
[all …]
Dfrdm_mcxn947_mcxn947_cpu0.overlay3 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/dt-bindings/adc/adc.h>
7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
8 #include <zephyr/dt-bindings/regulator/nxp_vref.h>
14 compatible = "test-regulator-voltage";
16 tolerance-microvolt = <10000>;
17 set-read-delay-ms = <1>;
18 adc-avg-count = <10>;
19 io-channels = <&lpadc0 0>;
20 min-microvolt = <1000000>;
[all …]
Dfrdm_mcxn947_mcxn947_cpu0_qspi.overlay3 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/dt-bindings/adc/adc.h>
7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
8 #include <zephyr/dt-bindings/regulator/nxp_vref.h>
14 compatible = "test-regulator-voltage";
16 tolerance-microvolt = <10000>;
17 set-read-delay-ms = <1>;
18 adc-avg-count = <10>;
19 io-channels = <&lpadc0 0>;
20 min-microvolt = <1000000>;
[all …]
Dfrdm_mcxn236.overlay3 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/dt-bindings/adc/adc.h>
7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
8 #include <zephyr/dt-bindings/regulator/nxp_vref.h>
14 compatible = "test-regulator-voltage";
16 tolerance-microvolt = <10000>;
17 set-read-delay-ms = <1>;
18 adc-avg-count = <10>;
19 io-channels = <&lpadc0 0>;
20 min-microvolt = <1000000>;
[all …]
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/
Dlpcxpresso55s69_lpc55s69_cpu0.overlay2 * SPDX-License-Identifier: Apache-2.0
4 * Copyright 2022-2024 NXP
7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
11 io-channels = <&adc0 0 &adc0 1 &adc0 2>;
16 #address-cells = <1>;
17 #size-cells = <0>;
21 * - Connect VREFN_TARGET to GND, and VREFP_TARGET to 3v3
24 * - Connect LPADC0 CH0A signal to voltage between 0~3.3V (P19 pin 4)
25 * - Connect LPADC0 CH0B signal to voltage between 0~3.3V (P19 pin 2)
27 * - Connect LPADC0 CH4A signal to voltage between 0~3.3V (P17 pin 19)
[all …]
Dfrdm_mcxn236.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/adc/adc.h>
8 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
13 io-channels = <&lpadc0 0>, <&lpadc0 1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
23 * LPADC0 CH1A and CH1B are set up in differential mode (B-A)
24 * - Connect LPADC0 CH1A signal to voltage between 0~1.8V (J4 pin 4)
25 * - Connect LPADC0 CH1B signal to voltage between 0~1.8V (J8 pin 11)
27 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J8 pin 12)
[all …]
Dfrdm_mcxn947_mcxn947_cpu0.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/adc/adc.h>
8 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
13 io-channels = <&lpadc0 0>, <&lpadc0 1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
23 * LPADC0 CH1A and CH1B are set up in differential mode (B-A)
24 * - Connect LPADC0 CH1A signal to voltage between 0~1.8V (J8 pin 20)
25 * - Connect LPADC0 CH1B signal to voltage between 0~1.8V (J8 pin 24)
27 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J8 pin 28)
[all …]
Dfrdm_mcxn947_mcxn947_cpu0_qspi.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/adc/adc.h>
8 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
13 io-channels = <&lpadc0 0>, <&lpadc0 1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
23 * LPADC0 CH1A and CH1B are set up in differential mode (B-A)
24 * - Connect LPADC0 CH1A signal to voltage between 0~1.8V (J8 pin 20)
25 * - Connect LPADC0 CH1B signal to voltage between 0~1.8V (J8 pin 24)
27 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J8 pin 28)
[all …]
Dmimxrt595_evk_mimxrt595s_cm33.overlay2 * SPDX-License-Identifier: Apache-2.0
5 * Copyright 2023-2024 NXP
8 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
13 io-channels = <&lpadc0 0>, <&lpadc0 1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
23 * LPADC0 CH0A and CH0B are set up in differential mode (B-A)
24 * - Connect LPADC0 CH0A signal to voltage between 0~1.8V (J30 pin 1)
25 * - Connect LPADC0 CH0B signal to voltage between 0~1.8V (J30 pin 2)
27 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J30 pin 3)
[all …]
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/
Dmimxrt595_evk_cm33.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
16 #address-cells = <1>;
17 #size-cells = <0>;
21 * LPADC0 CH0A and CH0B are set up in differential mode (B-A)
22 * - Connect LPADC0 CH0A signal to voltage between 0~1.8V (J30 pin 1)
23 * - Connect LPADC0 CH0B signal to voltage between 0~1.8V (J30 pin 2)
25 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J30 pin 3)
31 zephyr,reference = "ADC_REF_EXTERNAL0";
32 zephyr,vref-mv = <1800>;
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dst,stm32-vref.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "st,stm32-vref"
8 include: sensor-device.yaml
11 vrefint-cal-addr:
15 Device engineering bytes address containing the factory-measured
16 calibration bandgap voltage (VREFINT_CAL).
18 vrefint-cal-mv:
22 VDDA/VREF+ voltage in millivolts applied during manufacturing to determine
23 the internal bandgap voltage reference VREFINT.
/Zephyr-latest/include/zephyr/drivers/adc/
Dadc_emul.h10 * SPDX-License-Identifier: Apache-2.0
28 * Behaviour of emulated ADC is application-defined. As-such, each
31 * - define a Device Tree overlay file to indicate the number of ADC
33 * - set default reference voltages in Device Tree or using
35 * - asynchronously call @ref adc_emul_const_value_set in order to set
37 * - asynchronously call @ref adc_emul_value_func_set in order to assign
38 * function which will be used to obtain voltage on emulated ADC input
67 * @param value New voltage in mV to assign to @p chan input
70 * @return -EINVAL if an invalid argument is provided
83 * @return -EINVAL if an invalid argument is provided
[all …]

12345678