Home
last modified time | relevance | path

Searched +full:channel +full:- +full:sens (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/samples/subsys/input/input_dump/boards/
Desp32_devkitc_wroom_procpu.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
14 channel-num = <9>;
15 channel-sens = <20>;
20 channel-num = <8>;
21 channel-sens = <20>;
26 channel-num = <6>;
27 channel-sens = <20>;
32 channel-num = <4>;
[all …]
Desp32_devkitc_wrover_procpu.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
14 channel-num = <9>;
15 channel-sens = <20>;
20 channel-num = <8>;
21 channel-sens = <20>;
26 channel-num = <6>;
27 channel-sens = <20>;
32 channel-num = <4>;
[all …]
Desp32s2_saola.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
14 channel-num = <9>;
15 channel-sens = <20>;
20 channel-num = <8>;
21 channel-sens = <20>;
26 channel-num = <6>;
27 channel-sens = <20>;
32 channel-num = <4>;
[all …]
Desp32s3_devkitm_procpu.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
14 channel-num = <9>;
15 channel-sens = <20>;
20 channel-num = <8>;
21 channel-sens = <20>;
26 channel-num = <6>;
27 channel-sens = <20>;
32 channel-num = <4>;
[all …]
/Zephyr-latest/dts/bindings/input/
Despressif,esp32-touch-sensor.yaml2 # SPDX-License-Identifier: Apache-2.0
8 sensor is defined in a child node of the touch-sensor node and defines a specific key
13 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
17 compatible = "espressif,esp32-touch";
20 debounce-interval-ms = <30>;
21 href-microvolt = <27000000>;
22 lref-microvolt = <500000>;
23 href-atten-microvolt = <1000000>;
24 filter-mode = <ESP32_TOUCH_FILTER_MODE_IIR_16>;
[all …]
/Zephyr-latest/drivers/sensor/meas/ms5837/
Dms5837.c5 * SPDX-License-Identifier: Apache-2.0
24 const struct ms5837_config *cfg = dev->config; in ms5837_get_measurement()
30 err = i2c_write_dt(&cfg->i2c, &cmd, 1); in ms5837_get_measurement()
37 err = i2c_burst_read_dt(&cfg->i2c, adc_read_cmd, ((uint8_t *)val) + 1, in ms5837_get_measurement()
52 struct ms5837_data *data = dev->data; in ms5837_compensate_30()
55 int64_t SENS; in ms5837_compensate_30() local
62 * (https://www.te.com/usa-en/product-CAT-BLPS0017.html) section in ms5837_compensate_30()
66 dT = adc_temperature - ((int32_t)(data->t_ref) << 8); in ms5837_compensate_30()
67 data->temperature = 2000 + (dT * data->tempsens) / (1ll << 23); in ms5837_compensate_30()
68 OFF = ((int64_t)(data->off_t1) << 16) + (dT * data->tco) / (1ll << 7); in ms5837_compensate_30()
[all …]
/Zephyr-latest/drivers/sensor/meas/ms5607/
Dms5607.c4 * SPDX-License-Identifier: Apache-2.0
27 int64_t SENS; in ms5607_compensate() local
34 * (https://www.te.com/usa-en/product-CAT-BLPS0035.html) section in ms5607_compensate()
38 dT = adc_temperature - ((int32_t)(data->t_ref) << 8); in ms5607_compensate()
39 data->temperature = 2000 + (dT * data->tempsens) / (1ll << 23); in ms5607_compensate()
40 OFF = ((int64_t)(data->off_t1) << 17) + (dT * data->tco) / (1ll << 6); in ms5607_compensate()
41 SENS = ((int64_t)(data->sens_t1) << 16) + (dT * data->tcs) / (1ll << 7); in ms5607_compensate()
44 * (https://www.te.com/usa-en/product-CAT-BLPS0035.html) section in ms5607_compensate()
48 temp_sq = (int64_t)(data->temperature - 2000) * in ms5607_compensate()
49 (int64_t)(data->temperature - 2000); in ms5607_compensate()
[all …]