SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
axp517_regs::ctrl Struct Reference

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.
 

Detailed Description

Common control and power-path configuration registers.

Definition at line 60 of file AXP517Regs.hpp.

Member Data Documentation

◆ BATFET_CTRL

constexpr uint8_t axp517_regs::ctrl::BATFET_CTRL = 0x12
staticconstexpr

BATFET control.

Definition at line 63 of file AXP517Regs.hpp.

Referenced by AXP517Power::enableShipMode().

◆ BOOST_CFG

constexpr uint8_t axp517_regs::ctrl::BOOST_CFG = 0x1E
staticconstexpr

Boost configure.

Definition at line 75 of file AXP517Regs.hpp.

Referenced by AXP517Power::getBoostVoltage(), and AXP517Power::setBoostVoltage().

◆ COMMON_CFG

constexpr uint8_t axp517_regs::ctrl::COMMON_CFG = 0x10
staticconstexpr

Common configure.

Definition at line 61 of file AXP517Regs.hpp.

◆ DIE_TEMP_CFG

constexpr uint8_t axp517_regs::ctrl::DIE_TEMP_CFG = 0x14
staticconstexpr

Die temperature configure.

Definition at line 65 of file AXP517Regs.hpp.

◆ GPIO_CFG

constexpr uint8_t axp517_regs::ctrl::GPIO_CFG = 0x11
staticconstexpr

◆ INPUT_CURR_LIMIT

constexpr uint8_t axp517_regs::ctrl::INPUT_CURR_LIMIT = 0x17
staticconstexpr

Input current limit control.

Definition at line 68 of file AXP517Regs.hpp.

Referenced by AXP517Power::getInputCurrentLimit(), and AXP517Power::setInputCurrentLimit().

◆ INPUT_VOLT_LIMIT

constexpr uint8_t axp517_regs::ctrl::INPUT_VOLT_LIMIT = 0x16
staticconstexpr

Input voltage limit control.

Definition at line 67 of file AXP517Regs.hpp.

Referenced by AXP517Power::getInputVoltageLimit(), and AXP517Power::setInputVoltageLimit().

◆ LOW_BAT_WARN

constexpr uint8_t axp517_regs::ctrl::LOW_BAT_WARN = 0x1B
staticconstexpr

Low Battery warning threshold setting.

Definition at line 72 of file AXP517Regs.hpp.

◆ MIN_SYS_VOLTAGE

constexpr uint8_t axp517_regs::ctrl::MIN_SYS_VOLTAGE = 0x15
staticconstexpr

Minimum system voltage control.

Definition at line 66 of file AXP517Regs.hpp.

Referenced by AXP517Power::getMinimumSystemVoltage(), and AXP517Power::setMinimumSystemVoltage().

◆ MODULE_EN1

constexpr uint8_t axp517_regs::ctrl::MODULE_EN1 = 0x19
staticconstexpr

◆ MPPT_CFG

constexpr uint8_t axp517_regs::ctrl::MPPT_CFG = 0x22
staticconstexpr

MPPT configure.

Definition at line 76 of file AXP517Regs.hpp.

Referenced by AXP517Core::enableModule(), and AXP517Core::isModuleEnabled().

◆ PWRON_CFG

constexpr uint8_t axp517_regs::ctrl::PWRON_CFG = 0x1C
staticconstexpr

PWRON configure.

Definition at line 73 of file AXP517Regs.hpp.

Referenced by AXP517Pwron::getIrqDurationMs(), AXP517Pwron::getOffDurationMs(), and AXP517Pwron::getOnDurationMs().

◆ RBFET_CTRL

constexpr uint8_t axp517_regs::ctrl::RBFET_CTRL = 0x13
staticconstexpr

RBFET control.

Definition at line 64 of file AXP517Regs.hpp.

Referenced by AXP517Power::enableRBFET(), and AXP517Power::isRBFETEnabled().

◆ RESET_CFG

constexpr uint8_t axp517_regs::ctrl::RESET_CFG = 0x18
staticconstexpr

Reset configure.

Definition at line 69 of file AXP517Regs.hpp.

◆ VBUS_OV_CHG_PWRON

constexpr uint8_t axp517_regs::ctrl::VBUS_OV_CHG_PWRON = 0x1D
staticconstexpr

VBUS_OV/CHG_PWRON configure.

Definition at line 74 of file AXP517Regs.hpp.

◆ WATCHDOG_CTRL

constexpr uint8_t axp517_regs::ctrl::WATCHDOG_CTRL = 0x1A
staticconstexpr

Watchdog control.

Definition at line 71 of file AXP517Regs.hpp.


The documentation for this struct was generated from the following file: