CONFIG_LIS2DW12_PULSE_SHOCK

Shock value

Type: hex

Help

Maximum duration of over-threshold event: this register represents the maximum time of an over-threshold signal detection to be recognized as a tap event. Where 0 equals 4*1/ODR and 1LSB = 8*1/ODR.

Direct dependencies

LIS2DW12_PULSE && LIS2DW12_TRIGGER && LIS2DW12 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0x00

Kconfig definition

At <Zephyr>/drivers/sensor/lis2dw12/Kconfig:127

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:62<Zephyr>/drivers/sensor/Kconfig:113

Menu path: (Top) → Device Drivers → Sensor Drivers → LIS2DW12 I2C/SPI accelerometer sensor driver → Pulse detection

config LIS2DW12_PULSE_SHOCK
    hex "Shock value"
    range 0 0x03
    default 0x00
    depends on LIS2DW12_PULSE && LIS2DW12_TRIGGER && LIS2DW12 && SENSOR
    help
      Maximum duration of over-threshold event: this register represents
      the maximum time of an over-threshold signal detection to be
      recognized as a tap event. Where 0 equals 4*1/ODR and 1LSB = 8*1/ODR.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)