Home
last modified time | relevance | path

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

12345678910>>...13

/Zephyr-latest/drivers/adc/
DKconfig.mcux1 # ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_MCUX_ADC12
14 config ADC_MCUX_ADC16
22 config ADC_MCUX_12B1MSPS_SAR
23 bool "MCUX 12B1MSPS SAR ADC driver"
28 Enable the MCUX 12B1MSPS SAR ADC driver.
30 config ADC_MCUX_LPADC
41 config ADC_MCUX_ETC
42 bool "MCUX ADC ETC driver"
[all …]
DKconfig1 # ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
7 # ADC options
9 menuconfig ADC config
10 bool "Analog-to-Digital Converter (ADC) drivers"
11 # All platforms that implement the ADC driver are now required to
14 Enable ADC (Analog to Digital Converter) driver configuration.
16 if ADC
18 config ADC_SHELL
19 bool "ADC Shell"
[all …]
Dadc_stm32.c9 * SPDX-License-Identifier: Apache-2.0
16 #include <zephyr/drivers/adc.h>
46 #include <zephyr/dt-bindings/adc/stm32_adc.h>
51 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
56 #include <zephyr/linker/linker-defs.h>
62 /* Here are some redefinitions of ADC versions for better readability */
80 * Other ADC versions:
81 * compat st_stm32f1_adc -> STM32F1, F37x (ADC1_V2_5)
82 * compat st_stm32f4_adc -> STM32F2, F4, F7, L1
119 /* reference voltage for the ADC */
[all …]
DKconfig.max1125x1 # MAX1125X ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_MAX1125X
17 config ADC_MAX1125X_INIT_PRIORITY
21 ADS1X1X ADC device driver initialization priority.
23 config ADC_MAX1125X_ASYNC_THREAD_INIT_PRIORITY
24 int "ADC MAX1125X async thread priority"
27 config ADC_MAX1125X_ACQUISITION_THREAD_PRIORITY
28 int "Priority for the ADC data acquisition thread"
31 Priority level for the internal ADC data acquisition thread.
[all …]
DKconfig.npcx1 # NPCX ADC driver configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_NPCX
7 bool "Nuvoton NPCX embedded controller (EC) ADC driver"
12 This option enables the ADC driver for NPCX family of
14 Say y if you wish to use ADC channels on NPCX MCU.
18 config ADC_NPCX_CMP_V1
19 bool "ADC comparator version 1 support"
22 This option enables ADC comparator V1 support.
24 config ADC_NPCX_CMP_V2
[all …]
DKconfig.ads1x1x1 # ADS1X1X ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_ADS1X1X
17 Enable ADS1X1X ADC driver.
21 config ADC_ADS1X1X_INIT_PRIORITY
25 ADS1X1X ADC device driver initialization priority.
27 config ADC_ADS1X1X_ACQUISITION_THREAD_PRIO
28 int "Priority for the ADC data acquisition thread"
31 Priority level for the internal ADC data acquisition thread.
33 config ADC_ADS1X1X_ACQUISITION_THREAD_STACK_SIZE
[all …]
DKconfig.adc_emul2 # SPDX-License-Identifier: Apache-2.0
4 config ADC_EMUL
5 bool "ADC emulator"
9 Enable the ADC emulator driver. This is a fake driver in that it
10 does not talk to real hardware. It pretends to be actual ADC. It
11 is used for testing higher-level API for ADC devices.
15 config ADC_EMUL_ACQUISITION_THREAD_STACK_SIZE
16 int "Stack size for the ADC data acquisition thread"
21 emulated ADC require a lot of memory.
23 config ADC_EMUL_ACQUISITION_THREAD_PRIO
[all …]
Dadc_ene_kb1200.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/adc.h>
13 #include <reg/adc.h>
22 /* ADC Register base address */
23 struct adc_regs *adc; member
36 /* ADC local functions */
44 if (chan_mask & sequence->channels) { in adc_kb1200_validate_buffer_size()
51 if (sequence->options) { in adc_kb1200_validate_buffer_size()
52 buff_need *= 1 + sequence->options->extra_samplings; in adc_kb1200_validate_buffer_size()
55 if (buff_need > sequence->buffer_size) { in adc_kb1200_validate_buffer_size()
[all …]
DKconfig.stm321 # ADC configuration options
9 # SPDX-License-Identifier: Apache-2.0
11 config ADC_STM32
12 bool "STM32 ADC driver"
17 Enable the driver implementation for the stm32xx ADC
19 config ADC_STM32WB0
20 bool "STM32WB0 ADC driver"
25 Enable the driver implementation for the STM32WB0 series ADC
29 config ADC_STM32_DMA
30 bool "STM32 MCU ADC DMA Support"
[all …]
DKconfig.lmp90xxx1 # LMP90xxx ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_LMP90XXX
17 Enable LMP90xxx ADC driver.
19 The LMP90xxx is a multi-channel, low power sensor analog
24 config ADC_LMP90XXX_ACQUISITION_THREAD_STACK_SIZE
25 int "Stack size for the ADC data acquisition thread"
31 config ADC_LMP90XXX_ACQUISITION_THREAD_PRIO
32 int "Priority for the ADC data acquisition thread"
35 Priority level for the internal ADC data acquisition thread.
[all …]
DKconfig.nrfx1 # ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_NRFX_ADC
7 bool "nRF ADC nrfx driver"
13 Enable support for nrfx ADC driver for nRF51 MCU series.
15 config ADC_NRFX_ADC_CHANNEL_COUNT
16 int "Number of ADC channels"
21 Number of ADC channels to be supported by the driver. Each channel
22 needs a dedicated structure in RAM that stores the ADC settings
25 config ADC_NRFX_SAADC
DKconfig.ad559x2 # SPDX-License-Identifier: Apache-2.0
4 config ADC_AD559X
5 bool "AD559x ADC driver"
10 Enable the AD559x ADC driver.
12 config ADC_AD559X_ACQUISITION_THREAD_STACK_SIZE
13 int "Stack size for the ADC data acquisition thread"
20 config ADC_AD559X_ACQUISITION_THREAD_PRIO
21 int "Priority for the ADC data acquisition thread"
25 Priority level for the internal ADC data acquisition thread.
DKconfig.b912 # SPDX-License-Identifier: Apache-2.0
4 config ADC_TELINK_B91
5 bool "Telink Semiconductor B91 ADC driver"
10 Enables Telink B91 ADC driver.
14 config ADC_B91_ACQUISITION_THREAD_STACK_SIZE
15 int "Stack size for the ADC data acquisition thread"
21 config ADC_B91_ACQUISITION_THREAD_PRIO
22 int "Priority for the ADC data acquisition thread"
25 Priority level for the internal ADC data acquisition thread.
DKconfig.smartbond1 # ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_SMARTBOND_GPADC
7 bool "Renesas SmartBond(tm) ADC driver for ADC"
12 Enable support for ADC driver for Renesas SmartBond(tm) MCU series.
14 config ADC_SMARTBOND_SDADC
15 bool "Renesas SmartBond(tm) ADC driver for Sigma-Delta ADC"
20 Enable support for ADC driver for Renesas SmartBond(tm) MCU series.
DKconfig.mcp320x1 # MCP320x ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_MCP320X
12 Enable MCP3204/MCP3208 ADC driver.
14 The MCP3204/MCP3208 are 4/8 channel 12-bit A/D converters
19 config ADC_MCP320X_ACQUISITION_THREAD_STACK_SIZE
20 int "Stack size for the ADC data acquisition thread"
26 config ADC_MCP320X_ACQUISITION_THREAD_PRIO
27 int "Priority for the ADC data acquisition thread"
30 Priority level for the internal ADC data acquisition thread.
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 */
44 /* Device config */
46 /* adc controller base address */
50 /* the number of ADC channels */
54 /* routine for configuring ADC's ISR */
[all …]
DKconfig.esp323 # SPDX-License-Identifier: Apache-2.0
5 config ADC_ESP32
6 bool "ESP32 ADC driver"
10 Enable the driver implementation for the ESP32 ADC
14 config ADC_ESP32_DMA
15 bool "ESP32 ADC DMA Support"
19 Enable the ADC DMA mode for ADC instances
Dadc_renesas_ra.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/drivers/adc.h>
34 * @brief RA ADC config
36 * This structure contains constant data for given instance of RA ADC.
50 * @brief RA ADC data
52 * This structure contains data structures used by a RA ADC.
57 /** Pointer to RA ADC own device structure */
59 /** Structure that handle fsp ADC */
60 adc_instance_ctrl_t adc; member
61 /** Structure that handle fsp ADC config */
[all …]
DKconfig.it8xxx21 # ADC configuration options
4 # SPDX-License-Identifier: Apache-2.0
6 config ADC_ITE_IT8XXX2
7 bool "ITE IT8XXX2 ADC driver"
12 This option enables the ADC driver for IT8XXX2
15 Support 10-bit resolution.
20 config ADC_IT8XXX2_VOL_FULL_SCALE
21 bool "ADC internal voltage as full-scale"
23 This option enables ADC internal reference
24 voltage as full-scale 3300mV.
/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_adc_cmp_npcx/
Dadc_cmp_npcx.c4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/drivers/adc/adc_npcx_threshold.h>
20 /* ADC NPCX driver reference */
28 * Pointer of ADC device that will be performing measurement, this
31 const struct device *adc; member
33 * ADC channel that will be used to measure signal, this must be
50 #define ADC_CMP_NPCX_UNDEFINED (-1)
56 if (data->handler) { in adc_cmp_npcx_trigger_work_handler()
57 data->handler(data->dev, data->trigger); in adc_cmp_npcx_trigger_work_handler()
63 const struct adc_cmp_npcx_config *const config = dev->config; in adc_cmp_npcx_init() local
[all …]
DKconfig1 # ADC CMP NPCX driver configuration options
4 # SPDX-License-Identifier: Apache-2.0
8 config ADC_CMP_NPCX
9 bool "Nuvoton NPCX ADC threshold detection interruption"
18 config ADC_CMP_NPCX_WORKQUEUE
19 bool "NPCX ADC threshold detection uses internal work queue"
26 config ADC_CMP_NPCX_WORKQUEUE_PRIORITY
27 int "Nuvoton NPCX ADC trheshold detection work queue priority"
30 This option sets internal ADC NPCX threshold detection workqueue
33 config ADC_CMP_NPCX_WORKQUEUE_STACK_SIZE
[all …]
/Zephyr-latest/drivers/sensor/nxp/nxp_kinetis_temp/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
6 config TEMP_KINETIS
10 select ADC
16 config TEMP_KINETIS_RESOLUTION
17 int "ADC resolution"
21 ADC resolution to use for the temperature sensor and bandgap
24 config TEMP_KINETIS_OVERSAMPLING
25 int "ADC oversampling"
29 ADC oversampling to use for the temperature sensor and
33 config TEMP_KINETIS_FILTER
[all …]
Dtemp_kinetis.c4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/drivers/adc.h>
18 * - ADC samples are in uint16_t format
19 * - Both ADC channels (sensor and bandgap) are on the same ADC instance
24 /* Two ADC samples required for each reading, sensor value and bandgap value */
28 const struct device *adc; member
45 const struct temp_kinetis_config *config = dev->config; in temp_kinetis_sample_fetch() local
46 struct temp_kinetis_data *data = dev->data; in temp_kinetis_sample_fetch()
56 return -ENOTSUP; in temp_kinetis_sample_fetch()
60 memcpy(previous, data->buffer, sizeof(previous)); in temp_kinetis_sample_fetch()
[all …]
/Zephyr-latest/drivers/sensor/microchip/mcp970x/
Dmcp970x.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/drivers/adc.h>
30 struct adc_dt_spec adc; member
41 const struct mcp970x_config *config = dev->config; in fetch() local
42 struct mcp970x_data *data = dev->data; in fetch()
46 return -ENOTSUP; in fetch()
49 ret = adc_read_dt(&config->adc, &data->sequence); in fetch()
59 const struct mcp970x_config *config = dev->config; in get() local
60 struct mcp970x_data *data = dev->data; in get()
61 int32_t raw_val = data->raw; in get()
[all …]

12345678910>>...13