Home
last modified time | relevance | path

Searched refs:pdm_filter (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/audio/
Dmpxxdtyy.c53 TPDMFilter_InitStruct *pdm_filter = &data->pdm_filter[0]; in sw_filter_lib_init() local
75 pdm_filter[i].LP_HZ = audio_freq / 2U; in sw_filter_lib_init()
76 pdm_filter[i].HP_HZ = 10; in sw_filter_lib_init()
77 pdm_filter[i].Fs = audio_freq; in sw_filter_lib_init()
78 pdm_filter[i].Out_MicChannels = cfg->channel.req_num_chan; in sw_filter_lib_init()
79 pdm_filter[i].In_MicChannels = cfg->channel.req_num_chan; in sw_filter_lib_init()
80 pdm_filter[i].Decimation = factor; in sw_filter_lib_init()
81 pdm_filter[i].MaxVolume = 64; in sw_filter_lib_init()
83 Open_PDM_Filter_Init(&data->pdm_filter[i]); in sw_filter_lib_init()
89 int sw_filter_lib_run(TPDMFilter_InitStruct *pdm_filter, in sw_filter_lib_run() argument
[all …]
Dmpxxdtyy.h28 TPDMFilter_InitStruct pdm_filter[2]; member
34 int sw_filter_lib_run(TPDMFilter_InitStruct *pdm_filter,
Dmpxxdtyy-i2s.c31 TPDMFilter_InitStruct *pdm_filter = &data->pdm_filter[0]; in mpxxdtyy_i2s_read() local
45 sw_filter_lib_run(pdm_filter, pdm_block, pcm_block, pdm_size, in mpxxdtyy_i2s_read()