ESP-IDF
i2s_pdm_rx_clk_config_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2s_pdm_rx_clk_config_t
i2s_pdm_rx_clk_config_t struct
I2S clock configuration for PDM RX mode
Syntax
Show:
Summary
Declaration
from
i2s_pdm.h:93
typedef
struct
{
uint32_t
sample_rate_hz
;
i2s_clock_src_t
clk_src
;
i2s_mclk_multiple_t
mclk_multiple
;
i2s_pdm_dsr_t
dn_sample_mode
;
uint32_t
bclk_div
;
}
i2s_pdm_rx_clk_config_t
;
Fields
Field
Declared as
Description
i2s_pdm_rx_clk_config_t::bclk_div
uint32_t
The division from MCLK to BCLK. The typical and minimum value is I2S_PDM_RX_BCLK_DIV_MIN. It will be set to I2S_PDM_RX_BCLK_DIV_MIN by default if it is smaller than I2S_PDM_RX_BCLK_DIV_MIN.
i2s_pdm_rx_clk_config_t::sample_rate_hz
uint32_t
I2S sample rate.
i2s_pdm_rx_clk_config_t::clk_src
i2s_clock_src_t
Choose clock source.
i2s_pdm_rx_clk_config_t::mclk_multiple
i2s_mclk_multiple_t
The multiple of MCLK to the sample rate.
i2s_pdm_rx_clk_config_t::dn_sample_mode
i2s_pdm_dsr_t
Down-sampling rate mode.
Related Functions
Found 3 other functions taking a
i2s_pdm_rx_clk_config_t
argument:
Function
Description
i2s_pdm_rx_set_clock()
i2s_channel_reconfig_pdm_rx_clock()
Reconfigure the I2S clock for PDM RX mode
i2s_pdm_rx_calculate_clock()
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
i2s_pdm.h:93
}
i2s_pdm_rx_clk_config_t
;
i2s_pdm.h:102
static
esp_err_t
i2s_pdm_rx_calculate_clock
(
i2s_chan_handle_t
handle
,
const
i2s_pdm_rx_clk_config_t
*
clk_cfg
,
i2s_hal_clock_info_t
*
clk_info
)
i2s_pdm.c:332
i2s_pdm_rx_calculate_clock()
i2s_pdm_rx_calculate_clock()::clk_cfg
i2s_pdm_rx_clk_config_t
*
pdm_rx_clk
=
(
i2s_pdm_rx_clk_config_t
*
)
clk_cfg
;
i2s_pdm.c:335
i2s_pdm_rx_calculate_clock()
static
esp_err_t
i2s_pdm_rx_set_clock
(
i2s_chan_handle_t
handle
,
const
i2s_pdm_rx_clk_config_t
*
clk_cfg
)
i2s_pdm.c:350
i2s_pdm_rx_set_clock()
i2s_pdm_rx_set_clock()::clk_cfg
memcpy
(
&
(
pdm_rx_cfg
->
clk_cfg
)
,
clk_cfg
,
sizeof
(
i2s_pdm_rx_clk_config_t
)
)
;
i2s_pdm.c:372
i2s_pdm_rx_set_clock()
esp_err_t
i2s_channel_reconfig_pdm_rx_clock
(
i2s_chan_handle_t
handle
,
const
i2s_pdm_rx_clk_config_t
*
clk_cfg
)
i2s_pdm.c:510
i2s_channel_reconfig_pdm_rx_clock()
i2s_channel_reconfig_pdm_rx_clock()::clk_cfg
}
i2s_pdm_rx_clk_config_t
;
i2s_pdm.h:102
i2s_pdm_rx_clk_config_t
i2s_pdm_rx_clk_config_t
clk_cfg
;
/*!< PDM RX clock configurations, can be generated by macro I2S_PDM_RX_CLK_DEFAULT_CONFIG */
i2s_pdm.h:122
i2s_pdm_rx_config_t
i2s_pdm_rx_config_t::clk_cfg
esp_err_t
i2s_channel_reconfig_pdm_rx_clock
(
i2s_chan_handle_t
handle
,
const
i2s_pdm_rx_clk_config_t
*
clk_cfg
)
;
i2s_pdm.h:158
i2s_channel_reconfig_pdm_rx_clock()
i2s_channel_reconfig_pdm_rx_clock()::clk_cfg
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
Instance
Scope
Location
Project
i2s_pdm_rx_config_t::clk_cfg
i2s_pdm_rx_config_t
i2s_pdm.h:122
i2s_channel_reconfig_pdm_rx_clock()::clk_cfg
i2s_channel_reconfig_pdm_rx_clock()
i2s_pdm.h:158
i2s_pdm_rx_calculate_clock()::clk_cfg
i2s_pdm_rx_calculate_clock()
i2s_pdm.c:332
i2s_pdm_rx_set_clock()::clk_cfg
i2s_pdm_rx_set_clock()
i2s_pdm.c:350
i2s_channel_reconfig_pdm_rx_clock()::clk_cfg
i2s_channel_reconfig_pdm_rx_clock()
i2s_pdm.c:510
Lifecycle
from
examples
All items filtered out
All items filtered out