33#include "../../PmicButtonBase.hpp"
103 bool updateBits(uint8_t mask, uint8_t value);
Core I2C communication layer for the AXP2101 PMIC.
Power-on / power-button timing control for the AXP2101 PMIC.
bool getIrqDurationMs(uint16_t &ms) const override
Get the short-press / IRQ trigger delay.
bool setIrqDurationMs(uint16_t ms) override
Set the short-press / IRQ trigger delay.
bool setOffDurationMs(uint16_t ms) override
Set the power-off delay (held duration to turn off).
bool setOnDurationMs(uint16_t ms) override
Set the power-on delay (held duration to turn on).
bool getOnDurationMs(uint16_t &ms) const override
Get the power-on delay setting.
bool getOffDurationMs(uint16_t &ms) const override
Get the power-off delay setting.