:orphan: .. title:: CONFIG_MAX30101_SR .. kconfig:: CONFIG_MAX30101_SR CONFIG_MAX30101_SR ################## *ADC sample rate control* Type: ``int`` Help ==== .. code-block:: none Set the effective sampling rate with one sample consisting of one pulse/conversion per active LED channel. In SpO2 mode, these means one IR pulse/conversion and one red pulse/conversion per sample period. 0 = 50 Hz 1 = 100 Hz 2 = 200 Hz 3 = 400 Hz 4 = 800 Hz 5 = 1000 Hz 6 = 1600 Hz 7 = 3200 Hz Direct dependencies =================== \ :kconfig:`MAX30101 ` && \ :kconfig:`SENSOR ` *(Includes any dependencies from ifs and menus.)* Default ======= - 0 Kconfig definition ================== At ``/sensor/max30101/Kconfig:79`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:64`` → ``/sensor/Kconfig:161`` Menu path: (Top) → Device Drivers → Sensor Drivers → MAX30101 Pulse Oximeter and Heart Rate Sensor .. code-block:: kconfig config MAX30101_SR int "ADC sample rate control" range 0 7 default 0 depends on MAX30101 && SENSOR help Set the effective sampling rate with one sample consisting of one pulse/conversion per active LED channel. In SpO2 mode, these means one IR pulse/conversion and one red pulse/conversion per sample period. 0 = 50 Hz 1 = 100 Hz 2 = 200 Hz 3 = 400 Hz 4 = 800 Hz 5 = 1000 Hz 6 = 1600 Hz 7 = 3200 Hz *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*