Home
last modified time | relevance | path

Searched +full:proximity +full:- +full:pulse +full:- +full:length (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/dts/bindings/sensor/
Dams,tmd2620.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: OSRAM ams TMD2620 Proximity Sensor
8 include: [sensor-device.yaml, i2c-device.yaml]
11 int-gpios:
12 type: phandle-array
15 The interrupt pin of TMD2620 is open-drain, active low.
17 as pull-up, active low.
19 proximity-gain:
22 description: Proximity detection gain of the sensor
24 - 1
[all …]
/Zephyr-latest/samples/sensor/proximity_polling/boards/
Dnrf52840dk_nrf52840.overlay3 prox-sensor0 = &tmd2620;
13 int-gpios = <&gpio1 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
14 proximity-gain = <4>;
15 proximity-pulse-length = <16>;
16 proximity-pulse-count = <15>;
17 proximity-high-threshold = <255>;
18 proximity-low-threshold = <0>;
19 proximity-led-drive-strength = <4>;
20 proximity-interrupt-filter = <0>;
21 wait-time-factor = <0>;
/Zephyr-latest/drivers/sensor/apds9960/
DKconfig3 # SPDX-License-Identifier: Apache-2.0
27 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_AVAGO_APDS9960),int-gpios)
42 prompt "Proximity Gain"
78 prompt "Proximity Pulse Length"
96 prompt "Proximity LED boost current"
114 int "Proximity Pulse Count"
Dapds9960.h5 * SPDX-License-Identifier: Apache-2.0
53 /* Proximity Gain (PGAIN) values */
149 /* Gesture Pulse Length values */
246 gpio_pin_interrupt_configure_dt(&cfg->int_gpio, flags); in apds9960_setup_int()
/Zephyr-latest/drivers/sensor/ams/tmd2620/
Dtmd2620.h4 * SPDX-License-Identifier: Apache-2.0
19 /* PRATE register defines the time between proximity measurements
35 * If the value generated by the proximity channel is below the
42 * If the value generated by the proximity channel is above the
63 /* pulse length */
73 /* proximity gain control */
92 /* PDATA contains the 1-byte proximity data */
164 gpio_pin_interrupt_configure_dt(&config->int_gpio, flags); in tmd2620_setup_int()
Dtmd2620.c4 * SPDX-License-Identifier: Apache-2.0
32 tmd2620_setup_int(data->dev->config, false); in tmd2620_gpio_callback()
35 k_work_submit(&data->work); in tmd2620_gpio_callback()
37 k_sem_give(&data->data_sem); in tmd2620_gpio_callback()
43 struct tmd2620_data *data = dev->data; in tmd2620_configure_interrupt()
44 const struct tmd2620_config *config = dev->config; in tmd2620_configure_interrupt()
49 if (!gpio_is_ready_dt(&config->int_gpio)) { in tmd2620_configure_interrupt()
51 return -ENODEV; in tmd2620_configure_interrupt()
54 ret = gpio_pin_configure_dt(&config->int_gpio, GPIO_INPUT); in tmd2620_configure_interrupt()
60 gpio_init_callback(&data->gpio_cb, tmd2620_gpio_callback, BIT(config->int_gpio.pin)); in tmd2620_configure_interrupt()
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
Di2c.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lsm6dsv16x.h>
10 #include <zephyr/dt-bindings/sensor/lsm6dso.h>
11 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h>
12 #include <zephyr/dt-bindings/sensor/lps22hh.h>
13 #include <zephyr/dt-bindings/sensor/lps2xdf.h>
14 #include <zephyr/dt-bindings/sensor/lis2ds12.h>
15 #include <zephyr/dt-bindings/sensor/lis2dw12.h>
16 #include <zephyr/dt-bindings/sensor/ism330dhcx.h>
17 #include <zephyr/dt-bindings/sensor/iis2dlpc.h>
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dgap.h8 * SPDX-License-Identifier: Apache-2.0
42 #define BT_DATA_UUID16_SOME 0x02 /**< 16-bit UUID, more available */
43 #define BT_DATA_UUID16_ALL 0x03 /**< 16-bit UUID, all listed */
44 #define BT_DATA_UUID32_SOME 0x04 /**< 32-bit UUID, more available */
45 #define BT_DATA_UUID32_ALL 0x05 /**< 32-bit UUID, all listed */
46 #define BT_DATA_UUID128_SOME 0x06 /**< 128-bit UUID, more available */
47 #define BT_DATA_UUID128_ALL 0x07 /**< 128-bit UUID, all listed */
52 #define BT_DATA_SIMPLE_PAIRING_HASH_C192 0x0e /**< Simple Pairing Hash C-192 */
53 #define BT_DATA_SIMPLE_PAIRING_RAND_C192 0x0f /**< Simple Pairing Randomizer R-192 */
58 #define BT_DATA_SOLICIT16 0x14 /**< Solicit UUIDs, 16-bit */
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.0.rst12 * The kernel now supports both 32- and 64-bit architectures.
17 * We added support for :ref:`Point-to-Point Protocol (PPP) <ppp>`. PPP is a
20 * We added support for UpdateHub, an end-to-end solution for large scale
21 over-the-air device updates.
22 * We added support for ARM Cortex-R Architecture (Experimental).
32 * Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and
33 including version 5.1 permits sufficiently low encryption key length
34 and does not prevent an attacker from influencing the key length
35 negotiation. This allows practical brute-force attacks (aka "KNOB")
42 * New kernel API for per-thread disabling of Floating Point Services for
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
54 ``args_len`` parameter to indicate the length of the ``args`` data.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
[all …]
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 …]