ESPHome  2021.11.4
Data Structures | Enumerations
esphome::tcs34725 Namespace Reference

Data Structures

class  TCS34725Component
 

Enumerations

enum  TCS34725IntegrationTime {
  TCS34725_INTEGRATION_TIME_2_4MS = 0xFF, TCS34725_INTEGRATION_TIME_24MS = 0xF6, TCS34725_INTEGRATION_TIME_50MS = 0xEB, TCS34725_INTEGRATION_TIME_101MS = 0xD5,
  TCS34725_INTEGRATION_TIME_120MS = 0xCE, TCS34725_INTEGRATION_TIME_154MS = 0xC0, TCS34725_INTEGRATION_TIME_180MS = 0xB5, TCS34725_INTEGRATION_TIME_199MS = 0xAD,
  TCS34725_INTEGRATION_TIME_240MS = 0x9C, TCS34725_INTEGRATION_TIME_300MS = 0x83, TCS34725_INTEGRATION_TIME_360MS = 0x6A, TCS34725_INTEGRATION_TIME_401MS = 0x59,
  TCS34725_INTEGRATION_TIME_420MS = 0x51, TCS34725_INTEGRATION_TIME_480MS = 0x38, TCS34725_INTEGRATION_TIME_499MS = 0x30, TCS34725_INTEGRATION_TIME_540MS = 0x1F,
  TCS34725_INTEGRATION_TIME_600MS = 0x06, TCS34725_INTEGRATION_TIME_614MS = 0x00
}
 
enum  TCS34725Gain { TCS34725_GAIN_1X = 0x00, TCS34725_GAIN_4X = 0x01, TCS34725_GAIN_16X = 0x02, TCS34725_GAIN_60X = 0x03 }
 

Enumeration Type Documentation

◆ TCS34725Gain

Enumerator
TCS34725_GAIN_1X 
TCS34725_GAIN_4X 
TCS34725_GAIN_16X 
TCS34725_GAIN_60X 

Definition at line 31 of file tcs34725.h.

◆ TCS34725IntegrationTime

Enumerator
TCS34725_INTEGRATION_TIME_2_4MS 
TCS34725_INTEGRATION_TIME_24MS 
TCS34725_INTEGRATION_TIME_50MS 
TCS34725_INTEGRATION_TIME_101MS 
TCS34725_INTEGRATION_TIME_120MS 
TCS34725_INTEGRATION_TIME_154MS 
TCS34725_INTEGRATION_TIME_180MS 
TCS34725_INTEGRATION_TIME_199MS 
TCS34725_INTEGRATION_TIME_240MS 
TCS34725_INTEGRATION_TIME_300MS 
TCS34725_INTEGRATION_TIME_360MS 
TCS34725_INTEGRATION_TIME_401MS 
TCS34725_INTEGRATION_TIME_420MS 
TCS34725_INTEGRATION_TIME_480MS 
TCS34725_INTEGRATION_TIME_499MS 
TCS34725_INTEGRATION_TIME_540MS 
TCS34725_INTEGRATION_TIME_600MS 
TCS34725_INTEGRATION_TIME_614MS 

Definition at line 10 of file tcs34725.h.