56 enum class Mode : uint8_t {
ManualState
Manual LED state (portable subset).
virtual ManualState getManualState()=0
Get manual LED state (only meaningful when Mode::Manual is active).
virtual bool setManualState(ManualState state)=0
Set manual LED state (only meaningful when Mode::Manual is active).
virtual bool setOutputType(OutputType type)=0
Set LED output type.
virtual bool setMode(Mode mode)=0
Set LED operating mode.
virtual Mode getMode()=0
Get LED operating mode.
virtual ~PmicLedBase()=default
Mode
High-level LED operating mode (portable subset).
@ VENDOR
Unknown/implementation-specific mode.
@ BREATH
Breath/blink mode controlled by PMIC/hardware (if supported).
@ MANUAL
Manual control through registers.
@ AUTO
PMIC controls LED automatically (e.g.
@ DISABLE
LED is disabled (if supported).