Home
last modified time | relevance | path

Searched +full:threshold +full:- +full:mv (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/dts/bindings/input/
Dadc-keys.yaml2 # SPDX-License-Identifier: Apache-2.0
13 #include <dt-bindings/input/input-event-codes.h>
17 compatible = "adc-keys";
18 io-channels = <&adc 2>;
19 keyup-threshold-mv = <0>;
22 press-thresholds-mv = <1650>, /* KEY0 */
28 press-thresholds-mv = <2300>, /* KEY1 */
35 compatible: "adc-keys"
40 io-channels:
41 type: phandle-array
[all …]
/Zephyr-latest/dts/bindings/adc/
Dnuvoton,npcx-adc.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton, NPCX-ADC node
6 compatible: "nuvoton,npcx-adc"
8 include: [adc-controller.yaml, pinctrl-device.yaml]
15 pinctrl-0:
17 pinctrl-names:
19 vref-mv:
22 description: ADC reference voltage (Unit:mV)
23 channel-count:
27 threshold-count:
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dnordic,npm1300-charger.yaml4 # SPDX-License-Identifier: Apache-2.0
9 compatible: "nordic,npm1300-charger"
11 include: [sensor-device.yaml]
14 term-microvolt:
19 Available range is 3.5 V to 3.65 V and 4.0 V to 4.45 V in 50 mV steps.
21 term-warm-microvolt:
25 Available range is 3.5 V to 3.65 V and 4.0 V to 4.45 V in 50 mV steps.
26 If omitted, the term-microvolt value will be used.
28 current-microamp:
36 dischg-limit-microamp:
[all …]
Dnuvoton,adc-cmp.yaml2 # SPDX-License-Identifier: Apache-2.0
4 This will perform signal comparison with threshold established.
6 compatible: "nuvoton,adc-cmp"
8 include: sensor-device.yaml
11 io-channels:
12 type: phandle-array
17 threshold-mv:
20 Value in millivolts present on ADC data as threshold assert.
26 threshold assert value that will trigger comparator event.
28 - ADC_CMP_NPCX_GREATER
[all …]
Dite,it8xxx2-vcmp.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "ite,it8xxx2-vcmp"
8 include: sensor-device.yaml
17 vcmp-ch:
22 scan-period:
27 Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for
28 pre-defined values.
35 threshold assert value that will trigger comparator interrupt.
36 Check include/zephyr/dt-bindings/sensor/it8xxx2_vcmp.h file for
37 pre-defined values.
[all …]
Dti,bq274xx.yaml4 # SPDX-License-Identifier: Apache-2.0
11 include: [sensor-device.yaml, i2c-device.yaml]
14 design-voltage:
17 description: Battery Design Voltage in mV (3300 - 4400)
19 design-capacity:
24 taper-current:
28 Current in mA slightly higher than the taper current threshold at which
31 terminate-voltage:
36 gauge typically reports 0% capacity. In mV.
38 chemistry-id:
[all …]
/Zephyr-latest/drivers/input/
Dinput_adc_keys.c3 * SPDX-License-Identifier: Apache-2.0
49 const struct adc_keys_config *cfg = dev->config; in adc_keys_read()
50 struct adc_keys_data *data = dev->data; in adc_keys_read()
55 data->seq.buffer = &sample_raw; in adc_keys_read()
56 data->seq.buffer_size = sizeof(sample_raw); in adc_keys_read()
58 ret = adc_read(cfg->channel.dev, &data->seq); in adc_keys_read()
61 return cfg->keyup_mv; in adc_keys_read()
65 adc_raw_to_millivolts_dt(&cfg->channel, &sample_mv); in adc_keys_read()
72 const struct adc_keys_config *cfg = dev->config; in adc_keys_process()
82 * Find the closest key press threshold to the sample value. in adc_keys_process()
[all …]
/Zephyr-latest/drivers/sensor/ite/ite_vcmp_it8xxx2/
Dvcmp_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/devicetree/io-channels.h>
14 #include <zephyr/dt-bindings/dt-util.h>
15 #include <zephyr/dt-bindings/sensor/it8xxx2_vcmp.h>
39 /* Voltage comparator x threshold data buffer MSB register */
41 /* Voltage comparator x threshold data buffer LSB register */
58 /* Threshold assert value in mv */
68 /* Work queue to be notified when threshold assertion happens */
81 * Pointer of work queue thread to be notified when threshold assertion
89 const struct vcmp_it8xxx2_config *const config = dev->config; in clear_vcmp_status()
[all …]
/Zephyr-latest/boards/st/stm32c0116_dk/
Dstm32c0116_dk.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/c0/stm32c011f(4-6)ux-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 model = "STMicroelectronics STM32C0116-DK Discovery board";
14 compatible = "st,stm32c011f6-dk";
18 zephyr,shell-uart = &usart1;
24 compatible = "gpio-leds";
32 compatible = "pwm-leds";
40 compatible = "gpio-keys";
[all …]
/Zephyr-latest/include/zephyr/usb_c/
Dtcpci.h3 * SPDX-License-Identifier: Apache-2.0
15 * Registers and fields are compliant to the Type-C Port Controller Interface
19 /** Register address - vendor id */
22 /** Register address - product id */
25 /** Register address - version of TCPC */
28 /** Register address - USB TypeC version */
30 /** Mask for major part of type-c release supported */
32 /** Macro to extract the major part of type-c release supported */
34 /** Mask for minor part of type-c release supported */
36 /** Macro to extract the minor part of type-c release supported */
[all …]
/Zephyr-latest/boards/espressif/esp32s3_eye/
Desp32s3_eye_procpu.dts4 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "esp32s3_eye-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
12 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
16 model = "Espressif ESP32S3-EYE PROCPU";
20 i2c-0 = &i2c0;
29 zephyr,shell-uart = &usb_serial;
31 zephyr,code-partition = &slot0_partition;
[all …]
/Zephyr-latest/drivers/sensor/nuvoton/nuvoton_adc_cmp_npcx/
Dadc_cmp_npcx.c4 * SPDX-License-Identifier: Apache-2.0
16 /* Work queue to be notified when threshold assertion happens */
37 /* Threshold selection number assigned during initialization */
39 /* Threshold assert value in millivolts */
42 * Condition to be met between measured signal and threshold assert
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()
64 struct adc_cmp_npcx_data *data = dev->data; in adc_cmp_npcx_init()
[all …]
/Zephyr-latest/dts/bindings/regulator/
Dnxp,pca9420.yaml2 # SPDX-License-Identifier: Apache-2.0
34 nxp,enable-modesel-pins:
40 nxp,vin-ilim-microamp:
44 - 85000
45 - 255000
46 - 425000
47 - 595000
48 - 765000
49 - 935000
50 - 1105000
[all …]
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.c4 * SPDX-License-Identifier: Apache-2.0
36 * by Timer-trigger EADC. To implement this interconnection, TCPC node_id
39 * NOTE: EADC and Timer interrupts needn't enable for Timer-triggered EADC.
49 * (1) DPM-supplied callback
60 * @brief UTCPD VBUS threshold default in mV
62 * These are default values of UTCPD VBUS threshold registers. They need
76 #define NUMAKER_SYS_REG_DUMP(dev, reg_name) LOG_INF("SYS: %8s: 0x%08x", #reg_name, SYS->reg_name);
82 LOG_INF("%s: %8s: 0x%08x", #port, #reg_name, port->reg_name);
98 utcpd_base->reg_name = (val); \
110 LOG_ERR("UTCPD register (%s) write timeout, force-write", #reg_name); \
[all …]
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/boards/ite/it82xx2_evb/
Dit82xx2_evb.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <ite/it8xxx2-pinctrl-map.dtsi>
13 model = "IT82XX2 EV-Board";
14 compatible = "ite,it82xx2-evb";
17 i2c-0 = &i2c0;
18 peci-0 = &peci0;
22 pwm-0 = &pwm0;
27 zephyr,shell-uart = &uart1;
[all …]
/Zephyr-latest/boards/ite/it8xxx2_evb/
Dit8xxx2_evb.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include <zephyr/dt-bindings/gpio/gpio.h>
10 #include <ite/it8xxx2-pinctrl-map.dtsi>
13 model = "IT8XXX2 EV-Board";
14 compatible = "ite,it8xxx2-evb";
17 i2c-0 = &i2c0;
18 peci-0 = &peci0;
22 pwm-0 = &pwm0;
27 zephyr,shell-uart = &uart1;
[all …]
/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx4.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include "npcx4/npcx4-alts-map.dtsi"
10 #include "npcx4/npcx4-miwus-wui-map.dtsi"
12 #include "npcx4/npcx4-miwus-int-map.dtsi"
14 #include "npcx4/npcx4-espi-vws-map.dtsi"
15 /* npcx4 series low-voltage io controls mapping table */
16 #include "npcx4/npcx4-lvol-ctrl-map.dtsi"
18 #include "zephyr/dt-bindings/reset/npcx4_reset.h"
26 cpu-power-states = <&suspend_to_idle0>;
29 power-states {
[all …]
/Zephyr-latest/drivers/adc/
Dadc_rpi_pico.c5 * SPDX-License-Identifier: Apache-2.0
27 #define ADC_RPI_CHANNEL_NUM (ADC_CS_RROBIN_MSB - ADC_CS_RROBIN_LSB + 1)
69 hw_set_bits(&adc_hw->cs, ADC_CS_START_ONCE_BITS); in adc_start_once()
74 return (uint16_t)adc_hw->result; in adc_get_result()
79 return (adc_hw->cs & ADC_CS_ERR_BITS) ? true : false; in adc_get_err()
85 hw_set_bits(&adc_hw->fcs, ADC_FCS_OVER_BITS); in adc_clear_errors()
86 hw_set_bits(&adc_hw->fcs, ADC_FCS_UNDER_BITS); in adc_clear_errors()
87 hw_set_bits(&adc_hw->fcs, ADC_FCS_ERR_BITS); in adc_clear_errors()
88 hw_set_bits(&adc_hw->cs, ADC_CS_ERR_STICKY_BITS); in adc_clear_errors()
93 adc_hw->cs = ADC_CS_EN_BITS; in adc_enable()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.7.rst10 This release is the last non-maintenance 3.x release and, as such, will be the next
18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API,
21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017
25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio
29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and
35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr.
39 1588) allows to synchronize time across devices with sub-microsecond accuracy.
52 * 1-Wire
71 :ref:`pinctrl-guide` for more details.
88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8
[all …]
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[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 …]