Lines Matching full:iir
36 static int set_iir_config(const struct sensor_value *iir, const struct device *dev);
419 static int set_iir_config(const struct sensor_value *iir, const struct device *dev) in set_iir_config() argument
424 CHECKIF((iir == NULL) | (dev == NULL)) { in set_iir_config()
436 /* IIR configuration is writable only during STANDBY mode(as per datasheet) */ in set_iir_config()
439 /* update IIR config */ in set_iir_config()
447 /* Put IIR filtered values in data registers */ in set_iir_config()
451 /* Configure IIR filter */ in set_iir_config()
452 dsp_config[1] = iir->val1; in set_iir_config()
453 dsp_config[1] = BMP5_SET_BITSLICE(dsp_config[1], BMP5_SET_IIR_PRESS, iir->val2); in set_iir_config()
455 /* Set IIR configuration */ in set_iir_config()
459 LOG_DBG("Failed to configure IIR filter."); in set_iir_config()