/* Set the low pass filter configuration. 
This function sets the low pass filter configuration and reset the filter output. */
void Ifx_LowPassPt1F32_init(Ifx_LowPassPt1F32 *filter, const Ifx_LowPassPt1F32_Config *config)
/* Set the low pass filter configuration. 
This function sets the low pass filter configuration and reset the filter output. */
void Ifx_LowPassPt1F32_init(Ifx_LowPassPt1F32 *filter, const Ifx_LowPassPt1F32_Config *config)
{
    float32 tStar;
    float32 T = 1 / config->cutOffFrequency;
    tStar       = 1 / (T / config->samplingTime + 1);
    filter->a   = config->gain * tStar;
    filter->b   = tStar;
    filter->out = 0;
}