ESP-IDF
i2s_hal_set_tx_clock()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
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_hal_set_tx_clock()
i2s_hal_set_tx_clock() function
Set tx channel clock
Syntax
Show:
Summary
Declaration
Definition
from
i2s_hal.h:162
void
i2s_hal_set_tx_clock
(
i2s_hal_context_t
*
hal
,
const
i2s_hal_clock_info_t
*
clk_info
,
i2s_clock_src_t
clk_src
)
;
Implemented in
i2s_hal.c:104
Arguments
Argument
Description
hal
Context of the HAL layer
clk_info
clock information, if it is NULL, only set the clock source
clk_src
clock source
Related Functions
Found 10 other functions taking a
i2s_hal_context_t
argument:
Function
Description
_i2s_hal_set_rx_clock()
Set rx channel clock
i2s_hal_init()
Init I2S hal context
i2s_hal_std_set_tx_slot()
Set tx slot to standard mode
i2s_hal_std_set_rx_slot()
Set rx slot to standard mode
i2s_hal_pdm_set_tx_slot()
Set tx slot to pdm mode
i2s_hal_pdm_set_rx_slot()
Set rx slot to pdm mode
i2s_hal_std_enable_tx_channel()
Enable tx channel as standard mode
i2s_hal_std_enable_rx_channel()
Enable rx channel as standard mode
i2s_hal_pdm_enable_tx_channel()
Enable tx channel as pdm mode
i2s_hal_pdm_enable_rx_channel()
Enable rx channel as pdm mode
Examples
References
from
examples
Code
Location
Referrer
void
i2s_hal_set_tx_clock
(
i2s_hal_context_t
*
hal
,
const
i2s_hal_clock_info_t
*
clk_info
,
i2s_clock_src_t
clk_src
)
i2s_hal.c:104
void
i2s_hal_set_tx_clock
(
i2s_hal_context_t
*
hal
,
const
i2s_hal_clock_info_t
*
clk_info
,
i2s_clock_src_t
clk_src
)
;
i2s_hal.h:162
i2s_hal_set_tx_clock
(
&
(
p_i2s
[
i2s_num
]
->
hal
)
,
&
clk_info
,
clk_cfg
->
clk_src
)
;
i2s_legacy.c:1099
i2s_set_clock_legacy()
i2s_hal_set_tx_clock
(
&
obj
->
hal
,
NULL
,
I2S_CLK_SRC_DEFAULT
)
;
i2s_legacy.c:1608
i2s_driver_uninstall()
i2s_hal_set_tx_clock
(
&
handle
->
controller
->
hal
,
&
clk_info
,
clk_cfg
->
clk_src
)
;
i2s_pdm.c:74
i2s_pdm_tx_set_clock()
i2s_hal_set_tx_clock
(
&
handle
->
controller
->
hal
,
&
clk_info
,
clk_cfg
->
clk_src
)
;
i2s_std.c:87
i2s_std_set_clock()
Call Tree
from
examples
i2s_hal_set_tx_clock()
is called by 4 functions and calls 4 functions:
i2s_set_clock_legacy()
i2s_driver_uninstall()
i2s_std_set_clock()
i2s_pdm_tx_set_clock()
All items filtered out
i2s_hal_set_tx_clock()
i2s_ll_tx_clk_set_src()
i2s_ll_tx_set_bck_div_num()
i2s_ll_tx_set_mclk()
i2s_hal_calc_mclk_precise_division()
All items filtered out
Data Use
from
examples
i2s_hal_set_tx_clock()
reads 4 variables:
i2s_hal_clock_info_t::sclk
i2s_hal_clock_info_t::mclk
i2s_hal_clock_info_t::bclk_div
i2s_hal_context_t::dev
All items filtered out
i2s_hal_set_tx_clock()
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