ESP-IDF
i2s_channel_obj_t::binary
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/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
i2s_channel_obj_t::binary
i2s_channel_obj_t::binary field
Binary semaphore for writing / reading / enabling / disabling
Syntax
Show:
Summary
Declaration
from
i2s_private.h:171
SemaphoreHandle_t
binary
;
Examples
References
from
examples
Code
Location
Referrer
SemaphoreHandle_t
binary
;
/*!< Binary semaphore for writing / reading / enabling / disabling */
i2s_private.h:171
new_chan
->
binary
=
xSemaphoreCreateBinaryWithCaps
(
I2S_MEM_ALLOC_CAPS
)
;
i2s_common.c:338
i2s_register_channel()
ESP_GOTO_ON_FALSE
(
new_chan
->
binary
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"No memory for binary semaphore"
)
;
i2s_common.c:339
i2s_register_channel()
if
(
new_chan
->
binary
)
{
i2s_common.c:372
i2s_register_channel()
vSemaphoreDeleteWithCaps
(
new_chan
->
binary
)
;
i2s_common.c:373
i2s_register_channel()
if
(
handle
->
binary
)
{
i2s_common.c:1079
i2s_del_channel()
vSemaphoreDeleteWithCaps
(
handle
->
binary
)
;
i2s_common.c:1080
i2s_del_channel()
xSemaphoreGive
(
handle
->
binary
)
;
i2s_common.c:1175
i2s_channel_enable()
xSemaphoreTake
(
handle
->
binary
,
portMAX_DELAY
)
;
i2s_common.c:1197
i2s_channel_disable()
ESP_RETURN_ON_FALSE
(
xSemaphoreTake
(
handle
->
binary
,
pdMS_TO_TICKS
(
timeout_ms
)
)
==
pdTRUE
,
ESP_ERR_INVALID_STATE
,
TAG
,
"The channel is not enabled"
)
;
i2s_common.c:1286
i2s_channel_write()
xSemaphoreGive
(
handle
->
binary
)
;
i2s_common.c:1313
i2s_channel_write()
ESP_RETURN_ON_FALSE
(
xSemaphoreTake
(
handle
->
binary
,
pdMS_TO_TICKS
(
timeout_ms
)
)
==
pdTRUE
,
ESP_ERR_INVALID_STATE
,
TAG
,
"The channel is not enabled"
)
;
i2s_common.c:1332
i2s_channel_read()
xSemaphoreGive
(
handle
->
binary
)
;
i2s_common.c:1355
i2s_channel_read()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_channel_obj_t::binary
is written by 1 function and is read by 6 functions:
i2s_register_channel()
All items filtered out
i2s_channel_obj_t::binary
i2s_register_channel()
i2s_del_channel()
i2s_channel_enable()
i2s_channel_disable()
i2s_channel_write()
i2s_channel_read()
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