ESP-IDF
TAG
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
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
dac_cosine.c:29
static
const
char
*
TAG
=
"dac_cosine"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"dac_cosine"
;
dac_cosine.c:29
DAC_NULL_POINTER_CHECK
(
cos_cfg
)
;
dac_cosine.c:44
dac_cosine_new_channel()
DAC_NULL_POINTER_CHECK
(
ret_handle
)
;
dac_cosine.c:45
dac_cosine_new_channel()
ESP_RETURN_ON_FALSE
(
cos_cfg
->
chan_id
<
SOC_DAC_CHAN_NUM
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid dac channel id"
)
;
dac_cosine.c:46
dac_cosine_new_channel()
ESP_RETURN_ON_FALSE
(
cos_cfg
->
freq_hz
>=
(
130
/
clk_ll_rc_fast_get_divider
(
)
)
,
ESP_ERR_NOT_SUPPORTED
,
TAG
,
"The cosine wave frequency is too low"
)
;
dac_cosine.c:47
dac_cosine_new_channel()
ESP_ERR_INVALID_STATE
,
TAG
,
"The cosine wave frequency has set already, not allowed to update unless `force_set_freq` is set"
)
;
dac_cosine.c:49
dac_cosine_new_channel()
ESP_RETURN_ON_FALSE
(
handle
,
ESP_ERR_NO_MEM
,
TAG
,
"no memory for the dac cosine handle"
)
;
dac_cosine.c:54
dac_cosine_new_channel()
ESP_GOTO_ON_ERROR
(
dac_priv_register_channel
(
cos_cfg
->
chan_id
,
"dac cosine"
)
,
err1
,
TAG
,
"register dac channel %d failed"
,
cos_cfg
->
chan_id
)
;
dac_cosine.c:58
dac_cosine_new_channel()
ESP_LOGW
(
TAG
,
"RTC clock calibration failed, using the approximate value as default"
)
;
dac_cosine.c:68
dac_cosine_new_channel()
DAC_NULL_POINTER_CHECK
(
handle
)
;
dac_cosine.c:92
dac_cosine_del_channel()
ESP_RETURN_ON_FALSE
(
!
handle
->
is_started
,
ESP_ERR_INVALID_STATE
,
TAG
,
dac_cosine.c:93
dac_cosine_del_channel()
ESP_RETURN_ON_ERROR
(
dac_priv_deregister_channel
(
handle
->
cfg
.
chan_id
)
,
TAG
,
dac_cosine.c:96
dac_cosine_del_channel()
DAC_NULL_POINTER_CHECK
(
handle
)
;
dac_cosine.c:109
dac_cosine_start()
ESP_RETURN_ON_FALSE
(
!
handle
->
is_started
,
ESP_ERR_INVALID_STATE
,
TAG
,
dac_cosine.c:110
dac_cosine_start()
ESP_RETURN_ON_ERROR
(
dac_priv_enable_channel
(
handle
->
cfg
.
chan_id
)
,
TAG
,
dac_cosine.c:115
dac_cosine_start()
DAC_NULL_POINTER_CHECK
(
handle
)
;
dac_cosine.c:133
dac_cosine_stop()
ESP_RETURN_ON_FALSE
(
handle
->
is_started
,
ESP_ERR_INVALID_STATE
,
TAG
,
dac_cosine.c:134
dac_cosine_stop()
ESP_RETURN_ON_ERROR
(
dac_priv_disable_channel
(
handle
->
cfg
.
chan_id
)
,
TAG
,
dac_cosine.c:138
dac_cosine_stop()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 4 functions:
All items filtered out
TAG
dac_cosine_new_channel()
dac_cosine_del_channel()
dac_cosine_start()
dac_cosine_stop()
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