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

ADC channel control and measurement result registers. More...

#include <AXP517Regs.hpp>

Static Public Attributes

static constexpr uint8_t ENABLE = 0x90
 ADC channel enable control.
 
static constexpr uint8_t BAT_VOLT_H = 0x91
 BAT voltage ADC high.
 
static constexpr uint8_t BAT_VOLT_L = 0x92
 BAT voltage ADC low.
 
static constexpr uint8_t BAT_CURR_H = 0x93
 BAT current ADC high.
 
static constexpr uint8_t BAT_CURR_L = 0x94
 BAT current ADC low.
 
static constexpr uint8_t TS_VOLT_H = 0x95
 TS voltage ADC high.
 
static constexpr uint8_t TS_VOLT_L = 0x96
 TS voltage ADC low.
 
static constexpr uint8_t VBUS_CURR_H = 0x97
 VBUS current ADC high.
 
static constexpr uint8_t VBUS_CURR_L = 0x98
 VBUS current ADC low.
 
static constexpr uint8_t VBUS_VOLT_H = 0x99
 VBUS voltage ADC high.
 
static constexpr uint8_t VBUS_VOLT_L = 0x9A
 VBUS voltage ADC low.
 
static constexpr uint8_t DATA_SEL = 0x9B
 ADC data select.
 
static constexpr uint8_t DATA_H = 0x9C
 ADC data high.
 
static constexpr uint8_t DATA_L = 0x9D
 ADC data low.
 

Detailed Description

ADC channel control and measurement result registers.

Definition at line 153 of file AXP517Regs.hpp.

Member Data Documentation

◆ BAT_CURR_H

constexpr uint8_t axp517_regs::adc::BAT_CURR_H = 0x93
staticconstexpr

BAT current ADC high.

Definition at line 157 of file AXP517Regs.hpp.

Referenced by AXP517Adc::read().

◆ BAT_CURR_L

constexpr uint8_t axp517_regs::adc::BAT_CURR_L = 0x94
staticconstexpr

BAT current ADC low.

Definition at line 158 of file AXP517Regs.hpp.

◆ BAT_VOLT_H

constexpr uint8_t axp517_regs::adc::BAT_VOLT_H = 0x91
staticconstexpr

BAT voltage ADC high.

Definition at line 155 of file AXP517Regs.hpp.

Referenced by AXP517Adc::read().

◆ BAT_VOLT_L

constexpr uint8_t axp517_regs::adc::BAT_VOLT_L = 0x92
staticconstexpr

BAT voltage ADC low.

Definition at line 156 of file AXP517Regs.hpp.

◆ DATA_H

constexpr uint8_t axp517_regs::adc::DATA_H = 0x9C
staticconstexpr

ADC data high.

Definition at line 166 of file AXP517Regs.hpp.

Referenced by AXP517Adc::read().

◆ DATA_L

constexpr uint8_t axp517_regs::adc::DATA_L = 0x9D
staticconstexpr

ADC data low.

Definition at line 167 of file AXP517Regs.hpp.

◆ DATA_SEL

constexpr uint8_t axp517_regs::adc::DATA_SEL = 0x9B
staticconstexpr

ADC data select.

Definition at line 165 of file AXP517Regs.hpp.

Referenced by AXP517Adc::read().

◆ ENABLE

constexpr uint8_t axp517_regs::adc::ENABLE = 0x90
staticconstexpr

ADC channel enable control.

Definition at line 154 of file AXP517Regs.hpp.

Referenced by AXP517Adc::disableChannels(), AXP517Adc::enableChannels(), and AXP517Tcpc::init().

◆ TS_VOLT_H

constexpr uint8_t axp517_regs::adc::TS_VOLT_H = 0x95
staticconstexpr

TS voltage ADC high.

Definition at line 159 of file AXP517Regs.hpp.

◆ TS_VOLT_L

constexpr uint8_t axp517_regs::adc::TS_VOLT_L = 0x96
staticconstexpr

TS voltage ADC low.

Definition at line 160 of file AXP517Regs.hpp.

◆ VBUS_CURR_H

constexpr uint8_t axp517_regs::adc::VBUS_CURR_H = 0x97
staticconstexpr

VBUS current ADC high.

Definition at line 161 of file AXP517Regs.hpp.

Referenced by AXP517Adc::read().

◆ VBUS_CURR_L

constexpr uint8_t axp517_regs::adc::VBUS_CURR_L = 0x98
staticconstexpr

VBUS current ADC low.

Definition at line 162 of file AXP517Regs.hpp.

◆ VBUS_VOLT_H

constexpr uint8_t axp517_regs::adc::VBUS_VOLT_H = 0x99
staticconstexpr

VBUS voltage ADC high.

Definition at line 163 of file AXP517Regs.hpp.

Referenced by AXP517Adc::read().

◆ VBUS_VOLT_L

constexpr uint8_t axp517_regs::adc::VBUS_VOLT_L = 0x9A
staticconstexpr

VBUS voltage ADC low.

Definition at line 164 of file AXP517Regs.hpp.


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