<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _ctrl_meas(self):
 """Value to be written to the device's ctrl_meas register """

        ctrl_meas = (self.overscan_temperature << 5)
        ctrl_meas += (self.overscan_pressure << 2)
        ctrl_meas += self.mode
        return ctrl_meas