English
Language : 

LSM6DSL Datasheet, PDF (87/113 Pages) STMicroelectronics – iNEMO inertial module: always-on 3D accelerometer and 3D gyroscope
LSM6DSL
Register description
9.76
TAP_THS_6D (59h)
Portrait/landscape position and tap function threshold register (r/w).
Table 184. TAP_THS_6D register
D4D_EN
SIXD_THS SIXD_THS TAP_THS
1
0
4
TAP_THS
3
TAP_THS
2
TAP_THS
1
TAP_THS
0
D4D_EN
SIXD_THS[1:0]
TAP_THS[4:0]
Table 185. TAP_THS_6D register description
4D orientation detection enable. Z-axis position detection is disabled.
Default value: 0
(0: enabled; 1: disabled)
Threshold for 4D/6D function. Default value: 00
For details, refer to Table 186.
Threshold for tap recognition. Default value: 00000
1 LSb corresponds to FS_XL/25
Table 186. Threshold for D4D/D6D function
SIXD_THS[1:0]
Threshold value
00
80 degrees
01
70 degrees
10
60 degrees
11
50 degrees
9.77
INT_DUR2 (5Ah)
Tap recognition function setting register (r/w).
DUR3
DUR2
Table 187. INT_DUR2 register
DUR1
DUR0 QUIET1 QUIET0 SHOCK1 SHOCK0
DUR[3:0]
QUIET[1:0]
SHOCK[1:0]
Table 188. INT_DUR2 register description
Duration of maximum time gap for double tap recognition. Default: 0000
When double tap recognition is enabled, this register expresses the maximum time
between two consecutive detected taps to determine a double tap event. The
default value of these bits is 0000b which corresponds to 16*ODR_XL time. If the
DUR[3:0] bits are set to a different value, 1LSB corresponds to 32*ODR_XL time.
Expected quiet time after a tap detection. Default value: 00
Quiet time is the time after the first detected tap in which there must not be any
overthreshold event. The default value of these bits is 00b which corresponds to
2*ODR_XL time. If the QUIET[1:0] bits are set to a different value, 1LSB
corresponds to 4*ODR_XL time.
Maximum duration of overthreshold event. Default value: 00
Maximum duration is the maximum time of an overthreshold signal detection to be
recognized as a tap event. The default value of these bits is 00b which corresponds
to 4*ODR_XL time. If the SHOCK[1:0] bits are set to a different value, 1LSB
corresponds to 8*ODR_XL time.
DocID028475 Rev 5
87/113
113