Go to the source code of this file.
|
namespace | esphome |
| Providing packet encoding functions for exchanging data with a remote host.
|
|
namespace | esphome::ltr501 |
|
|
enum class | esphome::ltr501::CommandRegisters : uint8_t {
esphome::ltr501::ALS_CONTR = 0x80
, esphome::ltr501::PS_CONTR = 0x81
, esphome::ltr501::PS_LED = 0x82
, esphome::ltr501::PS_N_PULSES = 0x83
,
esphome::ltr501::PS_MEAS_RATE = 0x84
, esphome::ltr501::MEAS_RATE = 0x85
, esphome::ltr501::PART_ID = 0x86
, esphome::ltr501::MANUFAC_ID = 0x87
,
esphome::ltr501::ALS_DATA_CH1_0 = 0x88
, esphome::ltr501::ALS_DATA_CH1_1 = 0x89
, esphome::ltr501::ALS_DATA_CH0_0 = 0x8A
, esphome::ltr501::ALS_DATA_CH0_1 = 0x8B
,
esphome::ltr501::ALS_PS_STATUS = 0x8C
, esphome::ltr501::PS_DATA_0 = 0x8D
, esphome::ltr501::PS_DATA_1 = 0x8E
, esphome::ltr501::ALS_PS_INTERRUPT = 0x8F
,
esphome::ltr501::PS_THRES_UP_0 = 0x90
, esphome::ltr501::PS_THRES_UP_1 = 0x91
, esphome::ltr501::PS_THRES_LOW_0 = 0x92
, esphome::ltr501::PS_THRES_LOW_1 = 0x93
,
esphome::ltr501::PS_OFFSET_1 = 0x94
, esphome::ltr501::PS_OFFSET_0 = 0x95
, esphome::ltr501::ALS_THRES_UP_0 = 0x97
, esphome::ltr501::ALS_THRES_UP_1 = 0x98
,
esphome::ltr501::ALS_THRES_LOW_0 = 0x99
, esphome::ltr501::ALS_THRES_LOW_1 = 0x9A
, esphome::ltr501::INTERRUPT_PERSIST = 0x9E
} |
|
enum | esphome::ltr501::AlsGain501 : uint8_t { esphome::ltr501::GAIN_1 = 0
, esphome::ltr501::GAIN_150 = 1
} |
|
enum | esphome::ltr501::IntegrationTime501 : uint8_t { esphome::ltr501::INTEGRATION_TIME_100MS = 0
, esphome::ltr501::INTEGRATION_TIME_50MS = 1
, esphome::ltr501::INTEGRATION_TIME_200MS = 2
, esphome::ltr501::INTEGRATION_TIME_400MS = 3
} |
|
enum | esphome::ltr501::MeasurementRepeatRate {
esphome::ltr501::REPEAT_RATE_50MS = 0
, esphome::ltr501::REPEAT_RATE_100MS = 1
, esphome::ltr501::REPEAT_RATE_200MS = 2
, esphome::ltr501::REPEAT_RATE_500MS = 3
,
esphome::ltr501::REPEAT_RATE_1000MS = 4
, esphome::ltr501::REPEAT_RATE_2000MS = 5
} |
|
enum | esphome::ltr501::PsGain501 : uint8_t { esphome::ltr501::PS_GAIN_1 = 0
, esphome::ltr501::PS_GAIN_4 = 1
, esphome::ltr501::PS_GAIN_8 = 2
, esphome::ltr501::PS_GAIN_16 = 3
} |
|
enum | esphome::ltr501::PsLedFreq : uint8_t {
esphome::ltr501::PS_LED_FREQ_30KHZ = 0
, esphome::ltr501::PS_LED_FREQ_40KHZ = 1
, esphome::ltr501::PS_LED_FREQ_50KHZ = 2
, esphome::ltr501::PS_LED_FREQ_60KHZ = 3
,
esphome::ltr501::PS_LED_FREQ_70KHZ = 4
, esphome::ltr501::PS_LED_FREQ_80KHZ = 5
, esphome::ltr501::PS_LED_FREQ_90KHZ = 6
, esphome::ltr501::PS_LED_FREQ_100KHZ = 7
} |
|
enum | esphome::ltr501::PsLedDuty : uint8_t { esphome::ltr501::PS_LED_DUTY_25 = 0
, esphome::ltr501::PS_LED_DUTY_50 = 1
, esphome::ltr501::PS_LED_DUTY_75 = 2
, esphome::ltr501::PS_LED_DUTY_100 = 3
} |
|
enum | esphome::ltr501::PsLedCurrent : uint8_t {
esphome::ltr501::PS_LED_CURRENT_5MA = 0
, esphome::ltr501::PS_LED_CURRENT_10MA = 1
, esphome::ltr501::PS_LED_CURRENT_20MA = 2
, esphome::ltr501::PS_LED_CURRENT_50MA = 3
,
esphome::ltr501::PS_LED_CURRENT_100MA = 4
, esphome::ltr501::PS_LED_CURRENT_100MA1 = 5
, esphome::ltr501::PS_LED_CURRENT_100MA2 = 6
, esphome::ltr501::PS_LED_CURRENT_100MA3 = 7
} |
|
enum | esphome::ltr501::PsMeasurementRate : uint8_t {
esphome::ltr501::PS_MEAS_RATE_50MS = 0
, esphome::ltr501::PS_MEAS_RATE_70MS = 1
, esphome::ltr501::PS_MEAS_RATE_100MS = 2
, esphome::ltr501::PS_MEAS_RATE_200MS = 3
,
esphome::ltr501::PS_MEAS_RATE_500MS = 4
, esphome::ltr501::PS_MEAS_RATE_1000MS = 5
, esphome::ltr501::PS_MEAS_RATE_2000MS = 6
, esphome::ltr501::PS_MEAS_RATE_2000MS1 = 7
} |
|
◆ als_interrupt
◆ als_mode_active
◆ als_new_data
◆ als_persist
◆ asl_mode_xxx
◆ gain
◆ integration_time
IntegrationTime501 integration_time |
◆ interrupt_polarity
◆ measurement_repeat_rate
MeasurementRepeatRate measurement_repeat_rate |
◆ part_number_id
◆ ps_data_high
◆ ps_gain
◆ ps_interrupt
◆ ps_led_current
PsLedCurrent ps_led_current |
◆ ps_led_duty
◆ ps_led_freq
◆ ps_measurement_rate
PsMeasurementRate ps_measurement_rate |
◆ ps_mode_active
◆ ps_mode_xxx
◆ ps_new_data
◆ ps_persist
◆ ps_saturation_flag
◆ reserved
◆ reserved_4
◆ reserved_5
◆ reserved_6
◆ reserved_7
◆ revision_id
◆ sw_reset