ESP-IDF
+
0
/1 examples
SourceVu will show references to
dac_cosine_config_t::chan_id
from the following samples and libraries:
dac_cosine_wave sample
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
dac_cosine_config_t::chan_id
dac_cosine_config_t::chan_id field
The cosine wave channel id
Syntax
Show:
Summary
Declaration
from
dac_cosine.h:25
dac_channel_t
chan_id
;
Examples
dac_cosine_config_t::chan_id
is referenced by 1 libraries and example projects:
dac_cosine_wave sample
References
from
0/1
examples
Code
Location
Referrer
dac_channel_t
chan_id
;
/*!< The cosine wave channel id */
dac_cosine.h:25
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_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()
dac_ll_cw_set_atten
(
cos_cfg
->
chan_id
,
cos_cfg
->
atten
)
;
dac_cosine.c:77
dac_cosine_new_channel()
dac_ll_cw_set_phase
(
cos_cfg
->
chan_id
,
cos_cfg
->
phase
)
;
dac_cosine.c:78
dac_cosine_new_channel()
dac_ll_cw_set_dc_offset
(
cos_cfg
->
chan_id
,
cos_cfg
->
offset
)
;
dac_cosine.c:79
dac_cosine_new_channel()
ESP_RETURN_ON_ERROR
(
dac_priv_deregister_channel
(
handle
->
cfg
.
chan_id
)
,
TAG
,
dac_cosine.c:96
dac_cosine_del_channel()
"deregister dac channel %d failed"
,
handle
->
cfg
.
chan_id
)
;
dac_cosine.c:97
dac_cosine_del_channel()
ESP_RETURN_ON_ERROR
(
dac_priv_enable_channel
(
handle
->
cfg
.
chan_id
)
,
TAG
,
dac_cosine.c:115
dac_cosine_start()
"enable dac channel %d failed"
,
handle
->
cfg
.
chan_id
)
;
dac_cosine.c:116
dac_cosine_start()
dac_ll_cw_enable_channel
(
handle
->
cfg
.
chan_id
,
true
)
;
dac_cosine.c:123
dac_cosine_start()
ESP_RETURN_ON_ERROR
(
dac_priv_disable_channel
(
handle
->
cfg
.
chan_id
)
,
TAG
,
dac_cosine.c:138
dac_cosine_stop()
"disable dac channel %d failed"
,
handle
->
cfg
.
chan_id
)
;
dac_cosine.c:139
dac_cosine_stop()
dac_ll_cw_enable_channel
(
handle
->
cfg
.
chan_id
,
false
)
;
dac_cosine.c:142
dac_cosine_stop()
Call Tree
from
0/1
examples
All items filtered out
All items filtered out
Data Use
from
0/1
examples
dac_cosine_config_t::chan_id
is read by 4 functions:
All items filtered out
dac_cosine_config_t::chan_id
dac_cosine_new_channel()
dac_cosine_del_channel()
dac_cosine_start()
dac_cosine_stop()
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out