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_ACTIVITY_TIME

Activity time

Type: int

Help

The activity timer implements a robust activity detection that
minimizes false positive motion triggers. When the timer is used,
only sustained motion can trigger activity detection.
Number of multiples of 3.3 ms activity timer for which above threshold
acceleration is required to detect activity. It is 3.3 ms per code
for 6400 Hz ODR, and it is 6.6 ms per code for 3200 Hz ODR and below.

Direct dependencies

ADXL372 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At drivers/sensor/adxl372/Kconfig:149

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_ACTIVITY_TIME
    int "Activity time"
    range 0 255
    default 1
    depends on ADXL372 && SENSOR
    help
      The activity timer implements a robust activity detection that
      minimizes false positive motion triggers. When the timer is used,
      only sustained motion can trigger activity detection.
      Number of multiples of 3.3 ms activity timer for which above threshold
      acceleration is required to detect activity. It is 3.3 ms per code
      for 6400 Hz ODR, and it is 6.6 ms per code for 3200 Hz ODR and below.

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