The latest development version of this page may be more current than this released 1.14.1 version.
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 if’s and menus.)

Defaults

Kconfig definition

At drivers/sensor/lis2ds12/Kconfig:73

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:62drivers/sensor/Kconfig:74

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

config LIS2DS12_ODR
    int
    prompt "Accelerometer Output data rate frequency" if LIS2DS12 && SENSOR
    range 0 10 if LIS2DS12 && SENSOR
    default 0 if LIS2DS12 && SENSOR
    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

(Definitions include propagated dependencies, including from if’s and menus.)