SmartSnippets DA1459x SDK
Data Fields

PDM interface mode configuration. More...

#include <hw_pdm.h>

Data Fields

HW_PDM_MODE config_mode
 
HW_PDM_DI_DELAY in_delay
 
HW_PDM_DO_DELAY out_delay
 
HW_PDM_CHANNEL_CONFIG output_channel
 
bool swap_channel
 
uint32_t clk_frequency
 
HW_PDM_DATA_DIRECTION data_direction
 

Detailed Description

PDM interface mode configuration.

Field Documentation

◆ clk_frequency

uint32_t hw_pdm_config_t::clk_frequency

PDM_CLK frequency 62.5 kHz - 4 MHz. It should be noted that the audio quality degrades when the oversampling ratio is less than 64. For an 8 kHz sample rate the minimum recommended PDM clock rate is 64 x 8 kHz = 512 kHz.

◆ config_mode

HW_PDM_MODE hw_pdm_config_t::config_mode

PDM master/slave mode

◆ data_direction

HW_PDM_DATA_DIRECTION hw_pdm_config_t::data_direction

PDM data direction

◆ in_delay

HW_PDM_DI_DELAY hw_pdm_config_t::in_delay

PDM input delay

◆ out_delay

HW_PDM_DO_DELAY hw_pdm_config_t::out_delay

PDM output delay

◆ output_channel

HW_PDM_CHANNEL_CONFIG hw_pdm_config_t::output_channel

PDM output channel

◆ swap_channel

bool hw_pdm_config_t::swap_channel

PDM swap channels this parameter is applicable only when 2 channel are used


The documentation for this struct was generated from the following file: