ESP-IDF
i2s_hal_slot_config_t::slot_mode
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2s_hal_slot_config_t::slot_mode
i2s_hal_slot_config_t::slot_mode field
Set mono or stereo mode with I2S_SLOT_MODE_MONO or I2S_SLOT_MODE_STEREO
Syntax
Show:
Summary
Declaration
from
i2s_hal.h:36
i2s_slot_mode_t
slot_mode
;
Examples
References
from
examples
Code
Location
Referrer
i2s_slot_mode_t
slot_mode
;
/*!< Set mono or stereo mode with I2S_SLOT_MODE_MONO or I2S_SLOT_MODE_STEREO */
i2s_hal.h:36
i2s_ll_tx_enable_mono_mode
(
hal
->
dev
,
slot_cfg
->
slot_mode
==
I2S_SLOT_MODE_MONO
)
;
i2s_hal.c:152
i2s_hal_std_set_tx_slot()
i2s_ll_tx_select_std_slot
(
hal
->
dev
,
slot_cfg
->
std
.
slot_mask
,
slot_cfg
->
slot_mode
==
I2S_SLOT_MODE_MONO
)
;
i2s_hal.c:153
i2s_hal_std_set_tx_slot()
i2s_ll_rx_enable_mono_mode
(
hal
->
dev
,
slot_cfg
->
slot_mode
==
I2S_SLOT_MODE_MONO
)
;
i2s_hal.c:180
i2s_hal_std_set_rx_slot()
bool
is_mono
=
slot_cfg
->
slot_mode
==
I2S_SLOT_MODE_MONO
;
i2s_hal.c:215
i2s_hal_pdm_set_tx_slot()
i2s_ll_rx_enable_mono_mode
(
hal
->
dev
,
slot_cfg
->
slot_mode
==
I2S_SLOT_MODE_MONO
)
;
i2s_hal.c:273
i2s_hal_pdm_set_rx_slot()
i2s_ll_tx_enable_mono_mode
(
dev
,
slot_cfg
->
slot_mode
==
I2S_SLOT_MODE_MONO
)
;
i2s_legacy.c:901
i2s_dac_set_slot_legacy()
slot_cfg
->
slot_mode
=
(
(
ch
&
0xFFFF
)
==
I2S_CHANNEL_MONO
)
?
I2S_SLOT_MODE_MONO
:
I2S_SLOT_MODE_STEREO
;
i2s_legacy.c:1140
i2s_set_clk()
if
(
slot_cfg
->
slot_mode
==
I2S_SLOT_MODE_MONO
)
{
i2s_legacy.c:1142
i2s_set_clk()
p_i2s
[
i2s_num
]
->
active_slot
=
(
slot_cfg
->
slot_mode
==
I2S_SLOT_MODE_MONO
)
?
1
:
2
;
i2s_legacy.c:1166
i2s_set_clk()
return
i2s_set_clk
(
i2s_num
,
rate
,
slot_cfg
->
data_bit_width
,
slot_cfg
->
slot_mode
|
(
mask
<
<
16
)
)
;
i2s_legacy.c:1216
i2s_set_sample_rates()
return
i2s_set_clk
(
i2s_num
,
p_i2s
[
i2s_num
]
->
clk_cfg
.
sample_rate_hz
,
p_i2s
[
i2s_num
]
->
slot_cfg
.
data_bit_width
,
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_mode
)
;
i2s_legacy.c:1265
i2s_set_pdm_rx_down_sample()
return
i2s_set_clk
(
i2s_num
,
p_i2s
[
i2s_num
]
->
clk_cfg
.
sample_rate_hz
,
p_i2s
[
i2s_num
]
->
slot_cfg
.
data_bit_width
,
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_mode
)
;
i2s_legacy.c:1283
i2s_set_pdm_tx_up_sample()
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_mode
=
i2s_config
->
channel_format
<
I2S_CHANNEL_FMT_ONLY_RIGHT
?
i2s_legacy.c:1348
i2s_config_transfer()
p_i2s
[
i2s_num
]
->
active_slot
=
(
int
)
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_mode
==
I2S_SLOT_MODE_MONO
?
1
:
2
;
i2s_legacy.c:1389
i2s_config_transfer()
p_i2s
[
i2s_num
]
->
active_slot
=
(
int
)
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_mode
==
I2S_SLOT_MODE_MONO
?
1
:
2
;
i2s_legacy.c:1412
i2s_config_transfer()
p_i2s
[
i2s_num
]
->
active_slot
=
(
int
)
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_mode
==
I2S_SLOT_MODE_MONO
?
1
:
2
;
i2s_legacy.c:1422
i2s_config_transfer()
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_mode
=
(
p_i2s
[
i2s_num
]
->
dir
&
I2S_DIR_TX
)
?
i2s_legacy.c:1463
i2s_config_transfer()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_hal_slot_config_t::slot_mode
is written by 2 functions and is read by 10 functions:
i2s_set_clk()
i2s_config_transfer()
All items filtered out
i2s_hal_slot_config_t::slot_mode
i2s_dac_set_slot_legacy()
i2s_set_clk()
i2s_set_sample_rates()
i2s_set_pdm_rx_down_sample()
i2s_set_pdm_tx_up_sample()
i2s_config_transfer()
i2s_hal_std_set_tx_slot()
i2s_hal_std_set_rx_slot()
i2s_hal_pdm_set_tx_slot()
i2s_hal_pdm_set_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