ESP-IDF
SOC_I2S_NUM
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
SOC_I2S_NUM
SOC_I2S_NUM macro
Syntax
Show:
Summary
Declaration
from
soc_caps.h:216
#define
SOC_I2S_NUM
(
2U
)
Examples
References
from
examples
Code
Location
#define
SOC_I2S_NUM
(
2U
)
soc_caps.h:216
if
(
id
<
0
||
id
>=
SOC_I2S_NUM
)
{
i2s_common.c:234
ESP_RETURN_ON_FALSE
(
(
port_id
>=
0
)
&&
(
port_id
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid handle"
)
;
i2s_common.c:768
ESP_RETURN_ON_FALSE
(
chan_cfg
->
id
<
SOC_I2S_NUM
||
chan_cfg
->
id
==
I2S_NUM_AUTO
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid I2S port id"
)
;
i2s_common.c:941
for
(
int
i
=
0
;
i
<
SOC_I2S_NUM
&&
!
channel_found
;
i
++
)
{
i2s_common.c:959
for
(
int
i
=
0
;
i
<
SOC_I2S_NUM
;
i
++
)
{
i2s_common.c:1016
for
(
int
i
=
0
;
i
<
SOC_I2S_NUM
;
i
++
)
{
i2s_common.c:1127
static
i2s_obj_t
*
p_i2s
[
SOC_I2S_NUM
]
=
{
i2s_legacy.c:172
[
0
...
SOC_I2S_NUM
-
1
]
=
NULL
,
i2s_legacy.c:173
static
portMUX_TYPE
i2s_spinlock
[
SOC_I2S_NUM
]
=
{
i2s_legacy.c:177
[
0
...
SOC_I2S_NUM
-
1
]
=
(
portMUX_TYPE
)
portMUX_INITIALIZER_UNLOCKED
,
i2s_legacy.c:178
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:477
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:498
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:971
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:984
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:999
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1109
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1116
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1208
ESP_RETURN_ON_FALSE
(
i2s_num
<
SOC_I2S_NUM
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1556
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1699
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1745
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1811
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1884
ESP_RETURN_ON_FALSE
(
(
i2s_num
<
SOC_I2S_NUM
)
,
ESP_ERR_INVALID_ARG
,
TAG
,
"i2s_num error"
)
;
i2s_legacy.c:1912
const
i2s_signal_conn_t
i2s_periph_signal
[
SOC_I2S_NUM
]
=
{
i2s_periph.c:13
extern
const
i2s_signal_conn_t
i2s_periph_signal
[
SOC_I2S_NUM
]
;
i2s_periph.h:60
.
controller
[
0
...
(
SOC_I2S_NUM
-
1
)
]
=
NULL
,
// groups will be lazy installed
i2s_platform.c:19
.
comp_name
[
0
...
(
SOC_I2S_NUM
-
1
)
]
=
NULL
,
i2s_platform.c:20
ESP_RETURN_ON_FALSE
(
id
<
SOC_I2S_NUM
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid i2s port id"
)
;
i2s_platform.c:37
ESP_RETURN_ON_FALSE
(
id
<
SOC_I2S_NUM
,
ESP_ERR_INVALID_ARG
,
TAG
,
"invalid i2s port id"
)
;
i2s_platform.c:82
i2s_controller_t
*
controller
[
SOC_I2S_NUM
]
;
/*!< Controller object */
i2s_private.h:217
const
char
*
comp_name
[
SOC_I2S_NUM
]
;
/*!< The component name that occupied i2s controller */
i2s_private.h:218
#if
SOC_I2S_NUM
>
1
i2s_types.h:23
#if
SOC_I2S_NUM
>
2
i2s_types.h:26
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