Home
last modified time | relevance | path

Searched +full:negative +full:- +full:mux +full:- +full:input (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/tests/drivers/build_all/comparator/mcux_acmp/
Dmke15z7_mux_dac.dts4 * SPDX-License-Identifier: Apache-2.0
10 pinctrl-0 = <&cmp0_default>;
11 pinctrl-names = "default";
14 positive-mux-input = "IN0";
15 positive-port-input = "MUX";
16 negative-mux-input = "IN0";
17 negative-port-input = "DAC";
19 dac-vref-source = "VIN1";
20 dac-value = <128>;
21 dac-enable;
Dmimxrt1176_mux_dac.dts4 * SPDX-License-Identifier: Apache-2.0
11 drive-strength = "high";
12 bias-pull-up;
13 slew-rate = "fast";
20 pinctrl-0 = <&acmp1_default>;
21 pinctrl-names = "default";
23 positive-mux-input = "IN2";
24 positive-port-input = "MUX";
25 negative-mux-input = "IN2";
26 negative-port-input = "DAC";
[all …]
Dmke15z7_mux_mux.dts4 * SPDX-License-Identifier: Apache-2.0
10 pinctrl-0 = <&cmp0_default>;
11 pinctrl-names = "default";
14 positive-mux-input = "IN0";
15 negative-mux-input = "IN1";
Dmimxrt1176_mux_mux.dts4 * SPDX-License-Identifier: Apache-2.0
12 drive-strength = "high";
13 bias-pull-up;
14 slew-rate = "fast";
21 pinctrl-0 = <&acmp1_default>;
22 pinctrl-names = "default";
24 positive-mux-input = "IN1";
25 negative-mux-input = "IN2";
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/boards/
Dfrdm_ke15z.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <nxp/kinetis/MKE17Z256VLL7-pinctrl.h>
8 #include <zephyr/dt-bindings/gpio/gpio.h>
16 test-comp = &cmp0;
20 test-gpios = <&gpioa 1 GPIO_ACTIVE_HIGH>;
32 drive-strength = "high";
38 pinctrl-0 = <&cmp0_default>;
39 pinctrl-names = "default";
42 positive-mux-input = "IN0";
43 positive-port-input = "MUX";
[all …]
/Zephyr-latest/dts/bindings/comparator/
Dnxp,kinetis-acmp.yaml3 # SPDX-License-Identifier: Apache-2.0
11 compatible = "nxp,kinetis-acmp";
20 positive and negative inputs, and routing them using pinctrl:
32 pinctrl-0 = <&acmp0_default>;
33 pinctrl-names = "default";
35 positive-mux-input = "IN0";
36 negative-mux-input = "IN1";
39 compatible: "nxp,kinetis-acmp"
42 - base.yaml
43 - pinctrl-device.yaml
[all …]
/Zephyr-latest/include/zephyr/drivers/sensor/
Dmcux_acmp.h5 * SPDX-License-Identifier: Apache-2.0
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. */
80 /** Analog Comparator negative port input. */
82 /** Analog Comparator negative mux input. */
87 /** Analog Comparator Negative Channel Discrete Mode Enable. */
Dmcux_lpcmp.h5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Data structure for the NXP MCUX low-power analog comparator (LPCMP)
44 /** LPCMP positive input mux. */
46 /** LPCMP negative input mux. */
/Zephyr-latest/samples/sensor/mcux_acmp/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
43 /* Positive input port set to MUX */
46 /* Positive input channel */
50 /* Negative input port set to DAC */
53 /* Negative input channel */
83 printf("ACMP input above threshold\n"); in acmp_input_handler()
85 printf("ACMP input below threshold\n"); in acmp_input_handler()
94 acmp_input_handler((int16_t)trigger->type == in acmp_trigger_handler()
137 printf("Adjust ACMP input voltage by turning the potentiometer\n"); in main()
/Zephyr-latest/drivers/adc/
Dadc_max1125x.c4 * SPDX-License-Identifier: Apache-2.0
241 k_sem_give(&data->data_ready_signal); in max1125x_data_ready_handler()
248 const struct max1125x_config *config = dev->config; in max1125x_read_reg()
271 ret = spi_transceive_dt(&config->bus, &tx, &rx); in max1125x_read_reg()
286 const struct max1125x_config *config = dev->config; in max1125x_write_reg()
293 ret = spi_write_dt(&config->bus, &tx); in max1125x_write_reg()
305 const struct max1125x_config *config = dev->config; in max1125x_send_command()
310 ret = spi_write_dt(&config->bus, &tx); in max1125x_send_command()
321 const struct max1125x_data *data = dev->data; in max1125x_start_conversion()
323 return max1125x_send_command(dev, MAX1125X_CMD_SEQUENCER, data->rate); in max1125x_start_conversion()
[all …]
Dadc_ads1x1x.c5 * SPDX-License-Identifier: Apache-2.0
85 /* +/-6.144V range = Gain 1/3 */
87 /* +/-4.096V range = Gain 1/2 */
89 /* +/-2.048V range = Gain 1 (default) */
91 /* +/-1.024V range = Gain 2 */
93 /* +/-0.512V range = Gain 4 */
95 /* +/-0.256V range = Gain 8 */
119 /* Non-latching comparator (default) */
169 const struct ads1x1x_config *config = dev->config; in ads1x1x_setup_rdy_pin()
171 ? GPIO_INPUT | config->alert_rdy.dt_flags in ads1x1x_setup_rdy_pin()
[all …]
/Zephyr-latest/drivers/sensor/nxp/mcux_lpcmp/
Dmcux_lpcmp.c5 * SPDX-License-Identifier: Apache-2.0
56 const struct mcux_lpcmp_config *config = dev->config; in mcux_lpcmp_attr_set()
57 struct mcux_lpcmp_data *data = dev->data; in mcux_lpcmp_attr_set()
58 int32_t val1 = val->val1; in mcux_lpcmp_attr_set()
63 return -ENOTSUP; in mcux_lpcmp_attr_set()
66 if (val->val2 != 0) { in mcux_lpcmp_attr_set()
67 return -EINVAL; in mcux_lpcmp_attr_set()
71 /** Analog input mux related attributes */ in mcux_lpcmp_attr_set()
73 LOG_DBG("positive mux = %d", val1); in mcux_lpcmp_attr_set()
75 config->base->CCR2 = ((config->base->CCR2 & (~LPCMP_CCR2_PSEL_MASK)) | in mcux_lpcmp_attr_set()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.4.rst33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer
34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing
35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core
36 * CVE-2020-10072: all threads can access all socket file descriptors
37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat
38 * CVE-2020-13599: Security problem with settings and littlefs
39 * CVE-2020-13601: Under embargo until 2020/11/18
40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv
50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if
[all …]
Drelease-notes-3.0.rst22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf
23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_
25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj
26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_
28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m
29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_
36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN()
58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been
69 * The following Kconfig options related to radio front-end modules (FEMs) were
[all …]
Drelease-notes-2.7.rst17 * Support for M-Profile Vector Extensions (MVE) on ARMv8.1-M
18 * Improved thread safety for Newlib and C++ on SMP-capable systems
20 * New Action-based Power Management API
23 * Linker Support for Tightly-Coupled Memory in RISC-V
25 * Support for extended PCI / PCIe capabilities, improved MIS-X support
33 * The kernel now supports both 32- and 64-bit architectures
36 * We added support for Point-to-Point Protocol (PPP)
37 * We added support for UpdateHub, an end-to-end solution for over-the-air device updates
38 * We added support for ARM Cortex-R Architecture
40 * Expanded support for ARMv6-M architecture
[all …]
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]