Home
last modified time | relevance | path

Searched full:proximity (Results 1 – 25 of 63) sorted by relevance

123

/Zephyr-latest/samples/sensor/proximity_polling/
DREADME.rst2 :name: Proximity sensor
5 Get proximity data from up to 10 proximity sensors (polling mode).
10 This sample demonstrates how to use one or multiple proximity sensors.
15 The sample supports up to 10 proximity sensors. The number of the sensors will
43 Proximity sensor sample application
44 Found 1 proximity sensor(s): tmd2620@29
45 Proximity on tmd2620@29: 202
46 Proximity on tmd2620@29: 205
47 Proximity on tmd2620@29: 204
48 Proximity on tmd2620@29: 60
[all …]
Dsample.yaml2 name: Proximity sensor polling sample
8 - proximity
/Zephyr-latest/dts/bindings/sensor/
Dams,tmd2620.yaml4 description: OSRAM ams TMD2620 Proximity Sensor
19 proximity-gain:
22 description: Proximity detection gain of the sensor
29 proximity-pulse-length:
39 proximity-pulse-count:
44 proximity-high-threshold:
48 proximity-low-threshold:
52 proximity-led-drive-strength:
58 proximity-interrupt-filter:
61 filters proximity interrupt. (min. 0; max. 15)
[all …]
Dvishay,vcnl36825t.yaml5 VCNL36825T proximity and ambient light sensor. See datasheet at
39 proximity-it:
44 Proximity integration time in T.
47 proximity-itb:
52 Duration of the proximity integration time T in us.
107 and proximity count is reached.
109 if falls below lower threshold, and proximity count is reached.
111 - "logic high / low": signal if high threshold is exceeded and proximity counts is reached,
115 int-proximity-count:
Dvishay,vcnl4040.yaml5 VCNL4040 proximity and ambient light sensor. See datasheet at
47 proximity-it:
51 description: Proximity integration time in T
62 proximity-trigger:
66 description: Proximity trigger type
Dsemtech,sx9500.yaml5 Semtech SX9500 capacitive proximity/button. See more info at
6 https://www.semtech.com/products/smart-sensing/touch-proximity-devices/sx9500
Davago,apds9960.yaml4 description: APDS9960 digital proximity, ambient light, RGB, and gesture sensor
/Zephyr-latest/samples/sensor/proximity_polling/boards/
Dnrf52840dk_nrf52840.overlay14 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>;
/Zephyr-latest/drivers/sensor/sx9500/
DKconfig1 # SX9500 SAR proximity sensor configuration options
7 bool "SX9500 I2C SAR Proximity Chip"
12 Enable driver for SX9500 I2C-based SAR proximity sensor.
17 int "Proximity channel to use"
20 The SX9500 offers 4 separate proximity channels. Choose which one
Dsx9500.c1 /* sensor_sx9500.c - Driver for Semtech SX9500 SAR proximity chip */
40 0x0e, /* Proximity detection threshold: 280 */
42 * independently, proximity hysteresis: 32, close
/Zephyr-latest/samples/sensor/vcnl4040/
DREADME.rst2 :name: VCNL4040 Proximity and Ambient Light Sensor
5 Get proximity and ambient light data from a VCNL4040 sensor (polling & trigger mode).
10 This sample periodically measures proximity and light for
44 Proximity: 31
51 Testing proximity trigger.
54 Proximity: 122
/Zephyr-latest/drivers/sensor/apds9960/
DKconfig42 prompt "Proximity Gain"
78 prompt "Proximity Pulse Length"
96 prompt "Proximity LED boost current"
114 int "Proximity Pulse Count"
/Zephyr-latest/samples/sensor/vcnl4040/boards/
Dadafruit_feather_stm32f405.overlay14 proximity-it = "8";
15 proximity-trigger = "close";
/Zephyr-latest/samples/sensor/vcnl4040/src/
Dmain.c25 printf("Cannot read proximity data.\n"); in print_proxy_data()
29 printf("Proximity: %d\n", (uint16_t) pdata.val1); in print_proxy_data()
92 printf("Testing proximity trigger.\n"); in test_trigger_mode()
99 printf("cannot set proximity high threshold.\n"); in test_trigger_mode()
107 printf("cannot set proximity low threshold.\n"); in test_trigger_mode()
/Zephyr-latest/samples/sensor/apds9960/
Dsample.yaml18 - "ambient light intensity (.*), proximity (.*)"
37 - "ambient light intensity (.*), proximity (.*)"
DREADME.rst5 Get ambient light, RGB, and proximity/gesture data from an APDS9960 sensor.
11 ambient light, RGB, and proximity (or gesture) data. This sample checks the
/Zephyr-latest/samples/sensor/proximity_polling/src/
Dmain.c37 printk("Proximity on %s: %d\n", dev->name, pdata.val1); in print_prox_data()
43 printk("Proximity sensor sample application\n"); in main()
44 printk("Found %d proximity sensor(s): ", ARRAY_SIZE(prox_devices)); in main()
/Zephyr-latest/drivers/sensor/st/vl53l0x/
DKconfig17 int "Proximity threshold in millimeters"
21 Threshold used for proximity detection when sensor is used with SENSOR_CHAN_PROX.
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/
DKconfig1 # VCNL36825T Proximity Sensor configuration options
7 bool "VCNL36825T Proximity Sensor"
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/
DKconfig1 # VCNL4040 Proximity and Ambient Light Sensor configuration options
7 bool "VCNL4040 Proximity and Ambient Light Sensor"
Dvcnl4040.c70 &data->proximity); in vcnl4040_sample_fetch()
72 LOG_ERR("Could not fetch proximity"); in vcnl4040_sample_fetch()
102 val->val1 = data->proximity; in vcnl4040_channel_get()
171 /* Clear proximity shutdown */ in vcnl4040_reg_setup()
205 /* Clear proximity shutdown */ in vcnl4040_pm_action()
225 /* Set proximity shutdown bit 0 */ in vcnl4040_pm_action()
/Zephyr-latest/drivers/sensor/ams/tmd2620/
Dtmd2620.h19 /* 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
73 /* proximity gain control */
92 /* PDATA contains the 1-byte proximity data */
Dtmd2620.c102 /* Enabling proximity and powering up device */ in tmd2620_sample_fetch()
123 LOG_DBG("Proximity interrupt detected."); in tmd2620_sample_fetch()
127 LOG_ERR("Failed reading proximity data."); in tmd2620_sample_fetch()
135 /* Disabling proximity and powering down device */ in tmd2620_sample_fetch()
253 LOG_ERR("Invalid proximity pulse length"); in tmd2620_sensor_setup()
278 LOG_ERR("Invalid proximity gain"); in tmd2620_sensor_setup()
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/
DREADME.rst22 Proximity (onboard + satellites)
26 is something in proximity for each sensor. The left sensor is shown on the
28 The proximity threshold is configured in
/Zephyr-latest/samples/sensor/sx9500/
DREADME.txt5 A simple example using the sx9500 SAR proximity sensor.

123