ESPHome  2024.11.0
Data Structures | Enumerations
esphome::ads1118 Namespace Reference

Data Structures

class  ADS1118
 
class  ADS1118Sensor
 

Enumerations

enum  ADS1118Multiplexer {
  ADS1118_MULTIPLEXER_P0_N1 = 0b000, ADS1118_MULTIPLEXER_P0_N3 = 0b001, ADS1118_MULTIPLEXER_P1_N3 = 0b010, ADS1118_MULTIPLEXER_P2_N3 = 0b011,
  ADS1118_MULTIPLEXER_P0_NG = 0b100, ADS1118_MULTIPLEXER_P1_NG = 0b101, ADS1118_MULTIPLEXER_P2_NG = 0b110, ADS1118_MULTIPLEXER_P3_NG = 0b111
}
 
enum  ADS1118Gain {
  ADS1118_GAIN_6P144 = 0b000, ADS1118_GAIN_4P096 = 0b001, ADS1118_GAIN_2P048 = 0b010, ADS1118_GAIN_1P024 = 0b011,
  ADS1118_GAIN_0P512 = 0b100, ADS1118_GAIN_0P256 = 0b101
}
 

Enumeration Type Documentation

◆ ADS1118Gain

Enumerator
ADS1118_GAIN_6P144 
ADS1118_GAIN_4P096 
ADS1118_GAIN_2P048 
ADS1118_GAIN_1P024 
ADS1118_GAIN_0P512 
ADS1118_GAIN_0P256 

Definition at line 21 of file ads1118.h.

◆ ADS1118Multiplexer

Enumerator
ADS1118_MULTIPLEXER_P0_N1 
ADS1118_MULTIPLEXER_P0_N3 
ADS1118_MULTIPLEXER_P1_N3 
ADS1118_MULTIPLEXER_P2_N3 
ADS1118_MULTIPLEXER_P0_NG 
ADS1118_MULTIPLEXER_P1_NG 
ADS1118_MULTIPLEXER_P2_NG 
ADS1118_MULTIPLEXER_P3_NG 

Definition at line 10 of file ads1118.h.