Home
last modified time | relevance | path

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

/hal_st-2.7.6/audio/microphone/
DOpenPDMFilter.c164 void Open_PDM_Filter_Init(TPDMFilter_InitStruct *Param) in Open_PDM_Filter_Init() argument
169 uint8_t decimation = Param->Decimation; in Open_PDM_Filter_Init()
172 Param->Coef[i] = 0; in Open_PDM_Filter_Init()
173 Param->bit[i] = 0; in Open_PDM_Filter_Init()
179 Param->OldOut = Param->OldIn = Param->OldZ = 0; in Open_PDM_Filter_Init()
180Param->LP_ALFA = (Param->LP_HZ != 0 ? (uint16_t) (Param->LP_HZ * 256 / (Param->LP_HZ + Param->Fs /… in Open_PDM_Filter_Init()
181Param->HP_ALFA = (Param->HP_HZ != 0 ? (uint16_t) (Param->Fs * 256 / (2 * 3.14159 * Param->HP_HZ + in Open_PDM_Filter_Init()
183 Param->FilterLen = decimation * SINCN; in Open_PDM_Filter_Init()
196 div_const = sub_const * Param->MaxVolume / 32768 / FILTER_GAIN; in Open_PDM_Filter_Init()
219 …Open_PDM_Filter_64(uint8_t* data, uint16_t* dataOut, uint16_t volume, TPDMFilter_InitStruct *Param) in Open_PDM_Filter_64() argument
[all …]