ESP-IDF
i2s_channel_obj_t::mutex
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/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::mutex
i2s_channel_obj_t::mutex field
Mutex semaphore for the channel operations
Syntax
Show:
Summary
Declaration
from
i2s_private.h:170
SemaphoreHandle_t
mutex
;
Examples
References
from
examples
Code
Location
Referrer
SemaphoreHandle_t
mutex
;
/*!< Mutex semaphore for the channel operations */
i2s_private.h:170
new_chan
->
mutex
=
xSemaphoreCreateMutexWithCaps
(
I2S_MEM_ALLOC_CAPS
)
;
i2s_common.c:336
i2s_register_channel()
ESP_GOTO_ON_FALSE
(
new_chan
->
mutex
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"No memory for mutex semaphore"
)
;
i2s_common.c:337
i2s_register_channel()
if
(
new_chan
->
mutex
)
{
i2s_common.c:369
i2s_register_channel()
vSemaphoreDeleteWithCaps
(
new_chan
->
mutex
)
;
i2s_common.c:370
i2s_register_channel()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_common.c:408
i2s_channel_register_event_callback()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_common.c:413
i2s_channel_register_event_callback()
if
(
handle
->
mutex
)
{
i2s_common.c:1076
i2s_del_channel()
vSemaphoreDeleteWithCaps
(
handle
->
mutex
)
;
i2s_common.c:1077
i2s_del_channel()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_common.c:1138
i2s_channel_get_info()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_common.c:1153
i2s_channel_get_info()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_common.c:1164
i2s_channel_enable()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_common.c:1173
i2s_channel_enable()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_common.c:1181
i2s_channel_enable()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_common.c:1190
i2s_channel_disable()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_common.c:1206
i2s_channel_disable()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_common.c:1211
i2s_channel_disable()
xSemaphoreTake
(
tx_handle
->
mutex
,
portMAX_DELAY
)
;
i2s_common.c:1225
i2s_channel_preload_data()
xSemaphoreGive
(
tx_handle
->
mutex
)
;
i2s_common.c:1267
i2s_channel_preload_data()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_pdm.c:178
i2s_channel_init_pdm_tx_mode()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:210
i2s_channel_init_pdm_tx_mode()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:215
i2s_channel_init_pdm_tx_mode()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_pdm.c:227
i2s_channel_reconfig_pdm_tx_clock()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:261
i2s_channel_reconfig_pdm_tx_clock()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:265
i2s_channel_reconfig_pdm_tx_clock()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_pdm.c:277
i2s_channel_reconfig_pdm_tx_slot()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:292
i2s_channel_reconfig_pdm_tx_slot()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:296
i2s_channel_reconfig_pdm_tx_slot()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_pdm.c:308
i2s_channel_reconfig_pdm_tx_gpio()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:316
i2s_channel_reconfig_pdm_tx_gpio()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:320
i2s_channel_reconfig_pdm_tx_gpio()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_pdm.c:465
i2s_channel_init_pdm_rx_mode()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:501
i2s_channel_init_pdm_rx_mode()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:506
i2s_channel_init_pdm_rx_mode()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_pdm.c:518
i2s_channel_reconfig_pdm_rx_clock()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:552
i2s_channel_reconfig_pdm_rx_clock()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:556
i2s_channel_reconfig_pdm_rx_clock()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_pdm.c:568
i2s_channel_reconfig_pdm_rx_slot()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:583
i2s_channel_reconfig_pdm_rx_slot()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:587
i2s_channel_reconfig_pdm_rx_slot()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_pdm.c:598
i2s_channel_reconfig_pdm_rx_gpio()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:606
i2s_channel_reconfig_pdm_rx_gpio()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_pdm.c:610
i2s_channel_reconfig_pdm_rx_gpio()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_std.c:215
i2s_channel_init_std_mode()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_std.c:253
i2s_channel_init_std_mode()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_std.c:259
i2s_channel_init_std_mode()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_std.c:270
i2s_channel_reconfig_std_clock()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_std.c:305
i2s_channel_reconfig_std_clock()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_std.c:309
i2s_channel_reconfig_std_clock()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_std.c:320
i2s_channel_reconfig_std_slot()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_std.c:335
i2s_channel_reconfig_std_slot()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_std.c:339
i2s_channel_reconfig_std_slot()
xSemaphoreTake
(
handle
->
mutex
,
portMAX_DELAY
)
;
i2s_std.c:350
i2s_channel_reconfig_std_gpio()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_std.c:358
i2s_channel_reconfig_std_gpio()
xSemaphoreGive
(
handle
->
mutex
)
;
i2s_std.c:362
i2s_channel_reconfig_std_gpio()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_channel_obj_t::mutex
is written by 1 function and is read by 19 functions:
i2s_register_channel()
All items filtered out
i2s_channel_obj_t::mutex
i2s_register_channel()
i2s_channel_register_event_callback()
i2s_del_channel()
i2s_channel_get_info()
i2s_channel_enable()
i2s_channel_disable()
i2s_channel_preload_data()
i2s_channel_init_std_mode()
i2s_channel_reconfig_std_clock()
i2s_channel_reconfig_std_slot()
i2s_channel_reconfig_std_gpio()
i2s_channel_init_pdm_tx_mode()
i2s_channel_reconfig_pdm_tx_clock()
i2s_channel_reconfig_pdm_tx_slot()
i2s_channel_reconfig_pdm_tx_gpio()
i2s_channel_init_pdm_rx_mode()
i2s_channel_reconfig_pdm_rx_clock()
i2s_channel_reconfig_pdm_rx_slot()
i2s_channel_reconfig_pdm_rx_gpio()
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