|
SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
#include <AXP202Regs.hpp>
Static Public Member Functions | |
| static uint8_t | encodeInputCurrentLimit (uint32_t mA) |
| static uint32_t | decodeInputCurrentLimit (uint8_t reg) |
Static Public Attributes | |
| static constexpr uint8_t | LDO234_DC23_CTL = 0x12 |
| static constexpr uint8_t | DC2OUT_VOL = 0x23 |
| static constexpr uint8_t | DC3OUT_VOL = 0x27 |
| static constexpr uint8_t | LDO24OUT_VOL = 0x28 |
| static constexpr uint8_t | LDO3OUT_VOL = 0x29 |
| static constexpr uint8_t | IPS_SET = 0x30 |
| static constexpr uint8_t | VOFF_SET = 0x31 |
| static constexpr uint8_t | OFF_CTL = 0x32 |
| static constexpr uint8_t | POK_SET = 0x36 |
| static constexpr uint8_t | LDO3_DC2_DVM = 0x25 |
| static constexpr uint8_t | DCDC_FREQSET = 0x37 |
| static constexpr uint8_t | APS_WARNING1 = 0x3A |
| static constexpr uint8_t | APS_WARNING2 = 0x3B |
| static constexpr uint8_t | DCDC_MODESET = 0x80 |
| static constexpr uint8_t | VBUS_DET_SRP = 0x8B |
| static constexpr uint8_t | HOTOVER_CTL = 0x8F |
| static constexpr uint8_t | INPUT_CURR_MASK = 0x03 |
Definition at line 68 of file AXP202Regs.hpp.
|
inlinestatic |
Definition at line 104 of file AXP202Regs.hpp.
References INPUT_CURR_MASK.
|
inlinestatic |
Definition at line 90 of file AXP202Regs.hpp.
|
staticconstexpr |
Definition at line 80 of file AXP202Regs.hpp.
Referenced by AXP202PowerEx::getAPSWarningLevel1(), and AXP202PowerEx::setAPSWarningLevel1().
|
staticconstexpr |
Definition at line 81 of file AXP202Regs.hpp.
Referenced by AXP202PowerEx::getAPSWarningLevel2(), and AXP202PowerEx::setAPSWarningLevel2().
|
staticconstexpr |
Definition at line 70 of file AXP202Regs.hpp.
Referenced by AXP202Channel::getVoltage(), and AXP202Channel::setVoltage().
|
staticconstexpr |
Definition at line 71 of file AXP202Regs.hpp.
Referenced by AXP202Channel::getVoltage(), and AXP202Channel::setVoltage().
|
staticconstexpr |
Definition at line 79 of file AXP202Regs.hpp.
Referenced by AXP202PowerEx::getDCDCFrequency(), and AXP202PowerEx::setDCDCFrequency().
|
staticconstexpr |
Definition at line 82 of file AXP202Regs.hpp.
Referenced by AXP202PowerEx::isDCDC2PWMMode(), AXP202PowerEx::isDCDC3PWMMode(), AXP202PowerEx::setDCDC2PWMMode(), and AXP202PowerEx::setDCDC3PWMMode().
|
staticconstexpr |
Definition at line 84 of file AXP202Regs.hpp.
Referenced by AXP202PowerEx::enableOverTemperatureShutdown(), and AXP202PowerEx::isOverTemperatureShutdownEnabled().
|
staticconstexpr |
Definition at line 88 of file AXP202Regs.hpp.
Referenced by decodeInputCurrentLimit().
|
staticconstexpr |
Definition at line 74 of file AXP202Regs.hpp.
|
staticconstexpr |
Definition at line 69 of file AXP202Regs.hpp.
Referenced by AXP202Channel::enable(), and AXP202Channel::isEnabled().
|
staticconstexpr |
Definition at line 72 of file AXP202Regs.hpp.
Referenced by AXP202Channel::getVoltage(), and AXP202Channel::setVoltage().
|
staticconstexpr |
Definition at line 78 of file AXP202Regs.hpp.
|
staticconstexpr |
Definition at line 73 of file AXP202Regs.hpp.
Referenced by AXP202Channel::getVoltage(), AXP202PowerEx::setLDO3Mode(), and AXP202Channel::setVoltage().
|
staticconstexpr |
Definition at line 76 of file AXP202Regs.hpp.
Referenced by PmicAXP202::shutdown().
|
staticconstexpr |
Definition at line 77 of file AXP202Regs.hpp.
Referenced by AXP202PowerEx::disableLongPressShutdown(), and AXP202PowerEx::enableLongPressShutdown().
|
staticconstexpr |
Definition at line 83 of file AXP202Regs.hpp.
Referenced by AXP202PowerEx::enableVBUSDetection(), and AXP202PowerEx::isVBUSDetectionEnabled().
|
staticconstexpr |
Definition at line 75 of file AXP202Regs.hpp.
Referenced by PmicAXP202::enableSleep().