ESP-IDF
i2s_channel_obj_t::mode
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
i2s_channel_obj_t::mode
i2s_channel_obj_t::mode field
i2s channel communication mode
Syntax
Show:
Summary
Declaration
from
i2s_private.h:154
i2s_comm_mode_t
mode
;
Examples
References
from
examples
Code
Location
Referrer
i2s_comm_mode_t
mode
;
/*!< i2s channel communication mode */
i2s_private.h:154
new_chan
->
mode
=
I2S_COMM_MODE_NONE
;
i2s_common.c:322
i2s_register_channel()
chan_info
->
mode
=
handle
->
mode
;
i2s_common.c:1142
i2s_channel_get_info()
handle
->
mode
=
I2S_COMM_MODE_PDM
;
i2s_pdm.c:180
i2s_channel_init_pdm_tx_mode()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_PDM
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"this handle is not working in standard mode"
)
;
i2s_pdm.c:228
i2s_channel_reconfig_pdm_tx_clock()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_PDM
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"this handle is not working in standard mode"
)
;
i2s_pdm.c:278
i2s_channel_reconfig_pdm_tx_slot()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_PDM
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"This handle is not working in standard mode"
)
;
i2s_pdm.c:309
i2s_channel_reconfig_pdm_tx_gpio()
handle
->
mode
=
I2S_COMM_MODE_PDM
;
i2s_pdm.c:467
i2s_channel_init_pdm_rx_mode()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_PDM
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"this handle is not working in standard mode"
)
;
i2s_pdm.c:519
i2s_channel_reconfig_pdm_rx_clock()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_PDM
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"this handle is not working in standard mode"
)
;
i2s_pdm.c:569
i2s_channel_reconfig_pdm_rx_slot()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_PDM
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"This handle is not working in standard mode"
)
;
i2s_pdm.c:599
i2s_channel_reconfig_pdm_rx_gpio()
handle
->
mode
=
I2S_COMM_MODE_STD
;
i2s_std.c:216
i2s_channel_init_std_mode()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_STD
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"this handle is not working in standard mode"
)
;
i2s_std.c:271
i2s_channel_reconfig_std_clock()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_STD
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"this handle is not working in standard mode"
)
;
i2s_std.c:321
i2s_channel_reconfig_std_slot()
ESP_GOTO_ON_FALSE
(
handle
->
mode
==
I2S_COMM_MODE_STD
,
ESP_ERR_INVALID_ARG
,
err
,
TAG
,
"This handle is not working in standard mode"
)
;
i2s_std.c:351
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::mode
is written by 4 functions and is read by 10 functions:
i2s_register_channel()
i2s_channel_init_std_mode()
i2s_channel_init_pdm_tx_mode()
i2s_channel_init_pdm_rx_mode()
All items filtered out
i2s_channel_obj_t::mode
i2s_channel_get_info()
i2s_channel_reconfig_std_clock()
i2s_channel_reconfig_std_slot()
i2s_channel_reconfig_std_gpio()
i2s_channel_reconfig_pdm_tx_clock()
i2s_channel_reconfig_pdm_tx_slot()
i2s_channel_reconfig_pdm_tx_gpio()
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