/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/ |
D | Kconfig | 1 # 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 …]
|
D | vcmp_ite_it8xxx2.c | 33 /* 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/ |
D | Kconfig | 4 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. 29 endif # COMPARATOR
|
D | Kconfig.silabs_acmp | 4 bool "Silabs ACMP comparator driver" 10 Enable the comparator driver for the Analog Comparator hardware block
|
D | Kconfig.shell | 5 bool "Comparator shell" 9 Comparator device driver shell.
|
/Zephyr-latest/include/zephyr/drivers/sensor/ |
D | mcux_acmp.h | 10 * @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/ |
D | comparator.h | 11 * @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/samples/boards/renesas/comparator/ |
D | README.rst | 2 :name: Renesas comparator 4 Monitor the output of comparator. 9 A sample that help to monitor the output of comparator. 28 :zephyr-app: samples/boards/renesas/comparator 33 The comparator's output controls LED0: 35 * If the comparator output is HIGH, LED0 turns on. 36 * If the comparator output is LOW, LED0 turns off. 42 * SW0 not pressed --> Comparator output HIGH --> LED0 on 43 * SW0 pressed --> Comparator output LOW --> LED0 off 47 * IVCMP3 HIGH --> Comparator output HIGH --> LED0 on [all …]
|
D | sample.yaml | 2 name: Comparator 4 sample.boards.renesas.comparator: 9 tags: comparator
|
/Zephyr-latest/tests/boards/nrf/comp/src/ |
D | test.c | 8 #include <zephyr/drivers/comparator/nrf_comp.h> 43 * @brief Configure comparator in single-ended mode with 53 zassert_equal(rc, 0, "Cannot configure comparator."); in ZTEST() 56 zassert_equal(rc, 0, "Cannot set callback for comparator."); in ZTEST() 59 zassert_equal(rc, 0, "Cannot set trigger for comparator."); in ZTEST() 74 * @brief Configure comparator in single-ended mode with 92 zassert_equal(rc, 0, "Cannot configure comparator."); in ZTEST() 95 zassert_equal(rc, 0, "Cannot set callback for comparator."); in ZTEST() 98 zassert_equal(rc, 0, "Cannot set trigger for comparator."); in ZTEST() 113 * @brief Configure comparator in differential mode [all …]
|
/Zephyr-latest/tests/drivers/build_all/comparator/ |
D | testcase.yaml | 5 - comparator 7 drivers.build_all.comparator.silabs_acmp.vsense_avdd: 17 drivers.build_all.comparator.nrf_comp.diff: 34 drivers.build_all.comparator.nrf_comp.se_aref: 51 drivers.build_all.comparator.nrf_comp.se: 68 drivers.build_all.comparator.nrf_lpcomp.ext_ref: 81 drivers.build_all.comparator.nrf_lpcomp.int_ref: 94 drivers.build_all.comparator.mcux_acmp.mimxrt1176_mux_dac: 100 drivers.build_all.comparator.mcux_acmp.mimxrt1176_mux_mux: 106 drivers.build_all.comparator.mcux_acmp.mke15z7_mux_dac: [all …]
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | comparator.rst | 3 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/comparator/gpio_loopback/ |
D | testcase.yaml | 9 - comparator 11 drivers.comparator.gpio_loopback.silabs_acmp: 16 drivers.comparator.gpio_loopback.mcux_acmp: 19 drivers.comparator.gpio_loopback.nrf_comp: 26 drivers.comparator.gpio_loopback.nrf_lpcomp:
|
/Zephyr-latest/dts/bindings/comparator/ |
D | renesas,ra-acmphs-global.yaml | 5 Renesas RA ACMPHS (High-Speed Analog COMParator) Global 19 If the pin-output-enable is selected in the comparator controller node, 22 Note: The VCOUT pinctrl for the comparator global node is already defined 23 on each board that supported comparator. Please check the board’s pinctrl 43 Note: There is only one VCOUT shared across all comparator controller nodes. 45 comparator controllers that have pin-output-enable enabled.
|
D | nordic,nrf-comp.yaml | 5 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
|
D | renesas,ra-acmphs.yaml | 5 Renesas RA ACMPHS (High-Speed Analog COMParator) Controller 19 Enabling the comparator controller node requires setting the minimum 20 default configuration of the comparator. This includes selecting the 23 Note: A set of pinctrl for the default comparator controller node is 24 already defined on each board that supported comparator. Please check 70 IRQ number and priority to use for interrupt Comparator: 113 When enabled comparator output is inverted.
|
D | nordic,nrf-lpcomp.yaml | 5 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/drivers/sensor/nxp/mcux_acmp/ |
D | Kconfig | 1 # 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/drivers/adc/ |
D | Kconfig.npcx | 19 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/samples/sensor/adc_cmp_npcx/ |
D | README.rst | 2 :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
|
D | sample.yaml | 2 description: Demonstration of nuvoton NPCX ADC comparator driver 3 name: NPCX ADC comparator sample
|
/Zephyr-latest/include/zephyr/dt-bindings/sensor/ |
D | it8xxx2_vcmp.h | 10 * @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/ |
D | ite,it8xxx2-vcmp.yaml | 4 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.
|
/Zephyr-latest/tests/drivers/comparator/shell/ |
D | testcase.yaml | 5 drivers.comparator.shell: 11 - comparator
|
/Zephyr-latest/tests/boards/nrf/comp/ |
D | testcase.yaml | 9 - comparator 11 drivers.comparator.nrf_comp:
|