ESP-IDF
I2S_CHAN_STATE_READY
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
I2S_CHAN_STATE_READY
I2S_CHAN_STATE_READY value
i2s channel is disabled (initialized)
Syntax
Show:
Summary
Declaration
from
i2s_private.h:73
I2S_CHAN_STATE_READY
;
Examples
References
from
examples
Code
Location
Referrer
I2S_CHAN_STATE_READY
,
/*!< i2s channel is disabled (initialized) */
i2s_private.h:73
chan_info
->
total_dma_buf_size
=
handle
->
state
>=
I2S_CHAN_STATE_READY
?
handle
->
dma
.
desc_num
*
handle
->
dma
.
buf_size
:
0
;
i2s_common.c:1143
i2s_channel_get_info()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"the channel has already enabled or not initialized"
)
;
i2s_common.c:1165
i2s_channel_enable()
ESP_GOTO_ON_FALSE
(
handle
->
state
>
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"the channel has not been enabled yet"
)
;
i2s_common.c:1191
i2s_channel_disable()
handle
->
state
=
I2S_CHAN_STATE_READY
;
i2s_common.c:1193
i2s_channel_disable()
ESP_RETURN_ON_FALSE
(
tx_handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
TAG
,
"data can only be preloaded when the channel is READY"
)
;
i2s_common.c:1219
i2s_channel_preload_data()
handle
->
state
=
I2S_CHAN_STATE_READY
;
i2s_pdm.c:209
i2s_channel_init_pdm_tx_mode()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"invalid state, I2S should be disabled before reconfiguring the clock"
)
;
i2s_pdm.c:229
i2s_channel_reconfig_pdm_tx_clock()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"invalid state, I2S should be disabled before reconfiguring the slot"
)
;
i2s_pdm.c:279
i2s_channel_reconfig_pdm_tx_slot()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"Invalid state, I2S should be disabled before reconfiguring the gpio"
)
;
i2s_pdm.c:310
i2s_channel_reconfig_pdm_tx_gpio()
handle
->
state
=
I2S_CHAN_STATE_READY
;
i2s_pdm.c:500
i2s_channel_init_pdm_rx_mode()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"invalid state, I2S should be disabled before reconfiguring the clock"
)
;
i2s_pdm.c:520
i2s_channel_reconfig_pdm_rx_clock()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"invalid state, I2S should be disabled before reconfiguring the slot"
)
;
i2s_pdm.c:570
i2s_channel_reconfig_pdm_rx_slot()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"Invalid state, I2S should be disabled before reconfiguring the gpio"
)
;
i2s_pdm.c:600
i2s_channel_reconfig_pdm_rx_gpio()
handle
->
state
=
I2S_CHAN_STATE_READY
;
i2s_std.c:252
i2s_channel_init_std_mode()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"invalid state, I2S should be disabled before reconfiguring the clock"
)
;
i2s_std.c:272
i2s_channel_reconfig_std_clock()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"invalid state, I2S should be disabled before reconfiguring the slot"
)
;
i2s_std.c:322
i2s_channel_reconfig_std_slot()
ESP_GOTO_ON_FALSE
(
handle
->
state
==
I2S_CHAN_STATE_READY
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"Invalid state, I2S should be disabled before reconfiguring the gpio"
)
;
i2s_std.c:352
i2s_channel_reconfig_std_gpio()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
I2S_CHAN_STATE_READY
is read by 16 functions:
All items filtered out
I2S_CHAN_STATE_READY
i2s_channel_get_info()
i2s_channel_enable()
i2s_channel_disable()
i2s_channel_preload_data()
i2s_channel_init_std_mode()
i2s_channel_reconfig_std_clock()
i2s_channel_reconfig_std_slot()
i2s_channel_reconfig_std_gpio()
i2s_channel_init_pdm_tx_mode()
i2s_channel_reconfig_pdm_tx_clock()
i2s_channel_reconfig_pdm_tx_slot()
i2s_channel_reconfig_pdm_tx_gpio()
i2s_channel_init_pdm_rx_mode()
i2s_channel_reconfig_pdm_rx_clock()
i2s_channel_reconfig_pdm_rx_slot()
i2s_channel_reconfig_pdm_rx_gpio()
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