CONFIG_MAX30101_SLOT2

Slot 2

Type: int

Help

Set which LED and pulse amplitude are active in time slot 2. 0: None (disabled) 1: LED1 (red), LED1_PA 2: LED2 (IR), LED2_PA 3: LED3 (green), LED3_PA 4: None (disabled) 5: LED1 (red), PILOT_PA 6: LED2 (IR), PILOT_PA 7: LED3 (green), PILOT_PA

Direct dependencies

MAX30101_MULTI_LED_MODE && MAX30101 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At <Zephyr>/drivers/sensor/max30101/Kconfig:156

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

Menu path: (Top) → Device Drivers → Sensor Drivers → MAX30101 Pulse Oximeter and Heart Rate Sensor

config MAX30101_SLOT2
    int "Slot 2"
    range 0 7
    default 0
    depends on MAX30101_MULTI_LED_MODE && MAX30101 && SENSOR
    help
      Set which LED and pulse amplitude are active in time slot 2.
      0: None (disabled)
      1: LED1 (red), LED1_PA
      2: LED2 (IR), LED2_PA
      3: LED3 (green), LED3_PA
      4: None (disabled)
      5: LED1 (red), PILOT_PA
      6: LED2 (IR), PILOT_PA
      7: LED3 (green), PILOT_PA

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