ESP-IDF
i2c_slave_dev_t::operation_mux
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
i2c_slave_dev_t::operation_mux
i2c_slave_dev_t::operation_mux field
Syntax
Show:
Summary
Declaration
from
i2c_private.h:223
SemaphoreHandle_t
operation_mux
;
Examples
References
from
examples
Code
Location
Referrer
SemaphoreHandle_t
operation_mux
;
// Mux for i2c slave operation
i2c_private.h:223
xSemaphoreTakeFromISR
(
i2c_slave
->
operation_mux
,
&
xTaskWoken
)
;
i2c_slave_v2.c:71
i2c_slave_handle_tx_fifo()
xSemaphoreGiveFromISR
(
i2c_slave
->
operation_mux
,
&
xTaskWoken
)
;
i2c_slave_v2.c:88
i2c_slave_handle_tx_fifo()
xSemaphoreTakeFromISR
(
i2c_slave
->
operation_mux
,
&
xTaskWoken
)
;
i2c_slave_v2.c:97
i2c_slave_handle_rx_fifo()
xSemaphoreGiveFromISR
(
i2c_slave
->
operation_mux
,
&
xTaskWoken
)
;
i2c_slave_v2.c:107
i2c_slave_handle_rx_fifo()
if
(
i2c_slave
->
operation_mux
)
{
i2c_slave_v2.c:219
i2c_slave_device_destroy()
vSemaphoreDeleteWithCaps
(
i2c_slave
->
operation_mux
)
;
i2c_slave_v2.c:220
i2c_slave_device_destroy()
i2c_slave
->
operation_mux
=
NULL
;
i2c_slave_v2.c:221
i2c_slave_device_destroy()
i2c_slave
->
operation_mux
=
xSemaphoreCreateBinaryWithCaps
(
I2C_MEM_ALLOC_CAPS
)
;
i2c_slave_v2.c:265
i2c_new_slave_device()
ESP_GOTO_ON_FALSE
(
i2c_slave
->
operation_mux
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"No memory for binary semaphore"
)
;
i2c_slave_v2.c:266
i2c_new_slave_device()
xSemaphoreGive
(
i2c_slave
->
operation_mux
)
;
i2c_slave_v2.c:267
i2c_new_slave_device()
xSemaphoreTake
(
i2c_slave
->
operation_mux
,
wait_ticks
)
;
i2c_slave_v2.c:356
i2c_slave_write()
xSemaphoreGive
(
i2c_slave
->
operation_mux
)
;
i2c_slave_v2.c:408
i2c_slave_write()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2c_slave_dev_t::operation_mux
is written by 2 functions and is read by 5 functions:
i2c_slave_device_destroy()
i2c_new_slave_device()
All items filtered out
i2c_slave_dev_t::operation_mux
i2c_slave_handle_tx_fifo()
i2c_slave_handle_rx_fifo()
i2c_slave_device_destroy()
i2c_new_slave_device()
i2c_slave_write()
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