ESP-IDF
i2s_obj_t::slot_cfg
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_obj_t::slot_cfg
i2s_obj_t::slot_cfg field
Syntax
Show:
Summary
Declaration
from
i2s_legacy.c:165
i2s_hal_slot_config_t
slot_cfg
;
Examples
References
from
examples
Code
Location
Referrer
i2s_hal_slot_config_t
slot_cfg
;
i2s_legacy.c:165
i2s_hal_slot_config_t
*
slot_cfg
=
&
p_i2s
[
i2s_num
]
->
slot_cfg
;
i2s_legacy.c:521
i2s_get_buf_size()
i2s_hal_slot_config_t
*
slot_cfg
=
&
p_i2s
[
i2s_num
]
->
slot_cfg
;
i2s_legacy.c:747
i2s_calculate_adc_dac_clock()
i2s_hal_slot_config_t
*
slot_cfg
=
&
p_i2s
[
i2s_num
]
->
slot_cfg
;
i2s_legacy.c:829
i2s_calculate_common_clock()
i2s_hal_slot_config_t
*
slot_cfg
=
&
p_i2s
[
0
]
->
slot_cfg
;
i2s_legacy.c:896
i2s_dac_set_slot_legacy()
i2s_hal_slot_config_t
*
slot_cfg
=
&
p_i2s
[
0
]
->
slot_cfg
;
i2s_legacy.c:937
i2s_adc_set_slot_legacy()
i2s_hal_std_set_tx_slot
(
&
(
p_i2s
[
i2s_num
]
->
hal
)
,
is_tx_slave
,
(
i2s_hal_slot_config_t
*
)
(
&
p_i2s
[
i2s_num
]
->
slot_cfg
)
)
;
i2s_legacy.c:1050
i2s_set_slot_legacy()
i2s_hal_std_set_rx_slot
(
&
(
p_i2s
[
i2s_num
]
->
hal
)
,
is_rx_slave
,
(
i2s_hal_slot_config_t
*
)
(
&
p_i2s
[
i2s_num
]
->
slot_cfg
)
)
;
i2s_legacy.c:1053
i2s_set_slot_legacy()
i2s_hal_pdm_set_tx_slot
(
&
(
p_i2s
[
i2s_num
]
->
hal
)
,
is_tx_slave
,
(
i2s_hal_slot_config_t
*
)
(
&
p_i2s
[
i2s_num
]
->
slot_cfg
)
)
;
i2s_legacy.c:1060
i2s_set_slot_legacy()
i2s_hal_pdm_set_rx_slot
(
&
(
p_i2s
[
i2s_num
]
->
hal
)
,
is_rx_slave
,
(
i2s_hal_slot_config_t
*
)
(
&
p_i2s
[
i2s_num
]
->
slot_cfg
)
)
;
i2s_legacy.c:1065
i2s_set_slot_legacy()
i2s_hal_slot_config_t
*
slot_cfg
=
&
p_i2s
[
i2s_num
]
->
slot_cfg
;
i2s_legacy.c:1131
i2s_set_clk()
i2s_hal_slot_config_t
*
slot_cfg
=
&
p_i2s
[
i2s_num
]
->
slot_cfg
;
i2s_legacy.c:1209
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
.
data_bit_width
=
i2s_config
->
bits_per_sample
;
i2s_legacy.c:1344
i2s_config_transfer()
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_bit_width
=
(
int
)
i2s_config
->
bits_per_chan
<
(
int
)
i2s_config
->
bits_per_sample
?
i2s_legacy.c:1345
i2s_config_transfer()
p_i2s
[
i2s_num
]
->
slot_cfg
.
slot_mode
=
i2s_config
->
channel_format
<
I2S_CHANNEL_FMT_ONLY_RIGHT
?
i2s_legacy.c:1348
i2s_config_transfer()
SLOT_CFG
(
std
)
.
ws_width
=
i2s_config
->
bits_per_sample
;
i2s_legacy.c:1363
i2s_config_transfer()
SLOT_CFG
(
std
)
.
ws_pol
=
false
;
i2s_legacy.c:1364
i2s_config_transfer()
SLOT_CFG
(
std
)
.
slot_mask
=
I2S_STD_SLOT_BOTH
;
i2s_legacy.c:1366
i2s_config_transfer()
SLOT_CFG
(
std
)
.
slot_mask
=
I2S_STD_SLOT_LEFT
;
i2s_legacy.c:1369
i2s_config_transfer()
SLOT_CFG
(
std
)
.
slot_mask
=
I2S_STD_SLOT_RIGHT
;
i2s_legacy.c:1371
i2s_config_transfer()
SLOT_CFG
(
std
)
.
bit_shift
=
true
;
i2s_legacy.c:1374
i2s_config_transfer()
SLOT_CFG
(
std
)
.
bit_shift
=
true
;
i2s_legacy.c:1377
i2s_config_transfer()
SLOT_CFG
(
std
)
.
ws_width
=
1
;
i2s_legacy.c:1378
i2s_config_transfer()
SLOT_CFG
(
std
)
.
ws_pol
=
true
;
i2s_legacy.c:1379
i2s_config_transfer()
SLOT_CFG
(
std
)
.
msb_right
=
true
;
i2s_legacy.c:1382
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()
SLOT_CFG
(
pdm_tx
)
.
sd_prescale
=
0
;
i2s_legacy.c:1396
i2s_config_transfer()
SLOT_CFG
(
pdm_tx
)
.
sd_scale
=
I2S_PDM_SIG_SCALING_MUL_1
;
i2s_legacy.c:1397
i2s_config_transfer()
SLOT_CFG
(
pdm_tx
)
.
hp_scale
=
I2S_PDM_SIG_SCALING_MUL_1
;
i2s_legacy.c:1398
i2s_config_transfer()
SLOT_CFG
(
pdm_tx
)
.
lp_scale
=
I2S_PDM_SIG_SCALING_MUL_1
;
i2s_legacy.c:1399
i2s_config_transfer()
SLOT_CFG
(
pdm_tx
)
.
sinc_scale
=
I2S_PDM_SIG_SCALING_MUL_1
;
i2s_legacy.c:1400
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_obj_t::slot_cfg
is read by 3 functions:
All items filtered out
i2s_obj_t::slot_cfg
i2s_set_pdm_rx_down_sample()
i2s_set_pdm_tx_up_sample()
i2s_config_transfer()
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