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

#include <AXP202Regs.hpp>

Static Public Attributes

static constexpr uint8_t ADC_EN1 = 0x82
 
static constexpr uint8_t ADC_EN2 = 0x83
 
static constexpr uint8_t ADC_SPEED = 0x84
 
static constexpr uint8_t ADC_INPUTRANGE = 0x85
 
static constexpr uint8_t ADC_IRQ_RETFSET = 0x86
 
static constexpr uint8_t ADC_IRQ_FETFSET = 0x87
 
static constexpr uint8_t ACIN_VOL_H = 0x56
 
static constexpr uint8_t ACIN_VOL_L = 0x57
 
static constexpr uint8_t ACIN_CUR_H = 0x58
 
static constexpr uint8_t ACIN_CUR_L = 0x59
 
static constexpr uint8_t VBUS_VOL_H = 0x5A
 
static constexpr uint8_t VBUS_VOL_L = 0x5B
 
static constexpr uint8_t VBUS_CUR_H = 0x5C
 
static constexpr uint8_t VBUS_CUR_L = 0x5D
 
static constexpr uint8_t INTERNAL_TEMP_H = 0x5E
 
static constexpr uint8_t INTERNAL_TEMP_L = 0x5F
 
static constexpr uint8_t TS_IN_H = 0x62
 
static constexpr uint8_t TS_IN_L = 0x63
 
static constexpr uint8_t GPIO0_ADC_H = 0x64
 
static constexpr uint8_t GPIO0_ADC_L = 0x65
 
static constexpr uint8_t GPIO1_ADC_H = 0x66
 
static constexpr uint8_t GPIO1_ADC_L = 0x67
 
static constexpr uint8_t BAT_AVERVOL_H = 0x78
 
static constexpr uint8_t BAT_AVERVOL_L = 0x79
 
static constexpr uint8_t BAT_AVERCHGCUR_H = 0x7A
 
static constexpr uint8_t BAT_AVERCHGCUR_L = 0x7B
 
static constexpr uint8_t BAT_AVERDISCHGCUR_H = 0x7C
 
static constexpr uint8_t BAT_AVERDISCHGCUR_L = 0x7D
 
static constexpr uint8_t APS_AVERVOL_H = 0x7E
 
static constexpr uint8_t APS_AVERVOL_L = 0x7F
 
static constexpr uint8_t BAT_POWER_H = 0x70
 
static constexpr uint8_t BAT_POWER_M = 0x71
 
static constexpr uint8_t BAT_POWER_L = 0x72
 
static constexpr uint8_t BATT_PERCENTAGE = 0xB9
 

Detailed Description

Definition at line 146 of file AXP202Regs.hpp.

Member Data Documentation

◆ ACIN_CUR_H

constexpr uint8_t axp202_regs::adc::ACIN_CUR_H = 0x58
staticconstexpr

Definition at line 156 of file AXP202Regs.hpp.

◆ ACIN_CUR_L

constexpr uint8_t axp202_regs::adc::ACIN_CUR_L = 0x59
staticconstexpr

Definition at line 157 of file AXP202Regs.hpp.

◆ ACIN_VOL_H

constexpr uint8_t axp202_regs::adc::ACIN_VOL_H = 0x56
staticconstexpr

Definition at line 154 of file AXP202Regs.hpp.

◆ ACIN_VOL_L

constexpr uint8_t axp202_regs::adc::ACIN_VOL_L = 0x57
staticconstexpr

Definition at line 155 of file AXP202Regs.hpp.

◆ ADC_EN1

constexpr uint8_t axp202_regs::adc::ADC_EN1 = 0x82
staticconstexpr

Definition at line 147 of file AXP202Regs.hpp.

◆ ADC_EN2

constexpr uint8_t axp202_regs::adc::ADC_EN2 = 0x83
staticconstexpr

Definition at line 148 of file AXP202Regs.hpp.

◆ ADC_INPUTRANGE

constexpr uint8_t axp202_regs::adc::ADC_INPUTRANGE = 0x85
staticconstexpr

Definition at line 150 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getADCInputRange(), and AXP202Adc::setADCInputRange().

◆ ADC_IRQ_FETFSET

constexpr uint8_t axp202_regs::adc::ADC_IRQ_FETFSET = 0x87
staticconstexpr

◆ ADC_IRQ_RETFSET

constexpr uint8_t axp202_regs::adc::ADC_IRQ_RETFSET = 0x86
staticconstexpr

◆ ADC_SPEED

constexpr uint8_t axp202_regs::adc::ADC_SPEED = 0x84
staticconstexpr

Definition at line 149 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getADCSampleRate(), and AXP202Adc::setADCSampleRate().

◆ APS_AVERVOL_H

constexpr uint8_t axp202_regs::adc::APS_AVERVOL_H = 0x7E
staticconstexpr

Definition at line 177 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ APS_AVERVOL_L

constexpr uint8_t axp202_regs::adc::APS_AVERVOL_L = 0x7F
staticconstexpr

Definition at line 178 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ BAT_AVERCHGCUR_H

constexpr uint8_t axp202_regs::adc::BAT_AVERCHGCUR_H = 0x7A
staticconstexpr

Definition at line 173 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ BAT_AVERCHGCUR_L

constexpr uint8_t axp202_regs::adc::BAT_AVERCHGCUR_L = 0x7B
staticconstexpr

Definition at line 174 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ BAT_AVERDISCHGCUR_H

constexpr uint8_t axp202_regs::adc::BAT_AVERDISCHGCUR_H = 0x7C
staticconstexpr

Definition at line 175 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ BAT_AVERDISCHGCUR_L

constexpr uint8_t axp202_regs::adc::BAT_AVERDISCHGCUR_L = 0x7D
staticconstexpr

Definition at line 176 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ BAT_AVERVOL_H

constexpr uint8_t axp202_regs::adc::BAT_AVERVOL_H = 0x78
staticconstexpr

Definition at line 171 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ BAT_AVERVOL_L

constexpr uint8_t axp202_regs::adc::BAT_AVERVOL_L = 0x79
staticconstexpr

Definition at line 172 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ BAT_POWER_H

constexpr uint8_t axp202_regs::adc::BAT_POWER_H = 0x70
staticconstexpr

Definition at line 179 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getBatteryPower().

◆ BAT_POWER_L

constexpr uint8_t axp202_regs::adc::BAT_POWER_L = 0x72
staticconstexpr

Definition at line 181 of file AXP202Regs.hpp.

◆ BAT_POWER_M

constexpr uint8_t axp202_regs::adc::BAT_POWER_M = 0x71
staticconstexpr

Definition at line 180 of file AXP202Regs.hpp.

◆ BATT_PERCENTAGE

constexpr uint8_t axp202_regs::adc::BATT_PERCENTAGE = 0xB9
staticconstexpr

Definition at line 182 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ GPIO0_ADC_H

constexpr uint8_t axp202_regs::adc::GPIO0_ADC_H = 0x64
staticconstexpr

Definition at line 167 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getGpio0Voltage().

◆ GPIO0_ADC_L

constexpr uint8_t axp202_regs::adc::GPIO0_ADC_L = 0x65
staticconstexpr

Definition at line 168 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getGpio0Voltage().

◆ GPIO1_ADC_H

constexpr uint8_t axp202_regs::adc::GPIO1_ADC_H = 0x66
staticconstexpr

Definition at line 169 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getGpio1Voltage().

◆ GPIO1_ADC_L

constexpr uint8_t axp202_regs::adc::GPIO1_ADC_L = 0x67
staticconstexpr

Definition at line 170 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getGpio1Voltage().

◆ INTERNAL_TEMP_H

constexpr uint8_t axp202_regs::adc::INTERNAL_TEMP_H = 0x5E
staticconstexpr

Definition at line 163 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ INTERNAL_TEMP_L

constexpr uint8_t axp202_regs::adc::INTERNAL_TEMP_L = 0x5F
staticconstexpr

Definition at line 164 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ TS_IN_H

constexpr uint8_t axp202_regs::adc::TS_IN_H = 0x62
staticconstexpr

Definition at line 165 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getTsVoltage().

◆ TS_IN_L

constexpr uint8_t axp202_regs::adc::TS_IN_L = 0x63
staticconstexpr

Definition at line 166 of file AXP202Regs.hpp.

Referenced by AXP202Adc::getTsVoltage().

◆ VBUS_CUR_H

constexpr uint8_t axp202_regs::adc::VBUS_CUR_H = 0x5C
staticconstexpr

Definition at line 161 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ VBUS_CUR_L

constexpr uint8_t axp202_regs::adc::VBUS_CUR_L = 0x5D
staticconstexpr

Definition at line 162 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ VBUS_VOL_H

constexpr uint8_t axp202_regs::adc::VBUS_VOL_H = 0x5A
staticconstexpr

Definition at line 159 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().

◆ VBUS_VOL_L

constexpr uint8_t axp202_regs::adc::VBUS_VOL_L = 0x5B
staticconstexpr

Definition at line 160 of file AXP202Regs.hpp.

Referenced by axp1xx::AdcTraitsBase< AXP202Core >::readChannel().


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