CONFIG_IIS2DLPC_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

IIS2DLPC_PULSE && IIS2DLPC_TRIGGER && IIS2DLPC && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0x00

Kconfig definition

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

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

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

config IIS2DLPC_PULSE_SHOCK
    hex "Shock value"
    range 0 0x03
    default 0x00
    depends on IIS2DLPC_PULSE && IIS2DLPC_TRIGGER && IIS2DLPC && 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.)