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.)

Default

  • 0

Kconfig definition

At <Zephyr>/drivers/sensor/lis2ds12/Kconfig:71

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

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.)