Home
last modified time | relevance | path

Searched full:comparator (Results 1 – 25 of 119) sorted by relevance

12345

/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/
DKconfig1 # ITE Voltage Comparator driver configuration options
7 bool "ITE it8xxx2 Voltage Comparator"
12 This option enables the ITE it8xxx2 voltage comparator,
13 it8xxx2 supports six 10-bit resolution voltage comparator
14 channels, and the input of each comparator comes from ADC pin.
19 int "ITE it8xxx2 voltage comparator device instance init priority"
22 This option sets ITE voltage comparator device instance init priority.
25 bool "ITE it8xxx2 voltage comparator threshold detection uses internal work queue"
33 int "ITE it8xxx2 voltage comparator threshold detection work queue priority"
36 This option sets internal ITE voltage comparator threshold detection
[all …]
Dvcmp_ite_it8xxx2.c33 /* Voltage comparator x control register */
35 /* Voltage comparator x channel select MSB register */
37 /* Voltage comparator scan period register */
39 /* Voltage comparator x threshold data buffer MSB register */
41 /* Voltage comparator x threshold data buffer LSB register */
43 /* Voltage comparator status register */
45 /* Voltage comparator status 2 register */
47 /* Voltage comparator module irq */
49 /* Voltage comparator channel */
51 /* Scan period for "all voltage comparator channel" */
[all …]
/Zephyr-latest/drivers/comparator/
DKconfig4 menuconfig COMPARATOR config
5 bool "Comparator drivers"
7 Enable comparator driver configuration.
9 if COMPARATOR
11 module = COMPARATOR
12 module-str = comparator
16 int "COMPARATOR init priority"
19 Comparator device driver initialization priority.
27 endif # COMPARATOR
DKconfig.shell5 bool "Comparator shell"
9 Comparator device driver shell.
Dcomparator_fake_comp.c7 #include <zephyr/drivers/comparator/fake_comp.h>
34 static DEVICE_API(comparator, fake_comp_api) = {
/Zephyr-latest/include/zephyr/drivers/sensor/
Dmcux_acmp.h10 * @brief Extended public API for the NXP MCUX Analog Comparator (ACMP)
53 /** Analog Comparator Output. */
58 /** Analog Comparator Output rising event trigger. */
60 /** Analog Comparator Output falling event trigger. */
65 /** Analog Comparator hard block offset. */
67 /** Analog Comparator hysteresis level. */
70 * Analog Comparator Digital-to-Analog Converter voltage
74 /** Analog Comparator Digital-to-Analog Converter value. */
76 /** Analog Comparator positive port input. */
78 /** Analog Comparator positive mux input. */
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dcomparator.h11 * @brief Comparator Interface
12 * @defgroup comparator_interface Comparator Interface
26 /** Comparator trigger enumerations */
30 /** Trigger on rising edge of comparator output */
32 /** Trigger on falling edge of comparator output */
34 /** Trigger on both edges of comparator output */
38 /** Comparator callback template */
61 * @brief Get comparator's output state
63 * @param dev Comparator device
73 return DEVICE_API_GET(comparator, dev)->get_output(dev); in z_impl_comparator_get_output()
[all …]
/Zephyr-latest/doc/hardware/peripherals/
Dcomparator.rst3 Comparator chapter
9 An analog comparator compares the voltages of two analog signals connected to its negative and
11 comparator's output will be high, otherwise, it will be low.
26 when the comparator is resumed.
31 Comparators are enabled using power management. When resumed, the comparator will actively
32 compare its inputs, producing an output and detecting edges. When suspended, the comparator
35 Comparator shell
38 The comparator shell provides the ``comp`` command with a set of subcommands for the
60 The power management shell can optionally be enabled alongside the comparator shell.
/Zephyr-latest/tests/drivers/build_all/comparator/
Dtestcase.yaml5 - comparator
7 drivers.build_all.comparator.nrf_comp.diff:
24 drivers.build_all.comparator.nrf_comp.se_aref:
41 drivers.build_all.comparator.nrf_comp.se:
58 drivers.build_all.comparator.nrf_lpcomp.ext_ref:
71 drivers.build_all.comparator.nrf_lpcomp.int_ref:
84 drivers.build_all.comparator.mcux_acmp.mimxrt1176_mux_dac:
90 drivers.build_all.comparator.mcux_acmp.mimxrt1176_mux_mux:
96 drivers.build_all.comparator.mcux_acmp.mke15z7_mux_dac:
101 drivers.build_all.comparator.mcux_acmp.mke15z7_mux_mux:
/Zephyr-latest/drivers/sensor/nxp/mcux_acmp/
DKconfig1 # NXP MCUX analog comparator (ACMP) configuration options
8 bool "NXP MCUX Analog Comparator (ACMP)"
14 Enable driver for the NXP MCUX Analog Comparator (ACMP).
20 Enable trigger support for the NXP MCUX Analog Comparator
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/
Dtestcase.yaml9 - comparator
11 drivers.comparator.gpio_loopback.mcux_acmp:
14 drivers.comparator.gpio_loopback.nrf_comp:
21 drivers.comparator.gpio_loopback.nrf_lpcomp:
/Zephyr-latest/drivers/adc/
DKconfig.npcx19 bool "ADC comparator version 1 support"
22 This option enables ADC comparator V1 support.
25 bool "ADC comparator version 2 support"
28 This option enables ADC comparator V2 support.
/Zephyr-latest/dts/bindings/comparator/
Dnordic,nrf-comp.yaml5 Nordic nRF COMP (analog COMParator)
7 This comparator has varying configurations which require varying
19 Enabling the comparator node requires setting the default
20 configuration of the comparator.
22 The following example displays enabling the comparator in
46 The following example displays enabling the comparator
Dnordic,nrf-lpcomp.yaml5 Nordic nRF LPCOMP (analog Low-Power COMParator)
16 Enabling the comparator node requires setting the default
17 configuration of the comparator.
19 The following example displays enabling the comparator
/Zephyr-latest/samples/sensor/adc_cmp_npcx/
DREADME.rst2 :name: NPCX ADC Comparator
5 Detect upper/lower voltage limits using NPCX ADC Comparator driver.
10 This sample show how to use the NPCX ADC Comparator driver. The
13 This application is a voltage comparator with hysteresis, upper limit is
Dsample.yaml2 description: Demonstration of nuvoton NPCX ADC comparator driver
3 name: NPCX ADC comparator sample
/Zephyr-latest/include/zephyr/dt-bindings/sensor/
Dit8xxx2_vcmp.h10 * @name it8xxx2 voltage comparator channel references
25 * @name it8xxx2 voltage comparator scan period for "all comparator channel"
45 * @name it8xxx2 voltage comparator interrupt trigger mode
/Zephyr-latest/dts/bindings/sensor/
Dite,it8xxx2-vcmp.yaml4 description: ITE, it8xxx2 Voltage Comparator node
20 description: Voltage comparator channel.
26 Select the scan interval for all comparator channel.
35 threshold assert value that will trigger comparator interrupt.
Dnxp,lpcmp.yaml4 description: NXP low-power analog comparator (LPCMP)
20 Decide whether to enable the comparator is available in selected pin.
30 Decide whether to invert the comparator output.
Davago,apds9253.yaml23 Select the rate interval (ms) for all comparator channel.
46 Select the gain value for all comparator channel.
65 Select the resolution value for all comparator channel.
/Zephyr-latest/tests/drivers/comparator/shell/
Dtestcase.yaml5 drivers.comparator.shell:
11 - comparator
/Zephyr-latest/samples/sensor/mcux_acmp/
DREADME.rst2 :name: NXP MCUX Analog Comparator (ACMP)
5 Get analog comparator data from an NXP MCUX Analog Comparator (ACMP).
10 This sample show how to use the NXP MCUX Analog Comparator (ACMP) driver. The
14 The input voltage for the negative input of the analog comparator is
22 The output value of the analog comparator is reported on the console.
/Zephyr-latest/samples/boards/nordic/system_off/
Dsample.yaml114 - "Entering system off; change signal level at comparator input to restart"
117 - "Entering system off; change signal level at comparator input to restart"
120 - "Entering system off; change signal level at comparator input to restart"
144 - "Entering system off; change signal level at comparator input to restart"
150 - "Entering system off; change signal level at comparator input to restart"
/Zephyr-latest/samples/sensor/mcux_lpcmp/
DREADME.rst2 :name: NXP MCUX Low-power Analog Comparator (LPCMP)
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.
/Zephyr-latest/include/zephyr/drivers/comparator/
Dnrf_comp.h10 #include <zephyr/drivers/comparator.h>
123 * @brief Configure comparator in single-ended mode
125 * @param dev Comparator device instance
149 * @brief Configure comparator in differential mode
151 * @param dev Comparator device instance

12345