|
SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
Factory-calibrated ADC conversion step sizes. More...
#include <AXP192Regs.hpp>
Static Public Attributes | |
| static constexpr float | ACIN_VOLTAGE_STEP = 1.7f |
| ACIN voltage/current steps: 1.7 mV/0.625 mA per LSB. | |
| static constexpr float | ACIN_CURRENT_STEP = 0.625f |
| ACIN current step: 0.625 mA per LSB. | |
| static constexpr float | TS_VOLTAGE_STEP = 0.8f |
| TS voltage step: 0.8 mV per LSB. | |
| static constexpr float | VBUS_VOLTAGE_STEP = 1.7f |
| VBUS voltage step: 1.7 mV per LSB. | |
| static constexpr float | VBUS_CURRENT_STEP = 0.375f |
| VBUS current step: 0.375 mA per LSB. | |
| static constexpr float | BAT_VOLTAGE_STEP = 1.1f |
| BAT voltage step: 1.1 mV per LSB. | |
| static constexpr float | BAT_CHARGE_CUR_STEP = 0.5f |
| BAT charge current step: 0.5 mA per LSB. | |
| static constexpr float | BAT_DISCHARGE_CUR_STEP = 0.5f |
| BAT discharge current step: 0.5 mA per LSB. | |
| static constexpr float | APS_VOLTAGE_STEP = 1.4f |
| APS voltage step: 1.4 mV per LSB. | |
| static constexpr float | INTERNAL_TEMP_STEP = 0.1f |
| Internal temperature step: 0.1 degC per LSB. | |
| static constexpr float | INTERNAL_TEMP_OFFSET = 144.7f |
| Internal temperature offset: 144.7 degC. | |
| static constexpr float | FACTORY_GPIO_VOLTAGE = 0.5f |
| GPIO voltage step: 0.5 V per LSB. | |
Factory-calibrated ADC conversion step sizes.
These constants define the LSB weight for each ADC measurement channel. Raw ADC register values are multiplied by the corresponding step to obtain real-world voltage (mV), current (mA), or temperature (degC).
Definition at line 217 of file AXP192Regs.hpp.
|
staticconstexpr |
ACIN current step: 0.625 mA per LSB.
Definition at line 221 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
ACIN voltage/current steps: 1.7 mV/0.625 mA per LSB.
Definition at line 219 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
APS voltage step: 1.4 mV per LSB.
Definition at line 235 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
BAT charge current step: 0.5 mA per LSB.
Definition at line 231 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
BAT discharge current step: 0.5 mA per LSB.
Definition at line 233 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
BAT voltage step: 1.1 mV per LSB.
Definition at line 229 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
GPIO voltage step: 0.5 V per LSB.
Definition at line 241 of file AXP192Regs.hpp.
|
staticconstexpr |
Internal temperature offset: 144.7 degC.
Definition at line 239 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
Internal temperature step: 0.1 degC per LSB.
Definition at line 237 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
TS voltage step: 0.8 mV per LSB.
Definition at line 223 of file AXP192Regs.hpp.
|
staticconstexpr |
VBUS current step: 0.375 mA per LSB.
Definition at line 227 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().
|
staticconstexpr |
VBUS voltage step: 1.7 mV per LSB.
Definition at line 225 of file AXP192Regs.hpp.
Referenced by axp1xx::AdcTraitsBase< AXP192Core >::readChannel().