Lines Matching +full:int2 +full:- +full:gpios
2 # SPDX-License-Identifier: Apache-2.0
5 When setting the int1-gpio-config/int2-gpio-config and anym-mode properties
9 #include <zephyr/dt-bindings/sensor/lis2dh.h>
14 int1-gpio-config = <LIS2DH_DT_GPIO_INT_LEVEL_LOW>;
15 int2-gpio-config = <LIS2DH_DT_GPIO_INT_LEVEL_LOW>;
16 anym-mode = <LIS2DH_DT_ANYM_6D_POSITION>;
19 include: sensor-device.yaml
22 irq-gpios:
23 type: phandle-array
25 The INT1 and (optional) INT2 signal connections. These signals
26 are active-high as produced by the sensor.
28 int1-gpio-config:
37 - 0 # LIS2DH_DT_GPIO_INT_EDGE_BOTH
38 - 1 # LIS2DH_DT_GPIO_INT_EDGE_RISING
39 - 2 # LIS2DH_DT_GPIO_INT_EDGE_FALLING
40 - 3 # LIS2DH_DT_GPIO_INT_LEVEL_HIGH
41 - 4 # LIS2DH_DT_GPIO_INT_LEVEL_LOW
45 int2-gpio-config:
49 Select the interrupt configuration for INT2 gpio.
54 - 0 # LIS2DH_DT_GPIO_INT_EDGE_BOTH
55 - 1 # LIS2DH_DT_GPIO_INT_EDGE_RISING
56 - 2 # LIS2DH_DT_GPIO_INT_EDGE_FALLING
57 - 3 # LIS2DH_DT_GPIO_INT_LEVEL_HIGH
58 - 4 # LIS2DH_DT_GPIO_INT_LEVEL_LOW
62 disconnect-sdo-sa0-pull-up:
65 Indicates the device driver should disconnect SDO/SA0 pull-up
68 binding have SDO/SA0 pull-up (e.g. LIS2DH12, LIS3DH).
70 anym-on-int1:
77 anym-no-latch:
82 anym-mode:
88 The default of 0 is the power-on-reset value.
90 - 0 # LIS2DH_DT_ANYM_OR_COMBINATION
91 - 1 # LIS2DH_DT_ANYM_6D_MOVEMENT
92 - 2 # LIS2DH_DT_ANYM_AND_COMBINATION
93 - 3 # LIS2DH_DT_ANYM_6D_POSITION