ESP-IDF
i2s_hal_slot_config_t::slot_bit_width
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_bit_width
i2s_hal_slot_config_t::slot_bit_width field
I2S slot bit width (total bits per slot)
Syntax
Show:
Summary
Declaration
from
i2s_hal.h:35
i2s_slot_bit_width_t
slot_bit_width
;
Examples
References
from
examples
Code
Location
Referrer
i2s_slot_bit_width_t
slot_bit_width
;
/*!< I2S slot bit width (total bits per slot) */
i2s_hal.h:35
uint32_t
slot_bit_width
=
(
int
)
slot_cfg
->
slot_bit_width
<
(
int
)
slot_cfg
->
data_bit_width
?
i2s_hal.c:144
i2s_hal_std_set_tx_slot()
slot_cfg
->
data_bit_width
:
slot_cfg
->
slot_bit_width
;
i2s_hal.c:145
i2s_hal_std_set_tx_slot()
uint32_t
slot_bit_width
=
(
int
)
slot_cfg
->
slot_bit_width
<
(
int
)
slot_cfg
->
data_bit_width
?
i2s_hal.c:175
i2s_hal_std_set_rx_slot()
slot_cfg
->
data_bit_width
:
slot_cfg
->
slot_bit_width
;
i2s_hal.c:176
i2s_hal_std_set_rx_slot()
uint32_t
slot_bit_width
=
(
int
)
slot_cfg
->
slot_bit_width
<
(
int
)
slot_cfg
->
data_bit_width
?
i2s_hal.c:227
i2s_hal_pdm_set_tx_slot()
slot_cfg
->
data_bit_width
:
slot_cfg
->
slot_bit_width
;
i2s_hal.c:228
i2s_hal_pdm_set_tx_slot()
uint32_t
slot_bit_width
=
(
int
)
slot_cfg
->
slot_bit_width
<
(
int
)
slot_cfg
->
data_bit_width
?
i2s_hal.c:267
i2s_hal_pdm_set_rx_slot()
slot_cfg
->
data_bit_width
:
slot_cfg
->
slot_bit_width
;
i2s_hal.c:268
i2s_hal_pdm_set_rx_slot()
uint32_t
slot_bits
=
slot_cfg
->
slot_bit_width
;
i2s_legacy.c:748
i2s_calculate_adc_dac_clock()
uint32_t
slot_bits
=
slot_cfg
->
slot_bit_width
;
i2s_legacy.c:832
i2s_calculate_common_clock()
i2s_ll_tx_set_sample_bit
(
dev
,
slot_cfg
->
slot_bit_width
,
slot_cfg
->
data_bit_width
)
;
i2s_legacy.c:900
i2s_dac_set_slot_legacy()
i2s_ll_tx_set_ws_width
(
dev
,
slot_cfg
->
slot_bit_width
)
;
i2s_legacy.c:903
i2s_dac_set_slot_legacy()
i2s_ll_rx_set_sample_bit
(
dev
,
slot_cfg
->
slot_bit_width
,
slot_cfg
->
data_bit_width
)
;
i2s_legacy.c:940
i2s_adc_set_slot_legacy()
i2s_ll_rx_set_ws_width
(
dev
,
slot_cfg
->
slot_bit_width
)
;
i2s_legacy.c:943
i2s_adc_set_slot_legacy()
slot_cfg
->
slot_bit_width
=
(
bits_cfg
>
>
16
)
>
slot_cfg
->
data_bit_width
?
i2s_legacy.c:1136
i2s_set_clk()
ESP_RETURN_ON_FALSE
(
(
slot_cfg
->
slot_bit_width
%
8
==
0
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"Invalid bits per channel"
)
;
i2s_legacy.c:1138
i2s_set_clk()
ESP_RETURN_ON_FALSE
(
(
(
int
)
slot_cfg
->
slot_bit_width
<=
(
int
)
I2S_BITS_PER_SAMPLE_32BIT
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"Invalid bits per sample"
)
;
i2s_legacy.c:1139
i2s_set_clk()
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()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_hal_slot_config_t::slot_bit_width
is written by 2 functions and is read by 9 functions:
i2s_set_clk()
i2s_config_transfer()
All items filtered out
i2s_hal_slot_config_t::slot_bit_width
i2s_calculate_adc_dac_clock()
i2s_calculate_common_clock()
i2s_dac_set_slot_legacy()
i2s_adc_set_slot_legacy()
i2s_set_clk()
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