This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ADXL372_REFERENCED_ACTIVITY_DETECTION_MODE

Use referenced activity/in-activity detection

Type: bool

Help

Activity detection can be configured as referenced or absolute.
When using absolute activity detection, acceleration samples are
compared directly to a user set threshold to determine whether
motion is present. In many applications, it is advantageous for
activity detection to be based not on an absolute threshold,
but on a deviation from a reference point or orientation.

Direct dependencies

ADXL372 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At drivers/sensor/adxl372/Kconfig:172

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:62drivers/sensor/Kconfig:47

Menu path: (Top) → Device Drivers → Sensor Drivers → ADXL372 Three Axis High-g I2C/SPI accelerometer

config ADXL372_REFERENCED_ACTIVITY_DETECTION_MODE
    bool "Use referenced activity/in-activity detection"
    default y
    depends on ADXL372 && SENSOR
    help
      Activity detection can be configured as referenced or absolute.
      When using absolute activity detection, acceleration samples are
      compared directly to a user set threshold to determine whether
      motion is present. In many applications, it is advantageous for
      activity detection to be based not on an absolute threshold,
      but on a deviation from a reference point or orientation.

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