ESP-IDF
i2s_channel_obj_t::dir
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::dir
i2s_channel_obj_t::dir field
i2s channel direction
Syntax
Show:
Summary
Declaration
from
i2s_private.h:156
i2s_dir_t
dir
;
Examples
References
from
examples
Code
Location
Referrer
i2s_dir_t
dir
;
/*!< i2s channel direction */
i2s_private.h:156
new_chan
->
dir
=
dir
;
i2s_common.c:324
i2s_register_channel()
if
(
handle
->
dir
==
I2S_DIR_RX
)
{
i2s_common.c:522
i2s_alloc_dma_desc()
if
(
handle
->
dir
==
I2S_DIR_TX
)
{
i2s_common.c:814
i2s_init_dma_intr()
if
(
handle
->
dir
==
I2S_DIR_TX
)
{
i2s_common.c:839
s_i2s_get_pair_chan_gpio_mask()
i2s_dir_t
__attribute__
(
(
unused
)
)
dir
=
handle
->
dir
;
i2s_common.c:1032
i2s_del_channel()
if
(
handle
->
dir
==
I2S_DIR_TX
)
{
i2s_common.c:1050
i2s_del_channel()
chan_info
->
dir
=
handle
->
dir
;
i2s_common.c:1140
i2s_channel_get_info()
if
(
handle
->
dir
==
I2S_DIR_TX
)
{
i2s_common.c:1145
i2s_channel_get_info()
ESP_LOGD
(
TAG
,
"i2s %s channel enabled"
,
handle
->
dir
==
I2S_DIR_TX
?
"tx"
:
"rx"
)
;
i2s_common.c:1177
i2s_channel_enable()
ESP_LOGD
(
TAG
,
"i2s %s channel disabled"
,
handle
->
dir
==
I2S_DIR_TX
?
"tx"
:
"rx"
)
;
i2s_common.c:1207
i2s_channel_disable()
ESP_RETURN_ON_FALSE
(
tx_handle
->
dir
==
I2S_DIR_TX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"this channel is not tx channel"
)
;
i2s_common.c:1218
i2s_channel_preload_data()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_TX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"this channel is not tx channel"
)
;
i2s_common.c:1275
i2s_channel_write()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_RX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"this channel is not rx channel"
)
;
i2s_common.c:1321
i2s_channel_read()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_TX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"This channel handle is not a TX handle"
)
;
i2s_pdm.c:173
i2s_channel_init_pdm_tx_mode()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_TX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"This channel handle is not a TX handle"
)
;
i2s_pdm.c:223
i2s_channel_reconfig_pdm_tx_clock()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_TX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"This channel handle is not a TX handle"
)
;
i2s_pdm.c:273
i2s_channel_reconfig_pdm_tx_slot()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_TX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"This channel handle is not a TX handle"
)
;
i2s_pdm.c:304
i2s_channel_reconfig_pdm_tx_gpio()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_RX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"This channel handle is not a RX handle"
)
;
i2s_pdm.c:460
i2s_channel_init_pdm_rx_mode()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_RX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"This channel handle is not a RX handle"
)
;
i2s_pdm.c:514
i2s_channel_reconfig_pdm_rx_clock()
ESP_RETURN_ON_FALSE
(
handle
->
dir
==
I2S_DIR_RX
,
ESP_ERR_INVALID_ARG
,
TAG
,
"This channel handle is not a RX handle"
)
;
i2s_pdm.c:564
i2s_channel_reconfig_pdm_rx_slot()
if
(
handle
->
dir
==
I2S_DIR_TX
)
{
i2s_std.c:86
i2s_std_set_clock()
if
(
handle
->
dir
==
I2S_DIR_RX
)
{
i2s_std.c:120
i2s_std_set_slot()
if
(
handle
->
dir
==
I2S_DIR_TX
)
{
i2s_std.c:129
i2s_std_set_slot()
}
else
if
(
handle
->
dir
==
I2S_DIR_TX
)
{
i2s_std.c:159
i2s_std_set_gpio()
if
(
handle
->
dir
==
I2S_DIR_TX
&&
!
handle
->
controller
->
full_duplex
)
{
i2s_std.c:172
i2s_std_set_gpio()
if
(
handle
->
dir
==
I2S_DIR_RX
&&
!
handle
->
controller
->
full_duplex
)
{
i2s_std.c:187
i2s_std_set_gpio()
handle
->
dir
==
I2S_DIR_TX
?
"tx"
:
"rx"
,
handle
->
controller
->
id
)
;
i2s_std.c:255
i2s_channel_init_std_mode()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_channel_obj_t::dir
is written by 1 function and is read by 21 functions:
i2s_register_channel()
All items filtered out
i2s_channel_obj_t::dir
i2s_alloc_dma_desc()
i2s_init_dma_intr()
s_i2s_get_pair_chan_gpio_mask()
i2s_del_channel()
i2s_channel_get_info()
i2s_channel_enable()
i2s_channel_disable()
i2s_channel_preload_data()
i2s_channel_write()
i2s_channel_read()
i2s_std_set_clock()
i2s_std_set_slot()
i2s_std_set_gpio()
i2s_channel_init_std_mode()
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()
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