Searched refs:BMP5_SET_BITSLICE (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/sensor/bosch/bmp581/ |
D | bmp581.c | 68 odr = BMP5_SET_BITSLICE(odr, BMP5_DEEP_DISABLE, BMP5_DEEP_DISABLED); in set_power_mode() 93 odr = BMP5_SET_BITSLICE(odr, BMP5_DEEP_DISABLE, BMP5_DEEP_DISABLED); in set_power_mode() 279 osr_val = BMP5_SET_BITSLICE(osr_val, BMP5_PRESS_OS, oversampling); in set_osr_config() 280 osr_val = BMP5_SET_BITSLICE(osr_val, BMP5_PRESS_EN, press_en); in set_osr_config() 283 osr_val = BMP5_SET_BITSLICE(osr_val, BMP5_PRESS_OS, oversampling); in set_osr_config() 284 osr_val = BMP5_SET_BITSLICE(osr_val, BMP5_PRESS_EN, press_en); in set_osr_config() 318 odr_val = BMP5_SET_BITSLICE(odr_val, BMP5_ODR, odr->val1); in set_odr_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() 453 dsp_config[1] = BMP5_SET_BITSLICE(dsp_config[1], BMP5_SET_IIR_PRESS, iir->val2); in set_iir_config()
|
D | bmp581.h | 32 #define BMP5_SET_BITSLICE(regvar, bitname, val) \ macro
|