CONFIG_HMC5883L_ODR

Output data rate

Type: string

Help

Magnetometer output data rate expressed in samples per second. Data rates supported by the chip are 0.75, 1.5, 3, 7.5, 15, 30 and 75.

Direct dependencies

HMC5883L && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • “15”

Kconfig definition

At <Zephyr>/drivers/sensor/hmc5883l/Kconfig:50

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

Menu path: (Top) → Device Drivers → Sensor Drivers → HMC5883L magnetometer

config HMC5883L_ODR
    string "Output data rate"
    default "15"
    depends on HMC5883L && SENSOR
    help
      Magnetometer output data rate expressed in samples per second.
      Data rates supported by the chip are 0.75, 1.5, 3, 7.5, 15, 30
      and 75.

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