Searched +full:channel +full:- +full:sens (Results 1 – 7 of 7) sorted by relevance
4 * SPDX-License-Identifier: Apache-2.07 #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 …]
2 # SPDX-License-Identifier: Apache-2.08 sensor is defined in a child node of the touch-sensor node and defines a specific key13 #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 …]
5 * SPDX-License-Identifier: Apache-2.024 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() local62 * (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 …]
4 * SPDX-License-Identifier: Apache-2.027 int64_t SENS; in ms5607_compensate() local34 * (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 …]