ESPHome  1.15.2
Data Structures | Enumerations
esphome::ads1115 Namespace Reference

Data Structures

class  ADS1115Component
 
class  ADS1115Sensor
 Internal holder class that is in instance of Sensor so that the hub can create individual sensors. More...
 

Enumerations

enum  ADS1115Multiplexer {
  ADS1115_MULTIPLEXER_P0_N1 = 0b000, ADS1115_MULTIPLEXER_P0_N3 = 0b001, ADS1115_MULTIPLEXER_P1_N3 = 0b010, ADS1115_MULTIPLEXER_P2_N3 = 0b011,
  ADS1115_MULTIPLEXER_P0_NG = 0b100, ADS1115_MULTIPLEXER_P1_NG = 0b101, ADS1115_MULTIPLEXER_P2_NG = 0b110, ADS1115_MULTIPLEXER_P3_NG = 0b111
}
 
enum  ADS1115Gain {
  ADS1115_GAIN_6P144 = 0b000, ADS1115_GAIN_4P096 = 0b001, ADS1115_GAIN_2P048 = 0b010, ADS1115_GAIN_1P024 = 0b011,
  ADS1115_GAIN_0P512 = 0b100, ADS1115_GAIN_0P256 = 0b101
}
 

Enumeration Type Documentation

◆ ADS1115Gain

Enumerator
ADS1115_GAIN_6P144 
ADS1115_GAIN_4P096 
ADS1115_GAIN_2P048 
ADS1115_GAIN_1P024 
ADS1115_GAIN_0P512 
ADS1115_GAIN_0P256 

Definition at line 22 of file ads1115.h.

◆ ADS1115Multiplexer

Enumerator
ADS1115_MULTIPLEXER_P0_N1 
ADS1115_MULTIPLEXER_P0_N3 
ADS1115_MULTIPLEXER_P1_N3 
ADS1115_MULTIPLEXER_P2_N3 
ADS1115_MULTIPLEXER_P0_NG 
ADS1115_MULTIPLEXER_P1_NG 
ADS1115_MULTIPLEXER_P2_NG 
ADS1115_MULTIPLEXER_P3_NG 

Definition at line 11 of file ads1115.h.