def openWith(self, accel = True, gyro = True, temp = True, cycle = False, cycleFreq = 0x00):
        """!
        Trun on device with configurable sensors into wake up mode
        
        @param accel: True - Enable accelerometer
        @param gyro: True - Enable gyroscope
        @param temp: True - Enable Thermometer
        @param cycle: True - Enable cycle wake-up mode
        @param cycleFreq: Cycle wake-up frequency, this value can be chosen:

          @see VAL_PWR_MGMT_2_LP_WAKE_CTRL_1_25HZ is default
          @see VAL_PWR_MGMT_2_LP_WAKE_CTRL_5HZ
          @see VAL_PWR_MGMT_2_LP_WAKE_CTRL_20HZ
          @see VAL_PWR_MGMT_2_LP_WAKE_CTRL_40HZ
        """
        val_pwr_2 = 0x00
        #disable Accel sensor
        if accel == False:
            val_pwr_2 = val_pwr_2 | self.VAL_PWR_MGMT_2_STBY_XA
            val_pwr_2 = val_pwr_2 | self.VAL_PWR_MGMT_2_STBY_YA
            val_pwr_2 = val_pwr_2 | self.VAL_PWR_MGMT_2_STBY_ZA

        #disable Gyro sensor
        if gyro == False:
            val_pwr_2 = val_pwr_2 | self.VAL_PWR_MGMT_2_STBY_XG
            val_pwr_2 = val_pwr_2 | self.VAL_PWR_MGMT_2_STBY_YG
            val_pwr_2 = val_pwr_2 | self.VAL_PWR_MGMT_2_STBY_ZG

        val_pwr_1 = 0x00
        #disable temp sensor
        if temp == False:
            val_pwr_1 = val_pwr_1 | self.VAL_PWR_MGMT_1_OFF_TEMP

        #cycle mode
        if cycle == True:
            val_pwr_1 = val_pwr_1 | self.VAL_PWR_MGMT_1_ON_CYCLE
            val_pwr_2 = val_pwr_2 | cycleFreq

        self._sendCmd( self.REG_PWR_MGMT_2, val_pwr_2 )
        self._sendCmd( self.REG_PWR_MGMT_1, val_pwr_1 )