ESP-IDF
i2s_mode_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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_mode_t
i2s_mode_t enum
Syntax
Show:
Summary
Declaration
from
i2s_types_legacy.h:114
enum
{
I2S_MODE_MASTER
=
(
0x1
<
<
0
)
,
I2S_MODE_SLAVE
=
(
0x1
<
<
1
)
,
I2S_MODE_TX
=
(
0x1
<
<
2
)
,
I2S_MODE_RX
=
(
0x1
<
<
3
)
,
#if
SOC_I2S_SUPPORTS_DAC
I2S_MODE_DAC_BUILT_IN
=
(
0x1
<
<
4
)
,
#endif
#if
SOC_I2S_SUPPORTS_ADC
I2S_MODE_ADC_BUILT_IN
=
(
0x1
<
<
5
)
,
#endif
I2S_MODE_PDM
=
(
0x1
<
<
6
)
,
}
;
Values
Value
Declared as
Description
i2s_mode_t::I2S_MODE_MASTER
=
(
0x1
<
<
0
)
Master mode.
i2s_mode_t::I2S_MODE_SLAVE
=
(
0x1
<
<
1
)
Slave mode.
i2s_mode_t::I2S_MODE_TX
=
(
0x1
<
<
2
)
TX mode.
i2s_mode_t::I2S_MODE_RX
=
(
0x1
<
<
3
)
RX mode.
i2s_mode_t::I2S_MODE_DAC_BUILT_IN
=
(
0x1
<
<
4
)
Output I2S data to built-in DAC, no matter the data format is 16bit or 32 bit, the DAC module will only take the 8bits from MSB.
i2s_mode_t::I2S_MODE_ADC_BUILT_IN
=
(
0x1
<
<
5
)
Input I2S data from built-in ADC, each data can be 12-bit width at most.
i2s_mode_t::I2S_MODE_PDM
=
(
0x1
<
<
6
)
I2S PDM mode.
Examples
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