CONFIG_MAX30101_SLOT1

Slot 1

Type: int

Help

Set which LED and pulse amplitude are active in time slot 1.
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

  • 3

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:64<Zephyr>/drivers/sensor/Kconfig:161

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

config MAX30101_SLOT1
    int "Slot 1"
    range 0 7
    default 3
    depends on MAX30101_MULTI_LED_MODE && MAX30101 && SENSOR
    help
      Set which LED and pulse amplitude are active in time slot 1.
      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.)