ESP-IDF
ADC_CHECK
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ADC_CHECK
ADC_CHECK macro
Syntax
Show:
Summary
Declaration
from
adc_i2s_deprecated.c:35
#define
ADC_CHECK
(
a
,
str
,
ret_val
)
(
{
\
if
(
!
(
a
)
)
{
\
ESP_LOGE
(
ADC_TAG
,
"%s(%d): %s"
,
__FUNCTION__
,
__LINE__
,
str
)
;
\
return
(
ret_val
)
;
\
}
\
}
)
Arguments
Argument
a
str
ret_val
Examples
References
from
examples
Code
Location
#define
ADC_CHECK
(
a
,
str
,
ret_val
)
(
{
\
adc_i2s_deprecated.c:35
#define
ADC_CHANNEL_CHECK
(
periph
,
channel
)
ADC_CHECK
(
channel
<
SOC_ADC_CHANNEL_NUM
(
periph
)
,
"ADC"
#
periph
" channel error"
,
ESP_ERR_INVALID_ARG
)
adc_i2s_deprecated.c:42
ADC_CHECK
(
(
src
==
ADC_I2S_DATA_SRC_IO_SIG
||
src
==
ADC_I2S_DATA_SRC_ADC
)
,
"ADC i2s data source error"
,
ESP_ERR_INVALID_ARG
)
;
adc_i2s_deprecated.c:195
ADC_CHECK
(
false
,
"ADC2 not support DMA for now."
,
ESP_ERR_INVALID_ARG
)
;
adc_i2s_deprecated.c:209
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