SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
BQ25896Led.hpp
Go to the documentation of this file.
1
47#pragma once
48
49#include "../../PmicLedBase.hpp"
50#include "BQ25896Core.hpp"
51
55class BQ25896Led : public PmicLedBase
56{
57public:
62 explicit BQ25896Led(BQ25896Core &core);
63
64 ~BQ25896Led() = default;
65
77 bool setOutputType(OutputType type) override;
78
89 bool setMode(Mode mode) override;
90
95 Mode getMode() override;
96
103 bool setManualState(ManualState state) override;
104
109 ManualState getManualState() override;
110
111private:
112 BQ25896Core &_core;
113};
@license MIT License
BQ25896 LED/STAT Pin Control.
bool setMode(Mode mode) override
Set LED operating mode.
ManualState getManualState() override
Get manual LED state.
~BQ25896Led()=default
bool setManualState(ManualState state) override
Set manual LED state.
Mode getMode() override
Get LED operating mode.
bool setOutputType(OutputType type) override
Set LED output type.
ManualState
Manual LED state (portable subset).
Mode
High-level LED operating mode (portable subset).