ESP-IDF
i2s_register_channel()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2s_register_channel()
i2s_register_channel() function
Syntax
Show:
Summary
Declaration
from
i2s_common.c:314
static
esp_err_t
i2s_register_channel
(
i2s_controller_t
*
i2s_obj
,
i2s_dir_t
dir
,
uint32_t
desc_num
)
;
Arguments
Argument
Declared as
i2s_obj
i2s_controller_t
*
dir
i2s_dir_t
desc_num
uint32_t
Related Functions
Found 2 other functions taking a
i2s_controller_t
argument:
Function
i2s_take_available_channel()
i2s_destroy_controller_obj()
Examples
References
from
examples
Code
Location
Referrer
static
esp_err_t
i2s_register_channel
(
i2s_controller_t
*
i2s_obj
,
i2s_dir_t
dir
,
uint32_t
desc_num
)
i2s_common.c:314
ESP_GOTO_ON_ERROR
(
i2s_register_channel
(
i2s_obj
,
I2S_DIR_TX
,
chan_cfg
->
dma_desc_num
)
,
i2s_common.c:975
i2s_new_channel()
ESP_GOTO_ON_ERROR
(
i2s_register_channel
(
i2s_obj
,
I2S_DIR_RX
,
chan_cfg
->
dma_desc_num
)
,
i2s_common.c:990
i2s_new_channel()
Call Tree
from
examples
i2s_register_channel()
is called by 1 function and calls 10 functions:
i2s_new_channel()
All items filtered out
i2s_register_channel()
xSemaphoreCreateBinaryWithCaps()
xSemaphoreCreateMutexWithCaps()
free()
esp_log_timestamp()
esp_log_write()
heap_caps_calloc()
xQueueCreateWithCaps()
vQueueDeleteWithCaps()
vSemaphoreDeleteWithCaps()
i2s_del_channel()
All items filtered out
Data Use
from
examples
i2s_register_channel()
reads 17 variables and writes 23 variables:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
i2s_dir_t::I2S_DIR_TX
i2s_role_t::I2S_ROLE_MASTER
i2s_comm_mode_t::I2S_COMM_MODE_NONE
i2s_state_t::I2S_CHAN_STATE_REGISTER
i2s_controller_t::tx_chan
i2s_controller_t::rx_chan
i2s_channel_obj_t::dma
i2s_channel_obj_t::mutex
i2s_channel_obj_t::binary
i2s_channel_obj_t::msg_queue
i2s_channel_obj_t::callbacks
TAG
All items filtered out
i2s_register_channel()
i2s_dma_t::rw_pos
i2s_dma_t::curr_ptr
i2s_event_callbacks_internal_t::on_recv
i2s_event_callbacks_internal_t::on_recv_q_ovf
i2s_event_callbacks_internal_t::on_sent
i2s_event_callbacks_internal_t::on_send_q_ovf
i2s_dma_t::curr_desc
i2s_controller_t::tx_chan
i2s_controller_t::rx_chan
i2s_channel_obj_t::controller
i2s_channel_obj_t::mode
i2s_channel_obj_t::role
i2s_channel_obj_t::dir
i2s_channel_obj_t::state
i2s_channel_obj_t::mode_info
i2s_channel_obj_t::apll_en
i2s_channel_obj_t::mutex
i2s_channel_obj_t::binary
i2s_channel_obj_t::msg_queue
i2s_channel_obj_t::reserve_gpio_mask
i2s_channel_obj_t::start
i2s_channel_obj_t::stop
i2s_channel_obj_t::pm_lock
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
i2s_register_channel()
allocates 1 types:
i2s_channel_obj_t
All items filtered out
i2s_register_channel()
All items filtered out