ESP-IDF
+
0
/2 examples
SourceVu will show references to
i2s_std_slot_config_t
from the following samples and libraries:
a2dp_sink sample
a2dp_gatts_coex sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2s_std_slot_config_t
i2s_std_slot_config_t struct
I2S slot configuration for standard mode
Syntax
Show:
Summary
Declaration
from
i2s_std.h:226
typedef
struct
{
i2s_data_bit_width_t
data_bit_width
;
i2s_slot_bit_width_t
slot_bit_width
;
i2s_slot_mode_t
slot_mode
;
i2s_std_slot_mask_t
slot_mask
;
uint32_t
ws_width
;
bool
ws_pol
;
bool
bit_shift
;
#if
SOC_I2S_HW_VERSION_1
bool
msb_right
;
#else
bool
left_align
;
bool
big_endian
;
bool
bit_order_lsb
;
#endif
}
i2s_std_slot_config_t
;
Fields
Field
Declared as
Description
i2s_std_slot_config_t::data_bit_width
i2s_data_bit_width_t
I2S sample data bit width (valid data bits per sample).
i2s_std_slot_config_t::slot_bit_width
i2s_slot_bit_width_t
I2S slot bit width (total bits per slot).
i2s_std_slot_config_t::slot_mode
i2s_slot_mode_t
Set mono or stereo mode with I2S_SLOT_MODE_MONO or I2S_SLOT_MODE_STEREO In TX direction, mono means the written buffer contains only one slot data and stereo means the written buffer contains both left and right data.
i2s_std_slot_config_t::slot_mask
i2s_std_slot_mask_t
Select the left, right or both slot.
i2s_std_slot_config_t::ws_width
uint32_t
WS signal width (i.e. the number of BCLK ticks that WS signal is high).
i2s_std_slot_config_t::ws_pol
bool
WS signal polarity, set true to enable high lever first.
i2s_std_slot_config_t::bit_shift
bool
Set to enable bit shift in Philips mode.
i2s_std_slot_config_t::msb_right
bool
Set to place right channel data at the MSB in the FIFO.
Related Functions
Found 2 other functions taking a
i2s_std_slot_config_t
argument:
Function
Description
i2s_channel_reconfig_std_slot()
Reconfigure the I2S slot for standard mode
i2s_std_set_slot()
Examples
i2s_std_slot_config_t
is referenced by 2 libraries and example projects:
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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