Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/bosch/bmp581/
Dbmp581.c440 uint8_t dsp_config[2]; in set_iir_config() local
442 ret = i2c_burst_read_dt(&conf->i2c, BMP5_REG_DSP_CONFIG, dsp_config, 2); in set_iir_config()
448 dsp_config[0] = BMP5_SET_BITSLICE(dsp_config[0], BMP5_SHDW_SET_IIR_TEMP, BMP5_ENABLE); in set_iir_config()
449 dsp_config[0] = BMP5_SET_BITSLICE(dsp_config[0], BMP5_SHDW_SET_IIR_PRESS, BMP5_ENABLE); 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()
456 ret = i2c_burst_write_dt(&conf->i2c, BMP5_REG_DSP_CONFIG, dsp_config, 2); in set_iir_config()