CONFIG_MAX30101_LED1_PA

LED1 (red) pulse amplitude

Type: hex

Help

Set the pulse amplitude to control the LED1 (red) current. The actual measured LED current for each part can vary significantly due to the trimming methodology. 0x00 = 0.0 mA 0x01 = 0.2 mA 0x02 = 0.4 mA 0x0f = 3.1 mA 0xff = 50.0 mA

Direct dependencies

MAX30101 && SENSOR

(Includes any dependencies from ifs and menus.)

Default

  • 0xff

Kconfig definition

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

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

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

config MAX30101_LED1_PA
    hex "LED1 (red) pulse amplitude"
    range 0 0xff
    default 0xff
    depends on MAX30101 && SENSOR
    help
      Set the pulse amplitude to control the LED1 (red) current. The actual
      measured LED current for each part can vary significantly due to the
      trimming methodology.
      0x00 = 0.0 mA
      0x01 = 0.2 mA
      0x02 = 0.4 mA
      0x0f = 3.1 mA
      0xff = 50.0 mA

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