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

AXP202 register map and constants. More...

#include <AXP202Regs.hpp>

Classes

struct  adc
 
struct  bmu
 
struct  chg
 
struct  coulomb
 
struct  factory
 
struct  gpio
 
struct  irq
 
struct  pmu
 
struct  timer
 

Public Types

using status = bmu
 
using power = pmu
 

Static Public Attributes

static constexpr uint8_t CHIP_ID = 0x41
 
static constexpr uint8_t BIT_EXTEN = 0
 
static constexpr uint8_t BIT_DCDC3 = 1
 
static constexpr uint8_t BIT_LDO2 = 2
 
static constexpr uint8_t BIT_LDO4 = 3
 
static constexpr uint8_t BIT_DCDC2 = 4
 
static constexpr uint8_t BIT_LDO3 = 6
 

Detailed Description

AXP202 register map and constants.

Nested structs group related registers by functional block.

Definition at line 54 of file AXP202Regs.hpp.

Member Typedef Documentation

◆ power

Definition at line 241 of file AXP202Regs.hpp.

◆ status

Definition at line 240 of file AXP202Regs.hpp.

Member Data Documentation

◆ BIT_DCDC2

constexpr uint8_t axp202_regs::BIT_DCDC2 = 4
staticconstexpr

Definition at line 236 of file AXP202Regs.hpp.

Referenced by AXP202Channel::enable(), and AXP202Channel::isEnabled().

◆ BIT_DCDC3

constexpr uint8_t axp202_regs::BIT_DCDC3 = 1
staticconstexpr

Definition at line 233 of file AXP202Regs.hpp.

Referenced by AXP202Channel::enable(), and AXP202Channel::isEnabled().

◆ BIT_EXTEN

constexpr uint8_t axp202_regs::BIT_EXTEN = 0
staticconstexpr

Definition at line 232 of file AXP202Regs.hpp.

Referenced by AXP202Channel::enable(), and AXP202Channel::isEnabled().

◆ BIT_LDO2

constexpr uint8_t axp202_regs::BIT_LDO2 = 2
staticconstexpr

Definition at line 234 of file AXP202Regs.hpp.

Referenced by AXP202Channel::enable(), and AXP202Channel::isEnabled().

◆ BIT_LDO3

constexpr uint8_t axp202_regs::BIT_LDO3 = 6
staticconstexpr

Definition at line 237 of file AXP202Regs.hpp.

Referenced by AXP202Channel::enable(), and AXP202Channel::isEnabled().

◆ BIT_LDO4

constexpr uint8_t axp202_regs::BIT_LDO4 = 3
staticconstexpr

Definition at line 235 of file AXP202Regs.hpp.

Referenced by AXP202Channel::enable(), and AXP202Channel::isEnabled().

◆ CHIP_ID

constexpr uint8_t axp202_regs::CHIP_ID = 0x41
staticconstexpr

Definition at line 229 of file AXP202Regs.hpp.


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