Datasheet
Register description LSM6DSL
88/114 DocID028475 Rev 7
9.76 TAP_THS_6D (59h)
Portrait/landscape position and tap function threshold register (r/w).
9.77 INT_DUR2 (5Ah)
Tap recognition function setting register (r/w).
Table 185. TAP_THS_6D register
D4D_EN
SIXD_THS
1
SIXD_THS
0
TAP_THS
4
TAP_THS
3
TAP_THS
2
TAP_THS
1
TAP_THS
0
Table 186. TAP_THS_6D register description
D4D_EN
4D orientation detection enable. Z-axis position detection is disabled.
Default value: 0
(0: enabled; 1: disabled)
SIXD_THS[1:0]
Threshold for 4D/6D function. Default value: 00
For details, refer to Table 187.
TAP_THS[4:0]
Threshold for tap recognition. Default value: 00000
1 LSb corresponds to FS_XL/2
5
Table 187. Threshold for D4D/D6D function
SIXD_THS[1:0] Threshold value
00 80 degrees
01 70 degrees
10 60 degrees
11 50 degrees
Table 188. INT_DUR2 register
DUR3 DUR2 DUR1 DUR0 QUIET1 QUIET0 SHOCK1 SHOCK0
Table 189. INT_DUR2 register description
DUR[3:0]
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.
QUIET[1:0]
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.
SHOCK[1:0]
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.










