ESP-IDF
i2s_pdm_rx_slot_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_slot_config_t
i2s_pdm_rx_slot_config_t struct
I2S slot configuration for PDM RX mode
Syntax
Show:
Summary
Declaration
from
i2s_pdm.h:72
typedef
struct
{
i2s_data_bit_width_t
data_bit_width
;
i2s_slot_bit_width_t
slot_bit_width
;
i2s_slot_mode_t
slot_mode
;
i2s_pdm_slot_mask_t
slot_mask
;
#if
SOC_I2S_SUPPORTS_PDM_RX_HP_FILTER
bool
hp_en
;
float
hp_cut_off_freq_hz
;
uint32_t
amplify_num
;
#endif
}
i2s_pdm_rx_slot_config_t
;
Fields
Field
Declared as
Description
i2s_pdm_rx_slot_config_t::data_bit_width
i2s_data_bit_width_t
I2S sample data bit width (valid data bits per sample), only support 16 bits for PDM mode.
i2s_pdm_rx_slot_config_t::slot_bit_width
i2s_slot_bit_width_t
I2S slot bit width (total bits per slot) , only support 16 bits for PDM mode.
i2s_pdm_rx_slot_config_t::slot_mode
i2s_slot_mode_t
Set mono or stereo mode with I2S_SLOT_MODE_MONO or I2S_SLOT_MODE_STEREO.
i2s_pdm_rx_slot_config_t::slot_mask
i2s_pdm_slot_mask_t
Choose the slots to activate.
Related Functions
Found 2 other functions taking a
i2s_pdm_rx_slot_config_t
argument:
Function
Description
i2s_pdm_rx_set_slot()
i2s_channel_reconfig_pdm_rx_slot()
Reconfigure the I2S slot for PDM RX mode
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
i2s_pdm.h:72
}
i2s_pdm_rx_slot_config_t
;
i2s_pdm.h:88
static
esp_err_t
i2s_pdm_rx_set_slot
(
i2s_chan_handle_t
handle
,
const
i2s_pdm_rx_slot_config_t
*
slot_cfg
)
i2s_pdm.c:377
i2s_pdm_rx_set_slot()
i2s_pdm_rx_set_slot()::slot_cfg
memcpy
(
&
(
pdm_rx_cfg
->
slot_cfg
)
,
slot_cfg
,
sizeof
(
i2s_pdm_rx_slot_config_t
)
)
;
i2s_pdm.c:396
i2s_pdm_rx_set_slot()
esp_err_t
i2s_channel_reconfig_pdm_rx_slot
(
i2s_chan_handle_t
handle
,
const
i2s_pdm_rx_slot_config_t
*
slot_cfg
)
i2s_pdm.c:560
i2s_channel_reconfig_pdm_rx_slot()
i2s_channel_reconfig_pdm_rx_slot()::slot_cfg
}
i2s_pdm_rx_slot_config_t
;
i2s_pdm.h:88
i2s_pdm_rx_slot_config_t
i2s_pdm_rx_slot_config_t
slot_cfg
;
/*!< PDM RX slot configurations, can be generated by macro I2S_PDM_RX_SLOT_DEFAULT_CONFIG */
i2s_pdm.h:123
i2s_pdm_rx_config_t
i2s_pdm_rx_config_t::slot_cfg
esp_err_t
i2s_channel_reconfig_pdm_rx_slot
(
i2s_chan_handle_t
handle
,
const
i2s_pdm_rx_slot_config_t
*
slot_cfg
)
;
i2s_pdm.h:174
i2s_channel_reconfig_pdm_rx_slot()
i2s_channel_reconfig_pdm_rx_slot()::slot_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::slot_cfg
i2s_pdm_rx_config_t
i2s_pdm.h:123
i2s_channel_reconfig_pdm_rx_slot()::slot_cfg
i2s_channel_reconfig_pdm_rx_slot()
i2s_pdm.h:174
i2s_pdm_rx_set_slot()::slot_cfg
i2s_pdm_rx_set_slot()
i2s_pdm.c:377
i2s_channel_reconfig_pdm_rx_slot()::slot_cfg
i2s_channel_reconfig_pdm_rx_slot()
i2s_pdm.c:560
Lifecycle
from
examples
All items filtered out
All items filtered out