Programmable-gain settings (PGA register codes; full-scale +/- range). Config field values shifted into the config word, so integer constants in a namespacing struct - cast-free.
More...
#include <ads1115.h>
Programmable-gain settings (PGA register codes; full-scale +/- range). Config field values shifted into the config word, so integer constants in a namespacing struct - cast-free.
Definition at line 36 of file ads1115.h.
◆ ADS1115_GAIN_TWOTHIRDS
| constexpr uint8_t Ads1115Gain::ADS1115_GAIN_TWOTHIRDS = 0 |
|
staticconstexpr |
◆ ADS1115_GAIN_1
| constexpr uint8_t Ads1115Gain::ADS1115_GAIN_1 = 1 |
|
staticconstexpr |
◆ ADS1115_GAIN_2
| constexpr uint8_t Ads1115Gain::ADS1115_GAIN_2 = 2 |
|
staticconstexpr |
+/- 2.048 V (default)
Definition at line 40 of file ads1115.h.
◆ ADS1115_GAIN_4
| constexpr uint8_t Ads1115Gain::ADS1115_GAIN_4 = 3 |
|
staticconstexpr |
◆ ADS1115_GAIN_8
| constexpr uint8_t Ads1115Gain::ADS1115_GAIN_8 = 4 |
|
staticconstexpr |
◆ ADS1115_GAIN_16
| constexpr uint8_t Ads1115Gain::ADS1115_GAIN_16 = 5 |
|
staticconstexpr |
The documentation for this struct was generated from the following file: