ESP-IDF
LUT_LOW_THRESH
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
LUT_LOW_THRESH
LUT_LOW_THRESH macro
Syntax
Show:
Summary
Declaration
from
adc_cali_line_fitting.c:74
#define
LUT_LOW_THRESH
2880
Examples
References
from
examples
Code
Location
#define
LUT_LOW_THRESH
2880
adc_cali_line_fitting.c:74
#define
LUT_LOW_THRESH
2880
esp_adc_cal_legacy.c:71
#define
LUT_HIGH_THRESH
(
LUT_LOW_THRESH
+
LUT_ADC_STEP_SIZE
)
adc_cali_line_fitting.c:75
if
(
LUT_ENABLED
&&
(
ctx
->
atten
==
ADC_ATTEN_DB_12
)
&&
(
raw
>=
LUT_LOW_THRESH
)
)
{
//Check if in non-linear region
adc_cali_line_fitting.c:254
*
voltage
=
interpolate_two_points
(
linear_voltage
,
lut_voltage
,
LUT_ADC_STEP_SIZE
,
(
raw
-
LUT_LOW_THRESH
)
)
;
adc_cali_line_fitting.c:260
uint32_t
i
=
(
adc
-
LUT_LOW_THRESH
)
/
LUT_ADC_STEP_SIZE
;
adc_cali_line_fitting.c:411
int
y2dist
=
(
(
i
+
1
)
*
LUT_ADC_STEP_SIZE
)
+
LUT_LOW_THRESH
-
adc
;
//(y2 - y)
adc_cali_line_fitting.c:416
int
y1dist
=
adc
-
(
(
i
*
LUT_ADC_STEP_SIZE
)
+
LUT_LOW_THRESH
)
;
//(y - y1)
adc_cali_line_fitting.c:417
#define
LUT_HIGH_THRESH
(
LUT_LOW_THRESH
+
LUT_ADC_STEP_SIZE
)
esp_adc_cal_legacy.c:72
uint32_t
i
=
(
adc
-
LUT_LOW_THRESH
)
/
LUT_ADC_STEP_SIZE
;
esp_adc_cal_legacy.c:240
int
y2dist
=
(
(
i
+
1
)
*
LUT_ADC_STEP_SIZE
)
+
LUT_LOW_THRESH
-
adc
;
//(y2 - y)
esp_adc_cal_legacy.c:245
int
y1dist
=
adc
-
(
(
i
*
LUT_ADC_STEP_SIZE
)
+
LUT_LOW_THRESH
)
;
//(y - y1)
esp_adc_cal_legacy.c:246
if
(
LUT_ENABLED
&&
(
chars
->
atten
==
ADC_ATTEN_DB_12
)
&&
(
adc_reading
>=
LUT_LOW_THRESH
)
)
{
//Check if in non-linear region
esp_adc_cal_legacy.c:339
return
interpolate_two_points
(
linear_voltage
,
lut_voltage
,
LUT_ADC_STEP_SIZE
,
(
adc_reading
-
LUT_LOW_THRESH
)
)
;
esp_adc_cal_legacy.c:345
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out