CONFIG_LIS2DS12_ODR

Accelerometer Output data rate frequency

Type: int

Help

Specify the default accelerometer output data rate expressed in samples per second (Hz). 0: ODR selected at runtime 1: 12.5Hz 2: 25Hz 3: 50Hz 4: 100Hz 5: 200Hz 6: 400Hz 7: 800Hz

Direct dependencies

LIS2DS12 && SENSOR

(Includes any dependencies from ifs and menus.)

Defaults

  • 0

Kconfig definition

At drivers/sensor/lis2ds12/Kconfig:73

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:64drivers/sensor/Kconfig:80

Menu path: (Top) → Device Drivers → Sensor Drivers → LIS2DS12 I2C/SPI accelerometer sensor driver → Attributes

config LIS2DS12_ODR
    int "Accelerometer Output data rate frequency"
    range 0 10
    default 0
    depends on LIS2DS12 && SENSOR
    help
      Specify the default accelerometer output data rate expressed in
      samples per second (Hz).
      0: ODR selected at runtime
      1: 12.5Hz
      2: 25Hz
      3: 50Hz
      4: 100Hz
      5: 200Hz
      6: 400Hz
      7: 800Hz

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