Lines Matching +full:input +full:- +full:double +full:- +full:tap
2 # SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lis2dw12.h>
14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>;
15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>;
16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>;
17 power-mode = <LIS2DW12_DT_HP_MODE>;
18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>;
21 include: sensor-device.yaml
24 irq-gpios:
25 type: phandle-array
33 int-pin:
47 configuration at power-up.
53 Range in g. Default is power-up configuration.
67 numbers are converted into their integer parts (1.65Hz -> 1, 12.5Hz -> 12).
73 bw-filt:
77 Digital filtering cutoff bandwidth. Default is power-up configuration.
79 - 0 # LIS2DW12_DT_FILTER_BW_ODR_DIV_2
80 - 1 # LIS2DW12_DT_FILTER_BW_ODR_DIV_4
81 - 2 # LIS2DW12_DT_FILTER_BW_ODR_DIV_10
82 - 3 # LIS2DW12_DT_FILTER_BW_ODR_DIV_20
86 power-mode:
90 Specify the sensor power mode. Default is power-up configuration.
92 - 0 # LIS2DW12_DT_LP_M1
93 - 1 # LIS2DW12_DT_LP_M2
94 - 2 # LIS2DW12_DT_LP_M3
95 - 3 # LIS2DW12_DT_LP_M4
96 - 4 # LIS2DW12_DT_HP_MODE
100 # tap and tap-tap configuration section
101 # All default values are selected to match the power-up values.
102 # tap and tap-tap events can be generated on INT1 only.
104 tap-mode:
108 Tap mode. Default is power-up configuration.
110 - 0 # LIS2DW12_DT_SINGLE_TAP
111 - 1 # LIS2DW12_DT_SINGLE_DOUBLE_TAP
115 tap-threshold:
119 Tap X/Y/Z axes threshold. Default is power-up configuration.
122 Thresholds to start the tap-event detection procedure on the X/Y/Z axes.
123 Threshold values for each axis are unsigned 5-bit corresponding
124 to a 2g acceleration full-scale range. A threshold value equal to zero
125 corresponds to disable the tap detection on that axis.
128 and want to disable tap detection on Y, you should specify in Device Tree
130 tap-threshold = <12>, <0>, <14>
134 tap-shock:
138 Tap shock value. Default is power-up configuration.
140 This register represents the maximum time of an over-threshold signal
141 detection to be recognized as a tap event. Where 0 equals 4*1/ODR and
144 tap-latency:
148 Tap latency. Default is power-up configuration.
150 When double-tap recognition is enabled, this register expresses the
152 double-tap event. Where 0 equals 16*1/ODR and 1LSB = 32*1/ODR.
154 tap-quiet:
158 Expected quiet time after a tap detection. Default is power-up configuration.
160 This register represents the time after the first detected tap in which
164 low-noise:
171 hp-filter-path:
175 When enabled, the high-pass filter path is selected.
176 When disabled, the low-pass filter path is selected.
180 hp-ref-mode:
183 Enables the high-pass filter reference mode in the CTRL7 register.
184 When the high-pass filter is configured in reference mode,
185 the output data is calculated as the difference between the input
192 drdy-pulsed:
195 Selects the pulsed mode for data-ready interrupt when enabled,
199 ff-duration:
210 100Hz ODR and 30ms ff-duration for recognize freefall detection
213 ff-threshold:
223 - 0 # LIS2DW12_DT_FF_THRESHOLD_156_mg
224 - 1 # LIS2DW12_DT_FF_THRESHOLD_219_mg
225 - 2 # LIS2DW12_DT_FF_THRESHOLD_250_mg
226 - 3 # LIS2DW12_DT_FF_THRESHOLD_312_mg
227 - 4 # LIS2DW12_DT_FF_THRESHOLD_344_mg
228 - 5 # LIS2DW12_DT_FF_THRESHOLD_406_mg
229 - 6 # LIS2DW12_DT_FF_THRESHOLD_469_mg
230 - 7 # LIS2DW12_DT_FF_THRESHOLD_500_mg
234 wakeup-duration:
244 - 0 # LIS2DW12_DT_WAKEUP_1_ODR
245 - 1 # LIS2DW12_DT_WAKEUP_2_ODR
246 - 2 # LIS2DW12_DT_WAKEUP_3_ODR
247 - 3 # LIS2DW12_DT_WAKEUP_4_ODR
251 sleep-duration:
255 The sleep duration. Default value is the register reset value (0000 -> 16*1/ODR).
263 - 0 # LIS2DW12_DT_SLEEP_0_ODR
265 - 15 # LIS2DW12_DT_SLEEP_15_ODR