CONFIG_STTS751_SAMPLING_RATE

Output data rate

Type: int

Help

Sensor output data rate expressed in conversions per second. Data rates supported by the chip are: 0: 1 conv every 16 sec 1: 1 conv every 8 sec 2: 1 conv every 4 sec 3: 1 conv every 2 sec 4: 1 conv every sec 5: 2 convs every sec 6: 4 convs every sec 7: 8 convs every sec 8: 16 convs every sec 9: 32 convs every sec

Direct dependencies

STTS751 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 4

Kconfig definition

At <Zephyr>/drivers/sensor/stts751/Kconfig:70

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

Menu path: (Top) → Device Drivers → Sensor Drivers → STTS751 temperature sensor → Attributes

config STTS751_SAMPLING_RATE
    int "Output data rate"
    range 0 9
    default 4
    depends on STTS751 && SENSOR
    help
      Sensor output data rate expressed in conversions per second.
      Data rates supported by the chip are:
      0:  1 conv  every 16 sec
      1:  1 conv  every 8 sec
      2:  1 conv  every 4 sec
      3:  1 conv  every 2 sec
      4:  1 conv  every sec
      5:  2 convs every sec
      6:  4 convs every sec
      7:  8 convs every sec
      8: 16 convs every sec
      9: 32 convs every sec

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