ESP-IDF
s_dac_chan
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
s_dac_chan
s_dac_chan variable
Syntax
Show:
Summary
Declaration
from
dac_common.c:24
static
dac_channel_info_t
s_dac_chan
[
SOC_DAC_CHAN_NUM
]
=
{
[
0
...
SOC_DAC_CHAN_NUM
-
1
]
=
{
.
in_use
=
false
,
.
is_enabled
=
false
,
.
mode
=
NULL
,
}
}
;
Examples
References
from
examples
Code
Location
Referrer
static
dac_channel_info_t
s_dac_chan
[
SOC_DAC_CHAN_NUM
]
=
{
dac_common.c:24
if
(
!
s_dac_chan
[
chan_id
]
.
in_use
)
{
dac_common.c:41
dac_priv_register_channel()
s_dac_chan
[
chan_id
]
.
in_use
=
true
;
dac_common.c:42
dac_priv_register_channel()
s_dac_chan
[
chan_id
]
.
mode
=
mode_name
;
dac_common.c:43
dac_priv_register_channel()
ESP_LOGE
(
TAG
,
"dac channel %d has been registered by %s"
,
chan_id
,
s_dac_chan
[
chan_id
]
.
mode
)
;
dac_common.c:48
dac_priv_register_channel()
ESP_RETURN_ON_FALSE
(
!
s_dac_chan
[
chan_id
]
.
is_enabled
,
ESP_ERR_INVALID_STATE
,
TAG
,
"the channel is still enabled"
)
;
dac_common.c:56
dac_priv_deregister_channel()
if
(
s_dac_chan
[
chan_id
]
.
in_use
)
{
dac_common.c:58
dac_priv_deregister_channel()
s_dac_chan
[
chan_id
]
.
in_use
=
false
;
dac_common.c:59
dac_priv_deregister_channel()
s_dac_chan
[
chan_id
]
.
mode
=
NULL
;
dac_common.c:60
dac_priv_deregister_channel()
ESP_RETURN_ON_FALSE
(
s_dac_chan
[
chan_id
]
.
in_use
,
ESP_ERR_INVALID_STATE
,
TAG
,
"the channel is not registered"
)
;
dac_common.c:70
dac_priv_enable_channel()
s_dac_chan
[
chan_id
]
.
is_enabled
=
true
;
dac_common.c:81
dac_priv_enable_channel()
ESP_RETURN_ON_FALSE
(
s_dac_chan
[
chan_id
]
.
in_use
,
ESP_ERR_INVALID_STATE
,
TAG
,
"the channel is not registered"
)
;
dac_common.c:88
dac_priv_disable_channel()
s_dac_chan
[
chan_id
]
.
is_enabled
=
false
;
dac_common.c:95
dac_priv_disable_channel()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
s_dac_chan
is read by 4 functions:
All items filtered out
s_dac_chan
dac_priv_register_channel()
dac_priv_deregister_channel()
dac_priv_enable_channel()
dac_priv_disable_channel()
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