Lines Matching +full:a +full:- +full:z

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
20 * X,Y,Z Axis Offset:
22 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g)
30 * TAP_X/Y/Z Enable: Setting TAP_X, Y, or Z Enable enables X,
31 * Y, or Z participation in Tap detection. A '0' excludes the
50 * (i.e. 0xFF = +16 g). A zero value may result in undesirable
60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero
69 * from the detection of a tap event to the opening of the time
70 * window tap_window for a possible second tap event. The scale
71 * factor is 1.25 ms/LSB. A zero value will disable the Double Tap
80 * of time after the expiration of tap_latency during which a second
81 * tap can begin. The scale factor is 1.25 ms/LSB. A zero value will
89 * X/Y/Z Enable: A '1' enables X, Y, or Z participation in activity
90 * or inactivity detection. A '0' excludes the selected axis from
93 * AC/DC: A '0' = DC coupled operation and a '1' = AC coupled
98 * at the start of activity detection is taken as a reference value.
102 * AC coupled operation for inactivity detection, a reference value
108 * inactivity_threshold for a total of inactivity_time, the device is
127 * 62.5 mg/LSB. A zero value may result in undesirable behavior if
137 * factor is 62.5 mg/LSB. A zero value may result in undesirable
152 * result in the function appearing un-responsive if the
153 * inactivity_time register is set with a value less than the time
154 * constant of the Output Data Rate. A zero value will result in an
162 * holds the threshold value for Free-Fall detection.
163 * The data format is unsigned. The root-sum-square(RSS) value
165 * free_fall_threshold to determine if a free fall event may be
166 * occurring. The scale factor is 62.5 mg/LSB. A zero value may
167 * result in undesirable behavior if Free-Fall interrupt is
178 * free_fall_threshold to generate a Free-Fall interrupt. The
179 * scale factor is 5 ms/LSB. A zero value may result in
180 * undesirable behavior if Free-Fall interrupt is enabled.
189 * RATE = 3200 Hz / (2^(15 - x)). Default value is 0x0A, or 100 Hz
192 * selected. Selecting too high of an Output Data Rate with a low
201 * in Full-Resolution Mode, where the output resolution increases
202 * with RANGE to maintain a 4 mg/LSB scale factor. When this
203 * bit is cleared the device is in 10-bit Mode and RANGE determine the
204 * maximum g-Range and scale factor.
217 * A '0' = Normal operation and a '1' = Reduced
225 * LINK: A '1' with both the activity and inactivity functions
233 * AUTO_SLEEP: A '1' sets the ADXL34x to switch to Sleep Mode
236 * A '0' disables automatic switching to Sleep Mode. See the
266 * A '0' disables the watermark feature.
274 * select the event type and event code for new x, y and z axis data
279 u32 ev_code_x; /* ABS_X,Y,Z or REL_X,Y,Z */
280 u32 ev_code_y; /* ABS_X,Y,Z or REL_X,Y,Z */
281 u32 ev_code_z; /* ABS_X,Y,Z or REL_X,Y,Z */
284 * A valid BTN or KEY Code; use tap_axis_control to disable
288 u32 ev_code_tap[3]; /* EV_KEY {X-Axis, Y-Axis, Z-Axis} */
291 * A valid BTN or KEY Code for Free-Fall or Activity enables
292 * input event reporting. A '0' disables the Free-Fall or
306 * The orientation function of the ADXL346 reports both 2-D and
307 * 3-D orientation concurrently.
319 * value. The deadzone region size can be specified with a
337 * a Divisor value should be selected to effectively limit the
339 * low-pass filter the measured acceleration for stable
354 u32 ev_codes_orient_2d[4]; /* EV_KEY {+X, -X, +Y, -Y} */
355 u32 ev_codes_orient_3d[6]; /* EV_KEY {+Z, +Y, +X, -X, -Y, -Z} */