|
SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
Common control and power-path configuration registers. More...
#include <AXP517Regs.hpp>
Static Public Attributes | |
| static constexpr uint8_t | COMMON_CFG = 0x10 |
| Common configure. | |
| static constexpr uint8_t | GPIO_CFG = 0x11 |
| GPIO configure. | |
| static constexpr uint8_t | BATFET_CTRL = 0x12 |
| BATFET control. | |
| static constexpr uint8_t | RBFET_CTRL = 0x13 |
| RBFET control. | |
| static constexpr uint8_t | DIE_TEMP_CFG = 0x14 |
| Die temperature configure. | |
| static constexpr uint8_t | MIN_SYS_VOLTAGE = 0x15 |
| Minimum system voltage control. | |
| static constexpr uint8_t | INPUT_VOLT_LIMIT = 0x16 |
| Input voltage limit control. | |
| static constexpr uint8_t | INPUT_CURR_LIMIT = 0x17 |
| Input current limit control. | |
| static constexpr uint8_t | RESET_CFG = 0x18 |
| Reset configure. | |
| static constexpr uint8_t | MODULE_EN1 = 0x19 |
| Module enable control1. | |
| static constexpr uint8_t | WATCHDOG_CTRL = 0x1A |
| Watchdog control. | |
| static constexpr uint8_t | LOW_BAT_WARN = 0x1B |
| Low Battery warning threshold setting. | |
| static constexpr uint8_t | PWRON_CFG = 0x1C |
| PWRON configure. | |
| static constexpr uint8_t | VBUS_OV_CHG_PWRON = 0x1D |
| VBUS_OV/CHG_PWRON configure. | |
| static constexpr uint8_t | BOOST_CFG = 0x1E |
| Boost configure. | |
| static constexpr uint8_t | MPPT_CFG = 0x22 |
| MPPT configure. | |
Common control and power-path configuration registers.
Definition at line 60 of file AXP517Regs.hpp.
|
staticconstexpr |
BATFET control.
Definition at line 63 of file AXP517Regs.hpp.
Referenced by AXP517Power::enableShipMode().
|
staticconstexpr |
Boost configure.
Definition at line 75 of file AXP517Regs.hpp.
Referenced by AXP517Power::getBoostVoltage(), and AXP517Power::setBoostVoltage().
|
staticconstexpr |
Common configure.
Definition at line 61 of file AXP517Regs.hpp.
|
staticconstexpr |
Die temperature configure.
Definition at line 65 of file AXP517Regs.hpp.
|
staticconstexpr |
GPIO configure.
Definition at line 62 of file AXP517Regs.hpp.
Referenced by AXP517Gpio::readRaw(), AXP517Gpio::setDirection(), AXP517Gpio::setDrive(), AXP517Gpio::setOutputSource(), and AXP517Gpio::write().
|
staticconstexpr |
Input current limit control.
Definition at line 68 of file AXP517Regs.hpp.
Referenced by AXP517Power::getInputCurrentLimit(), and AXP517Power::setInputCurrentLimit().
|
staticconstexpr |
Input voltage limit control.
Definition at line 67 of file AXP517Regs.hpp.
Referenced by AXP517Power::getInputVoltageLimit(), and AXP517Power::setInputVoltageLimit().
|
staticconstexpr |
Low Battery warning threshold setting.
Definition at line 72 of file AXP517Regs.hpp.
|
staticconstexpr |
Minimum system voltage control.
Definition at line 66 of file AXP517Regs.hpp.
Referenced by AXP517Power::getMinimumSystemVoltage(), and AXP517Power::setMinimumSystemVoltage().
|
staticconstexpr |
Module enable control1.
Definition at line 70 of file AXP517Regs.hpp.
Referenced by AXP517Power::enableBoost(), AXP517Charger::enableCharging(), AXP517Core::enableModule(), AXP517Led::getMode(), AXP517Power::isBoostEnabled(), AXP517Core::isModuleEnabled(), and AXP517Led::setMode().
|
staticconstexpr |
MPPT configure.
Definition at line 76 of file AXP517Regs.hpp.
Referenced by AXP517Core::enableModule(), and AXP517Core::isModuleEnabled().
|
staticconstexpr |
PWRON configure.
Definition at line 73 of file AXP517Regs.hpp.
Referenced by AXP517Pwron::getIrqDurationMs(), AXP517Pwron::getOffDurationMs(), and AXP517Pwron::getOnDurationMs().
|
staticconstexpr |
RBFET control.
Definition at line 64 of file AXP517Regs.hpp.
Referenced by AXP517Power::enableRBFET(), and AXP517Power::isRBFETEnabled().
|
staticconstexpr |
Reset configure.
Definition at line 69 of file AXP517Regs.hpp.
|
staticconstexpr |
VBUS_OV/CHG_PWRON configure.
Definition at line 74 of file AXP517Regs.hpp.
|
staticconstexpr |
Watchdog control.
Definition at line 71 of file AXP517Regs.hpp.