/* NOTE! You cannot set background to 1 without setting temperature and pressure You cannot set both temperature and pressure when background mode is disabled  */
int16_t setOpMode_3param(uint8_t background, uint8_t temperature, uint8_t pressure)
/* NOTE! You cannot set background to 1 without setting temperature and pressure You cannot set both temperature and pressure when background mode is disabled  */
int16_t setOpMode_3param(uint8_t background, uint8_t temperature, uint8_t pressure)
{
    uint8_t opMode = (background & DPS310__LSB) << 2U |
                     (temperature & DPS310__LSB) << 1U |
                     (pressure & DPS310__LSB);
    return setOpMode(opMode);
}