ESP-IDF
i2s_channel_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Values
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2s_channel_t
i2s_channel_t enum
Syntax
Show:
Summary
Declaration
from
i2s_types_legacy.h:48
enum
{
I2S_CHANNEL_MONO
=
1
,
I2S_CHANNEL_STEREO
=
2
,
#if
SOC_I2S_SUPPORTS_TDM
I2S_TDM_ACTIVE_CH0
=
(
0x1
<
<
16
)
,
I2S_TDM_ACTIVE_CH1
=
(
0x1
<
<
17
)
,
I2S_TDM_ACTIVE_CH2
=
(
0x1
<
<
18
)
,
I2S_TDM_ACTIVE_CH3
=
(
0x1
<
<
19
)
,
I2S_TDM_ACTIVE_CH4
=
(
0x1
<
<
20
)
,
I2S_TDM_ACTIVE_CH5
=
(
0x1
<
<
21
)
,
I2S_TDM_ACTIVE_CH6
=
(
0x1
<
<
22
)
,
I2S_TDM_ACTIVE_CH7
=
(
0x1
<
<
23
)
,
I2S_TDM_ACTIVE_CH8
=
(
0x1
<
<
24
)
,
I2S_TDM_ACTIVE_CH9
=
(
0x1
<
<
25
)
,
I2S_TDM_ACTIVE_CH10
=
(
0x1
<
<
26
)
,
I2S_TDM_ACTIVE_CH11
=
(
0x1
<
<
27
)
,
I2S_TDM_ACTIVE_CH12
=
(
0x1
<
<
28
)
,
I2S_TDM_ACTIVE_CH13
=
(
0x1
<
<
29
)
,
I2S_TDM_ACTIVE_CH14
=
(
0x1
<
<
30
)
,
I2S_TDM_ACTIVE_CH15
=
(
0x1
<
<
31
)
,
#endif
}
;
Values
Value
Declared as
Description
i2s_channel_t::I2S_CHANNEL_MONO
=
1
I2S channel (mono), one channel activated. In this mode, you only need to send one channel data but the fifo will copy same data for the other unactivated channels automatically, then both channels will transmit same data.
i2s_channel_t::I2S_CHANNEL_STEREO
=
2
I2S channel (stereo), two (or more) channels activated. In this mode, these channels will transmit different data.
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
enum
{
i2s_types_legacy.h:48
}
i2s_channel_t
;
i2s_types_legacy.h:75
esp_err_t
i2s_set_clk
(
i2s_port_t
i2s_num
,
uint32_t
rate
,
uint32_t
bits_cfg
,
i2s_channel_t
ch
)
i2s_legacy.c:1114
i2s_set_clk()
i2s_set_clk()::ch
}
i2s_channel_t
;
i2s_types_legacy.h:75
i2s_channel_t
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
Instance
Scope
Location
Project
i2s_set_clk()::ch
i2s_set_clk()
i2s_legacy.c:1114
Lifecycle
from
examples
All items filtered out
All items filtered out