Datasheet
DocID028475 Rev 7 87/114
LSM6DSL Register description
114
9.75 TAP_CFG (58h)
Enables interrupt and inactivity functions, configuration of filtering and tap recognition
functions (r/w).
Table 183. TAP_CFG register
INTERRUPTS
_ENABLE
INACT_EN1 INACT_EN0
SLOPE
_FDS
TAP_X_EN TAP_Y_EN TAP_Z_EN LIR
Table 184. TAP_CFG register description
INTERRUPTS
_ENABLE
Enable basic interrupts (6D/4D, free-fall, wake-up, tap, inactivity). Default 0.
(0: interrupt disabled; 1: interrupt enabled)
INACT_EN[1:0]
Enable inactivity function. Default value: 00
(00: disabled
01: sets accelerometer ODR to 12.5 Hz (low-power mode), gyro does not change;
10: sets accelerometer ODR to 12.5 Hz (low-power mode), gyro to sleep mode;
11: sets accelerometer ODR to 12.5 Hz (low-power mode), gyro to power-down
mode)
SLOPE_FDS
HPF or SLOPE filter selection on wake-up and Activity/Inactivity functions. Refer to
Figure 8. Default value: 0
(0: SLOPE filter applied; 1: HPF applied)
TAP_X_EN
Enable X direction in tap recognition. Default value: 0
(0: X direction disabled; 1: X direction enabled)
TAP_Y_EN
Enable Y direction in tap recognition. Default value: 0
(0: Y direction disabled; 1: Y direction enabled)
TAP_Z_EN
Enable Z direction in tap recognition. Default value: 0
(0: Z direction disabled; 1: Z direction enabled)
LIR
Latched Interrupt. Default value: 0
(0: interrupt request not latched; 1: interrupt request latched)










