CONFIG_LIS2MDL_MAG_ODR_RUNTIME

Set magnetometer sampling frequency (ODR) at runtime (default: 10 Hz)

Type: bool

Direct dependencies

LIS2MDL && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/drivers/sensor/lis2mdl/Kconfig:52

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

Menu path: (Top) → Device Drivers → Sensor Drivers → LIS2MDL Magnetometer

config LIS2MDL_MAG_ODR_RUNTIME
    bool "Set magnetometer sampling frequency (ODR) at runtime (default: 10 Hz)"
    default y
    depends on LIS2MDL && SENSOR

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