Go to the documentation of this file. 1 #ifndef ADS1115_PARAMETERS_HPP_
2 #define ADS1115_PARAMETERS_HPP_
6 #include <unordered_map>
20 enum class ADDR : std::uint8_t {
33 enum class OS : std::uint16_t {
43 enum class MUX : std::uint16_t {
58 enum class PGA : std::uint16_t {
75 enum class MODE : std::uint16_t {
84 enum class DR : std::uint16_t {
153 #endif // ADS1115_PARAMETERS_HPP_
constexpr std::uint8_t conv_reg_addr
Address of the conversion register.
@ WINDOW_COMP
Window comparator.
constexpr std::uint8_t conf_reg_addr
Address of the config register.
constexpr std::uint8_t hi_thresh_reg_addr
Address of the high threshold register.
@ SINGLE_CONV
Sets the ADS1115 to power-down single-shot mode.
constexpr std::uint8_t lo_thresh_reg_addr
Address of the low threshold register.
@ SINGLE_CONV
Starts a new conversion when the conversion register is writen.
@ NON
No effect when the config register is writen.
const static std::unordered_map< PGA, double > pga_voltage_map
@ TRAD_COMP
Traditional comparator with hysteresis.
ADDR
This Enum describes the possible i2c bus addresses of a ADS1115.
@ CONT_CONV
Sets the ADS1115 to continuous conversion mode.