ESPHome
2024.10.3
esphome
esphome
components
ltr501
ltr_definitions_501.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
namespace
esphome
{
6
namespace
ltr501 {
7
8
enum class
CommandRegisters
: uint8_t {
9
ALS_CONTR
= 0x80,
// ALS operation mode control and SW reset
10
PS_CONTR
= 0x81,
// PS operation mode control
11
PS_LED
= 0x82,
// PS LED pulse frequency control
12
PS_N_PULSES
= 0x83,
// PS number of pulses control
13
PS_MEAS_RATE
= 0x84,
// PS measurement rate in active mode
14
MEAS_RATE
= 0x85,
// ALS measurement rate in active mode
15
PART_ID
= 0x86,
// Part Number ID and Revision ID
16
MANUFAC_ID
= 0x87,
// Manufacturer ID
17
ALS_DATA_CH1_0
= 0x88,
// ALS measurement CH1 data, lower byte - infrared only
18
ALS_DATA_CH1_1
= 0x89,
// ALS measurement CH1 data, upper byte - infrared only
19
ALS_DATA_CH0_0
= 0x8A,
// ALS measurement CH0 data, lower byte - visible + infrared
20
ALS_DATA_CH0_1
= 0x8B,
// ALS measurement CH0 data, upper byte - visible + infrared
21
ALS_PS_STATUS
= 0x8C,
// ALS PS new data status
22
PS_DATA_0
= 0x8D,
// PS measurement data, lower byte
23
PS_DATA_1
= 0x8E,
// PS measurement data, upper byte
24
ALS_PS_INTERRUPT
= 0x8F,
// Interrupt status
25
PS_THRES_UP_0
= 0x90,
// PS interrupt upper threshold, lower byte
26
PS_THRES_UP_1
= 0x91,
// PS interrupt upper threshold, upper byte
27
PS_THRES_LOW_0
= 0x92,
// PS interrupt lower threshold, lower byte
28
PS_THRES_LOW_1
= 0x93,
// PS interrupt lower threshold, upper byte
29
PS_OFFSET_1
= 0x94,
// PS offset, upper byte
30
PS_OFFSET_0
= 0x95,
// PS offset, lower byte
31
// 0x96 - reserved
32
ALS_THRES_UP_0
= 0x97,
// ALS interrupt upper threshold, lower byte
33
ALS_THRES_UP_1
= 0x98,
// ALS interrupt upper threshold, upper byte
34
ALS_THRES_LOW_0
= 0x99,
// ALS interrupt lower threshold, lower byte
35
ALS_THRES_LOW_1
= 0x9A,
// ALS interrupt lower threshold, upper byte
36
// 0x9B - reserved
37
// 0x9C - reserved
38
// 0x9D - reserved
39
INTERRUPT_PERSIST
= 0x9E
// Interrupt persistence filter
40
};
41
42
// ALS Sensor gain levels
43
enum
AlsGain501
: uint8_t {
44
GAIN_1
= 0,
// GAIN_RANGE_2 // default
45
GAIN_150
= 1,
// GAIN_RANGE_1
46
};
47
static
const
uint8_t GAINS_COUNT = 2;
48
49
// ALS Sensor integration times
50
enum
IntegrationTime501
: uint8_t {
51
INTEGRATION_TIME_100MS
= 0,
// default
52
INTEGRATION_TIME_50MS
= 1,
// only in Dynamic GAIN_RANGE_2
53
INTEGRATION_TIME_200MS
= 2,
// only in Dynamic GAIN_RANGE_1
54
INTEGRATION_TIME_400MS
= 3,
// only in Dynamic GAIN_RANGE_1
55
};
56
static
const
uint8_t TIMES_COUNT = 4;
57
58
// ALS Sensor measurement repeat rate
59
enum
MeasurementRepeatRate
{
60
REPEAT_RATE_50MS
= 0,
61
REPEAT_RATE_100MS
= 1,
62
REPEAT_RATE_200MS
= 2,
63
REPEAT_RATE_500MS
= 3,
// default
64
REPEAT_RATE_1000MS
= 4,
65
REPEAT_RATE_2000MS
= 5
66
};
67
68
// PS Sensor gain levels
69
enum
PsGain501
: uint8_t {
70
PS_GAIN_1
= 0,
// default
71
PS_GAIN_4
= 1,
72
PS_GAIN_8
= 2,
73
PS_GAIN_16
= 3,
74
};
75
76
// LED Pulse Modulation Frequency
77
enum
PsLedFreq
: uint8_t {
78
PS_LED_FREQ_30KHZ
= 0,
79
PS_LED_FREQ_40KHZ
= 1,
80
PS_LED_FREQ_50KHZ
= 2,
81
PS_LED_FREQ_60KHZ
= 3,
// default
82
PS_LED_FREQ_70KHZ
= 4,
83
PS_LED_FREQ_80KHZ
= 5,
84
PS_LED_FREQ_90KHZ
= 6,
85
PS_LED_FREQ_100KHZ
= 7,
86
};
87
88
// LED current duty
89
enum
PsLedDuty
: uint8_t {
90
PS_LED_DUTY_25
= 0,
91
PS_LED_DUTY_50
= 1,
// default
92
PS_LED_DUTY_75
= 2,
93
PS_LED_DUTY_100
= 3,
94
};
95
96
// LED pulsed current level
97
enum
PsLedCurrent
: uint8_t {
98
PS_LED_CURRENT_5MA
= 0,
99
PS_LED_CURRENT_10MA
= 1,
100
PS_LED_CURRENT_20MA
= 2,
101
PS_LED_CURRENT_50MA
= 3,
// default
102
PS_LED_CURRENT_100MA
= 4,
103
PS_LED_CURRENT_100MA1
= 5,
104
PS_LED_CURRENT_100MA2
= 6,
105
PS_LED_CURRENT_100MA3
= 7,
106
};
107
108
// PS measurement rate
109
enum
PsMeasurementRate
: uint8_t {
110
PS_MEAS_RATE_50MS
= 0,
111
PS_MEAS_RATE_70MS
= 1,
112
PS_MEAS_RATE_100MS
= 2,
// default
113
PS_MEAS_RATE_200MS
= 3,
114
PS_MEAS_RATE_500MS
= 4,
115
PS_MEAS_RATE_1000MS
= 5,
116
PS_MEAS_RATE_2000MS
= 6,
117
PS_MEAS_RATE_2000MS1
= 7,
118
};
119
120
//
121
// ALS_CONTR Register (0x80)
122
//
123
union
AlsControlRegister501
{
124
uint8_t
raw
;
125
struct
{
126
bool
asl_mode_xxx
: 1;
127
bool
als_mode_active
: 1;
128
bool
sw_reset
: 1;
129
AlsGain501
gain
: 1;
130
uint8_t
reserved
: 4;
131
}
__attribute__
((packed));
132
};
133
134
//
135
// PS_CONTR Register (0x81)
136
//
137
union
PsControlRegister501
{
138
uint8_t
raw
;
139
struct
{
140
bool
ps_mode_xxx
: 1;
141
bool
ps_mode_active
: 1;
142
PsGain501
ps_gain
: 2;
143
bool
reserved_4
: 1;
144
bool
reserved_5
: 1;
145
bool
reserved_6
: 1;
146
bool
reserved_7
: 1;
147
}
__attribute__
((packed));
148
};
149
150
//
151
// PS_LED Register (0x82)
152
//
153
union
PsLedRegister
{
154
uint8_t
raw
;
155
struct
{
156
PsLedCurrent
ps_led_current
: 3;
157
PsLedDuty
ps_led_duty
: 2;
158
PsLedFreq
ps_led_freq
: 3;
159
}
__attribute__
((packed));
160
};
161
162
//
163
// PS_N_PULSES Register (0x83)
164
//
165
union
PsNPulsesRegister501
{
166
uint8_t
raw
;
167
uint8_t
number_of_pulses
;
168
};
169
170
//
171
// PS_MEAS_RATE Register (0x84)
172
//
173
union
PsMeasurementRateRegister
{
174
uint8_t
raw
;
175
struct
{
176
PsMeasurementRate
ps_measurement_rate
: 4;
177
uint8_t
reserved
: 4;
178
}
__attribute__
((packed));
179
};
180
181
//
182
// ALS_MEAS_RATE Register (0x85)
183
//
184
union
MeasurementRateRegister501
{
185
uint8_t
raw
;
186
struct
{
187
MeasurementRepeatRate
measurement_repeat_rate
: 3;
188
IntegrationTime501
integration_time
: 2;
189
bool
reserved_5
: 1;
190
bool
reserved_6
: 1;
191
bool
reserved_7
: 1;
192
}
__attribute__
((packed));
193
};
194
195
//
196
// PART_ID Register (0x86) (Read Only)
197
//
198
union
PartIdRegister
{
199
uint8_t
raw
;
200
struct
{
201
uint8_t
part_number_id
: 4;
202
uint8_t
revision_id
: 4;
203
}
__attribute__
((packed));
204
};
205
206
//
207
// ALS_PS_STATUS Register (0x8C) (Read Only)
208
//
209
union
AlsPsStatusRegister
{
210
uint8_t
raw
;
211
struct
{
212
bool
ps_new_data
: 1;
// 0 - old data, 1 - new data
213
bool
ps_interrupt
: 1;
// 0 - interrupt signal not active, 1 - interrupt signal active
214
bool
als_new_data
: 1;
// 0 - old data, 1 - new data
215
bool
als_interrupt
: 1;
// 0 - interrupt signal not active, 1 - interrupt signal active
216
AlsGain501
gain
: 1;
// current ALS gain
217
bool
reserved_5
: 1;
218
bool
reserved_6
: 1;
219
bool
reserved_7
: 1;
220
}
__attribute__
((packed));
221
};
222
223
//
224
// PS_DATA_1 Register (0x8E) (Read Only)
225
//
226
union
PsData1Register
{
227
uint8_t
raw
;
228
struct
{
229
uint8_t
ps_data_high
: 3;
230
uint8_t
reserved
: 4;
231
bool
ps_saturation_flag
: 1;
232
}
__attribute__
((packed));
233
};
234
235
//
236
// INTERRUPT Register (0x8F) (Read Only)
237
//
238
union
InterruptRegister
{
239
uint8_t
raw
;
240
struct
{
241
bool
ps_interrupt
: 1;
242
bool
als_interrupt
: 1;
243
bool
interrupt_polarity
: 1;
// 0 - active low (default), 1 - active high
244
uint8_t
reserved
: 5;
245
}
__attribute__
((packed));
246
};
247
248
//
249
// INTERRUPT_PERSIST Register (0x9E)
250
//
251
union
InterruptPersistRegister
{
252
uint8_t
raw
;
253
struct
{
254
uint8_t
als_persist
: 4;
// 0 - every ALS cycle, 1 - every 2 ALS cycles, ... 15 - every 16 ALS cycles
255
uint8_t
ps_persist
: 4;
// 0 - every PS cycle, 1 - every 2 PS cycles, ... 15 - every 16 PS cycles
256
}
__attribute__
((packed));
257
};
258
259
}
// namespace ltr501
260
}
// namespace esphome
reserved_4
bool reserved_4
Definition:
ltr_definitions_501.h:142
esphome::ltr501::REPEAT_RATE_2000MS
Definition:
ltr_definitions_501.h:65
esphome::ltr501::PsData1Register
Definition:
ltr_definitions_501.h:226
esphome::ltr501::CommandRegisters::ALS_THRES_LOW_0
esphome::ltr501::REPEAT_RATE_100MS
Definition:
ltr_definitions_501.h:61
esphome::ltr501::PsLedRegister::ps_led_freq
PsLedFreq ps_led_freq
Definition:
ltr_definitions_501.h:158
ps_gain
PsGain501 ps_gain
Definition:
ltr_definitions_501.h:141
esphome::ltr501::PS_LED_CURRENT_100MA2
Definition:
ltr_definitions_501.h:104
esphome::ltr501::REPEAT_RATE_1000MS
Definition:
ltr_definitions_501.h:64
ps_led_current
PsLedCurrent ps_led_current
Definition:
ltr_definitions_501.h:155
esphome::ltr501::CommandRegisters::PS_THRES_LOW_1
esphome::ltr501::InterruptRegister::reserved
uint8_t reserved
Definition:
ltr_definitions_501.h:244
esphome::ltr501::CommandRegisters::MANUFAC_ID
esphome::ltr501::AlsControlRegister501::reserved
uint8_t reserved
Definition:
ltr_definitions_501.h:130
esphome::ltr501::IntegrationTime501
IntegrationTime501
Definition:
ltr_definitions_501.h:50
esphome::ltr501::PsNPulsesRegister501::number_of_pulses
uint8_t number_of_pulses
Definition:
ltr_definitions_501.h:167
esphome::ltr501::InterruptPersistRegister::raw
uint8_t raw
Definition:
ltr_definitions_501.h:252
esphome::ltr501::CommandRegisters::PS_OFFSET_1
esphome::ltr501::CommandRegisters::PS_THRES_UP_0
esphome::ltr501::PS_LED_FREQ_30KHZ
Definition:
ltr_definitions_501.h:78
esphome::ltr501::PS_LED_FREQ_70KHZ
Definition:
ltr_definitions_501.h:82
esphome::ltr501::PS_LED_CURRENT_20MA
Definition:
ltr_definitions_501.h:100
esphome::ltr501::CommandRegisters::PS_THRES_LOW_0
esphome::ltr501::PS_MEAS_RATE_500MS
Definition:
ltr_definitions_501.h:114
esphome::ltr501::AlsControlRegister501::raw
uint8_t raw
Definition:
ltr_definitions_501.h:124
esphome::ltr501::PS_LED_FREQ_40KHZ
Definition:
ltr_definitions_501.h:79
esphome::ltr501::INTEGRATION_TIME_400MS
Definition:
ltr_definitions_501.h:54
esphome::ltr501::PS_GAIN_8
Definition:
ltr_definitions_501.h:72
esphome::ltr501::MeasurementRateRegister501::raw
uint8_t raw
Definition:
ltr_definitions_501.h:185
part_number_id
uint8_t part_number_id
Definition:
ltr_definitions_501.h:200
esphome::ltr501::AlsPsStatusRegister
Definition:
ltr_definitions_501.h:209
esphome::ltr501::CommandRegisters::ALS_THRES_UP_0
asl_mode_xxx
bool asl_mode_xxx
Definition:
ltr_definitions_501.h:125
esphome::ltr501::CommandRegisters::ALS_PS_STATUS
esphome::ltr501::MeasurementRepeatRate
MeasurementRepeatRate
Definition:
ltr_definitions_501.h:59
esphome::ltr501::PsData1Register::ps_data_high
uint8_t ps_data_high
Definition:
ltr_definitions_501.h:229
esphome::ltr501::GAIN_1
Definition:
ltr_definitions_501.h:44
esphome::ltr501::PsMeasurementRateRegister::ps_measurement_rate
PsMeasurementRate ps_measurement_rate
Definition:
ltr_definitions_501.h:176
esphome::ltr501::CommandRegisters::PS_CONTR
ps_new_data
bool ps_new_data
Definition:
ltr_definitions_501.h:211
esphome::ltr501::InterruptPersistRegister::ps_persist
uint8_t ps_persist
Definition:
ltr_definitions_501.h:255
reserved_6
bool reserved_6
Definition:
ltr_definitions_501.h:144
esphome::ltr501::PS_MEAS_RATE_100MS
Definition:
ltr_definitions_501.h:112
esphome::ltr501::PS_GAIN_4
Definition:
ltr_definitions_501.h:71
esphome::ltr501::MeasurementRateRegister501::reserved_5
bool reserved_5
Definition:
ltr_definitions_501.h:189
als_new_data
bool als_new_data
Definition:
ltr_definitions_501.h:213
esphome::ltr501::PS_LED_DUTY_75
Definition:
ltr_definitions_501.h:92
gain
AlsGain501 gain
Definition:
ltr_definitions_501.h:128
als_interrupt
bool als_interrupt
Definition:
ltr_definitions_501.h:214
esphome::ltr501::PsControlRegister501
Definition:
ltr_definitions_501.h:137
esphome::ltr501::InterruptRegister::ps_interrupt
bool ps_interrupt
Definition:
ltr_definitions_501.h:241
esphome::ltr501::REPEAT_RATE_200MS
Definition:
ltr_definitions_501.h:62
esphome::ltr501::PS_LED_CURRENT_10MA
Definition:
ltr_definitions_501.h:99
esphome::ltr501::PartIdRegister::revision_id
uint8_t revision_id
Definition:
ltr_definitions_501.h:202
esphome::ltr501::PS_LED_DUTY_100
Definition:
ltr_definitions_501.h:93
esphome::ltr501::PsMeasurementRateRegister::reserved
uint8_t reserved
Definition:
ltr_definitions_501.h:177
esphome::ltr501::PsMeasurementRateRegister
Definition:
ltr_definitions_501.h:173
esphome::ltr501::AlsPsStatusRegister::reserved_5
bool reserved_5
Definition:
ltr_definitions_501.h:217
esphome::ltr501::PS_LED_FREQ_90KHZ
Definition:
ltr_definitions_501.h:84
esphome::ltr501::CommandRegisters::PS_N_PULSES
esphome::ltr501::CommandRegisters
CommandRegisters
Definition:
ltr_definitions_501.h:8
esphome::ltr501::CommandRegisters::ALS_DATA_CH1_1
esphome::ltr501::PS_LED_DUTY_50
Definition:
ltr_definitions_501.h:91
esphome::ltr501::MeasurementRateRegister501
Definition:
ltr_definitions_501.h:184
esphome::ltr501::CommandRegisters::ALS_CONTR
esphome::ltr501::PsLedRegister::raw
uint8_t raw
Definition:
ltr_definitions_501.h:154
esphome::ltr501::CommandRegisters::ALS_PS_INTERRUPT
measurement_repeat_rate
MeasurementRepeatRate measurement_repeat_rate
Definition:
ltr_definitions_501.h:186
esphome::ltr501::PsLedCurrent
PsLedCurrent
Definition:
ltr_definitions_501.h:97
esphome::ltr501::PS_LED_FREQ_80KHZ
Definition:
ltr_definitions_501.h:83
esphome::ltr501::PsControlRegister501::reserved_7
bool reserved_7
Definition:
ltr_definitions_501.h:146
esphome::ltr501::PsData1Register::ps_saturation_flag
bool ps_saturation_flag
Definition:
ltr_definitions_501.h:231
esphome::ltr501::PS_GAIN_16
Definition:
ltr_definitions_501.h:73
esphome::ltr501::MeasurementRateRegister501::integration_time
IntegrationTime501 integration_time
Definition:
ltr_definitions_501.h:188
esphome::ltr501::PS_LED_CURRENT_100MA3
Definition:
ltr_definitions_501.h:105
esphome::ltr501::PS_GAIN_1
Definition:
ltr_definitions_501.h:70
esphome::ltr501::PS_LED_CURRENT_100MA
Definition:
ltr_definitions_501.h:102
als_persist
uint8_t als_persist
Definition:
ltr_definitions_501.h:253
esphome::ltr501::CommandRegisters::ALS_THRES_UP_1
esphome::ltr501::InterruptRegister
Definition:
ltr_definitions_501.h:238
reserved
uint8_t reserved
Definition:
ltr_definitions_501.h:129
esphome::ltr501::AlsPsStatusRegister::als_interrupt
bool als_interrupt
Definition:
ltr_definitions_501.h:215
ps_interrupt
bool ps_interrupt
Definition:
ltr_definitions_501.h:212
esphome::ltr501::PS_LED_CURRENT_100MA1
Definition:
ltr_definitions_501.h:103
esphome::ltr501::AlsPsStatusRegister::gain
AlsGain501 gain
Definition:
ltr_definitions_501.h:216
esphome::ltr501::PsMeasurementRate
PsMeasurementRate
Definition:
ltr_definitions_501.h:109
esphome::ltr501::REPEAT_RATE_500MS
Definition:
ltr_definitions_501.h:63
esphome::ltr501::InterruptRegister::interrupt_polarity
bool interrupt_polarity
Definition:
ltr_definitions_501.h:243
esphome::ltr501::PS_LED_FREQ_50KHZ
Definition:
ltr_definitions_501.h:80
esphome::ltr501::CommandRegisters::MEAS_RATE
esphome::ltr501::PsLedRegister
Definition:
ltr_definitions_501.h:153
esphome::__attribute__
enum esphome::EntityCategory __attribute__
esphome::ltr501::PsLedFreq
PsLedFreq
Definition:
ltr_definitions_501.h:77
esphome::ltr501::PsGain501
PsGain501
Definition:
ltr_definitions_501.h:69
esphome::ltr501::PS_MEAS_RATE_2000MS1
Definition:
ltr_definitions_501.h:117
esphome::ltr501::CommandRegisters::INTERRUPT_PERSIST
esphome::ltr501::PS_MEAS_RATE_50MS
Definition:
ltr_definitions_501.h:110
esphome::ltr501::CommandRegisters::ALS_DATA_CH0_1
esphome::ltr501::CommandRegisters::ALS_DATA_CH1_0
esphome::ltr501::CommandRegisters::PS_LED
esphome::ltr501::PartIdRegister::raw
uint8_t raw
Definition:
ltr_definitions_501.h:199
esphome::ltr501::InterruptRegister::raw
uint8_t raw
Definition:
ltr_definitions_501.h:239
esphome::ltr501::PsNPulsesRegister501
Definition:
ltr_definitions_501.h:165
esphome::ltr501::PS_LED_CURRENT_50MA
Definition:
ltr_definitions_501.h:101
esphome::ltr501::CommandRegisters::PS_DATA_1
ps_led_duty
PsLedDuty ps_led_duty
Definition:
ltr_definitions_501.h:156
esphome::ltr501::MeasurementRateRegister501::reserved_6
bool reserved_6
Definition:
ltr_definitions_501.h:190
esphome::ltr501::CommandRegisters::ALS_DATA_CH0_0
esphome::ltr501::AlsPsStatusRegister::reserved_6
bool reserved_6
Definition:
ltr_definitions_501.h:218
esphome::ltr501::INTEGRATION_TIME_50MS
Definition:
ltr_definitions_501.h:52
esphome::ltr501::AlsGain501
AlsGain501
Definition:
ltr_definitions_501.h:43
sw_reset
bool sw_reset
Definition:
ltr_definitions_501.h:127
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::ltr501::INTEGRATION_TIME_100MS
Definition:
ltr_definitions_501.h:51
esphome::ltr501::PS_MEAS_RATE_70MS
Definition:
ltr_definitions_501.h:111
esphome::ltr501::INTEGRATION_TIME_200MS
Definition:
ltr_definitions_501.h:53
esphome::ltr501::AlsPsStatusRegister::reserved_7
bool reserved_7
Definition:
ltr_definitions_501.h:219
esphome::ltr501::PS_MEAS_RATE_200MS
Definition:
ltr_definitions_501.h:113
esphome::ltr501::PS_LED_DUTY_25
Definition:
ltr_definitions_501.h:90
esphome::ltr501::PS_LED_FREQ_100KHZ
Definition:
ltr_definitions_501.h:85
ps_mode_active
bool ps_mode_active
Definition:
ltr_definitions_501.h:140
esphome::ltr501::PartIdRegister
Definition:
ltr_definitions_501.h:198
esphome::ltr501::CommandRegisters::ALS_THRES_LOW_1
esphome::ltr501::PS_LED_CURRENT_5MA
Definition:
ltr_definitions_501.h:98
esphome::ltr501::PsLedDuty
PsLedDuty
Definition:
ltr_definitions_501.h:89
esphome::ltr501::PsData1Register::raw
uint8_t raw
Definition:
ltr_definitions_501.h:227
ps_mode_xxx
bool ps_mode_xxx
Definition:
ltr_definitions_501.h:139
esphome::ltr501::MeasurementRateRegister501::reserved_7
bool reserved_7
Definition:
ltr_definitions_501.h:191
esphome::ltr501::PS_LED_FREQ_60KHZ
Definition:
ltr_definitions_501.h:81
als_mode_active
bool als_mode_active
Definition:
ltr_definitions_501.h:126
esphome::ltr501::PS_MEAS_RATE_1000MS
Definition:
ltr_definitions_501.h:115
esphome::ltr501::CommandRegisters::PS_MEAS_RATE
esphome::ltr501::InterruptPersistRegister
Definition:
ltr_definitions_501.h:251
esphome::ltr501::CommandRegisters::PS_THRES_UP_1
esphome::ltr501::AlsControlRegister501
Definition:
ltr_definitions_501.h:123
esphome::ltr501::CommandRegisters::PART_ID
esphome::ltr501::PsControlRegister501::raw
uint8_t raw
Definition:
ltr_definitions_501.h:138
esphome::ltr501::CommandRegisters::PS_DATA_0
esphome::ltr501::PsMeasurementRateRegister::raw
uint8_t raw
Definition:
ltr_definitions_501.h:174
esphome::ltr501::REPEAT_RATE_50MS
Definition:
ltr_definitions_501.h:60
reserved_5
bool reserved_5
Definition:
ltr_definitions_501.h:143
esphome::ltr501::AlsPsStatusRegister::raw
uint8_t raw
Definition:
ltr_definitions_501.h:210
esphome::ltr501::CommandRegisters::PS_OFFSET_0
esphome::ltr501::PsNPulsesRegister501::raw
uint8_t raw
Definition:
ltr_definitions_501.h:166
esphome::ltr501::GAIN_150
Definition:
ltr_definitions_501.h:45
esphome::ltr501::PS_MEAS_RATE_2000MS
Definition:
ltr_definitions_501.h:116
Generated by
1.8.13