Home
last modified time | relevance | path

Searched +full:adc +full:- +full:mode (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/Zephyr-latest/dts/bindings/clock/
Dst,stm32f3-rcc.yaml2 # SPDX-License-Identifier: Apache-2.0
6 Adds the STM32F3 ADC prescaler to the standard generic STM32 RCC.
7 For more description confere st,stm32-rcc.yaml
9 compatible: "st,stm32f3-rcc"
11 include: st,stm32-rcc.yaml
14 adc12-prescaler:
17 - 0 # Synchronous mode
18 - 1 # not divided
19 - 2
20 - 4
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dti,ina237.yaml4 # SPDX-License-Identifier: Apache-2.0
9 The <zephyr/dt-bindings/sensor/ina237.h> file should be included in the
15 include: ti,ina23x-common.yaml
24 e.g shunt voltage and bus voltage ADC conversion
25 times and averaging, operating mode for INA230 or
26 delay for initial ADC conversion, shunt full scale range
31 adc-config:
36 Value of the ADC configuration register (ADC conversion times,
37 averaging, operating mode and etc).
41 alert-config:
[all …]
Dti,ina230.yaml5 # SPDX-License-Identifier: Apache-2.0
10 The <zephyr/dt-bindings/sensor/ina230.h> file should be included in the
16 include: ti,ina23x-common.yaml
25 e.g shunt voltage and bus voltage ADC conversion
26 times, ADC and averaging, and ADC operating mode.
28 alert-config:
30 description: Diag alert register, default matches the power-on reset value
32 adc-mode:
35 ADC channel conversion configuration.
36 Default is the power-on reset value.
[all …]
/Zephyr-latest/drivers/adc/
DKconfig.esp323 # SPDX-License-Identifier: Apache-2.0
6 bool "ESP32 ADC driver"
10 Enable the driver implementation for the ESP32 ADC
15 bool "ESP32 ADC DMA Support"
19 Enable the ADC DMA mode for ADC instances
DKconfig.stm321 # ADC configuration options
9 # SPDX-License-Identifier: Apache-2.0
12 bool "STM32 ADC driver"
17 Enable the driver implementation for the stm32xx ADC
20 bool "STM32WB0 ADC driver"
25 Enable the driver implementation for the STM32WB0 series ADC
30 bool "STM32 MCU ADC DMA Support"
33 Enable the ADC DMA mode for ADC instances
Dadc_handlers.c4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/drivers/adc.h>
35 if (dst->options) { in copy_sequence()
36 if (k_usermode_from_copy(options, dst->options, in copy_sequence()
41 dst->options = options; in copy_sequence()
44 if (K_SYSCALL_MEMORY_WRITE(dst->buffer, dst->buffer_size) != 0) { in copy_sequence()
61 "invalid ADC sequence")); in z_vrfy_adc_read()
63 K_OOPS(K_SYSCALL_VERIFY_MSG(sequence.options->callback == NULL, in z_vrfy_adc_read()
64 "ADC sequence callbacks forbidden from user mode")); in z_vrfy_adc_read()
82 "invalid ADC sequence")); in z_vrfy_adc_read_async()
[all …]
Dadc_mcux_adc16.c2 * Copyright (c) 2017-2018, 2020, NXP
4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/adc.h>
31 uint32_t clk_source; /* ADC clock source selection */
32 uint32_t long_sample; /* ADC long sample mode selection */
33 uint32_t hw_trigger_src; /* ADC hardware trigger source */
36 uint32_t dma_slot; /* ADC DMA MUX slot */
42 bool periodic_trigger; /* ADC enable periodic trigger */
44 bool high_speed; /* ADC enable high speed mode*/
45 bool continuous_convert; /* ADC enable continuous convert*/
[all …]
Dadc_stm32wb0.c4 * SPDX-License-Identifier: Apache-2.0
9 * - sampling: a single analog-to-digital conversion performed by the ADC
10 * - sequence: one or more sampling(s) performed one after the other by the
11 * ADC after a single programmation. This is the meaning used in the
12 * STM32WB0 ADC documentation.
13 * - round: all ADC operations needed to read all channels in the adc_sequence passed
16 * sequences to be performed by the ADC to be completed, due to hardware limitations.
20 * - idle mode: clock & ADC configuration that minimizes power consumption
21 * - Only the ADC digital domain clock is turned on:
22 * - ADC is powered off (CTRL.ADC_CTRL_ADC_ON_OFF = 0)
[all …]
Dadc_npcx.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/adc.h>
11 #include <zephyr/drivers/adc/adc_npcx_threshold.h>
25 /* ADC speed/delay values during initialization */
31 /* ADC targeted operating frequency (2MHz) */
34 /* ADC conversion mode */
46 /* adc controller base address */
50 /* the number of ADC channels */
54 /* routine for configuring ADC's ISR */
61 * Selects ADC channel number, for which the measured data is compared
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/sensor/
Dina237.h4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/dt-util.h>
11 /* Operating Mode */
29 /* Conversion time for bus, shunt and temp in micro-seconds */
39 /* Averaging Mode */
49 /* Reset Mode */
53 /* Delay for initial ADC conversion in steps of 2 ms */
65 * @param rst_mode Reset mode.
66 * @param convdly Delay for initial ADC conversion in steps of 2 ms.
76 * @brief Macro for creating the INA237 ADC configuration value
[all …]
/Zephyr-latest/dts/bindings/adc/
Dadc-controller.yaml3 # SPDX-License-Identifier: Apache-2.0
5 # Common fields for ADC controllers
10 "#io-channel-cells":
14 "#address-cells":
17 "#size-cells":
20 child-binding:
25 data will not be accessible for the ADC API macros.
28 https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/adc/adc.yaml
41 - ADC_GAIN_1_6: x 1/6
42 - ADC_GAIN_1_5: x 1/5
[all …]
Dnxp,mcux-12b1msps-sar.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: NXP MCUA 12B1MSPS SAR ADC
6 compatible: "nxp,mcux-12b1msps-sar"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
17 clk-divider:
22 sample-period-mode:
25 description: sample period mode
27 "#io-channel-cells":
30 io-channel-cells:
31 - input
Drenesas,ra-adc.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Renesas RA ADC node
6 compatible: "renesas,ra-adc"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
14 vref-mv:
17 description: ADC reference voltage (Unit:mV)
19 channel-count:
22 description: The number of ADC channels
24 "#io-channel-cells":
27 channel-available-mask:
[all …]
/Zephyr-latest/boards/nordic/nrf5340_audio_dk/
Dnrf5340_audio_dk_nrf5340_cpuapp_common.dtsi2 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
6 #include "nrf5340_audio_dk_nrf5340_cpuapp_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/sensor/ina230.h>
12 zephyr,shell-uart = &uart0;
13 zephyr,uart-mcumgr = &uart0;
14 zephyr,bt-mon-uart = &uart0;
15 zephyr,bt-c2h-uart = &uart0;
16 zephyr,bt-hci = &bt_hci_ipc0;
20 gpio_fwd: nrf-gpio-forwarder {
[all …]
/Zephyr-latest/include/zephyr/drivers/sensor/
Dicm42670.h4 * SPDX-License-Identifier: Apache-2.0
14 * @brief Extended public API for ICM42670 6-axis MEMS sensor
20 /** ICM42670 power mode */
25 * @brief Extended sensor attributes for ICM42670 6-axis MEMS sensor
31 * Low-Noise Mode and Low-Power Mode options are available for the
32 * accelerometer. Only Low-Noise Mode is available for gyroscope.
33 * In Low-Noise Mode, the ADC output is sent through an Anti-Alias Filter
37 * In Low-Power Mode, the accelerometer ADC output is sent through an Average
39 * The output of 1st Order LPF in Low-Noise Mode, or Average filter in Low-Power
40 * Mode is subject to ODR selection, with user selectable ODR.
[all …]
Dtsl2591.h4 * SPDX-License-Identifier: Apache-2.0
12 * setting the on-chip gain, integration time, and persist filter parameters.
25 /* Sensor ADC Gain Mode
37 /* Sensor ADC Integration Time (in ms)
52 * Setting this to 1 is equivalent to the no-persist interrupt mode.
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/
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)
26 * LPADC0 CH2A is set up in single ended mode
[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)
26 * LPADC0 CH2A is set up in single ended mode
[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)
26 * LPADC0 CH2A is set up in single ended mode
[all …]
/Zephyr-latest/drivers/sensor/renesas/isl29035/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
47 The sampling period of the internal ADC of the light sensor.
48 Lower integration time values mean lower ADC resolution.
65 prompt "Active sensing mode"
68 Sensing mode in which the ISL29035 will function. The chip can be
74 Sensing mode for ambient light spectrum.
79 Sensing mode for infrared spectrum.
84 prompt "Trigger mode"
89 Only available for ambient light sensing mode.
97 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ISIL_ISL29035),int-gpios)
[all …]
/Zephyr-latest/tests/drivers/regulator/voltage/boards/
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 …]
Dmimxrt685_evk_mimxrt685s_cm33.overlay3 * SPDX-License-Identifier: Apache-2.0
6 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
8 /* RT685 ADC only supports up to 1.8V,
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 …]
/Zephyr-latest/drivers/sensor/maxim/max30101/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
48 prompt "Mode control"
52 bool "Heart rate mode"
54 Set to operate in heart rate only mode. The red LED channel is
58 bool "SpO2 mode"
60 Set to operate in SpO2 mode. The red and IR LED channels are active.
63 bool "Multi-LED mode"
65 Set to operate in multi-LED mode. The green, red, and/or IR LED
71 int "ADC range control"
75 Set the ADC's full-scale range.
[all …]

12345678910>>...15