code: def set_output_data_rate(self, output_data_rate):
          
          # self.standby()
          register = self.MMA8452Q_Register['CTRL_REG1']
          self.board.i2c_read_request(self.address, register, 1,
                                      Constants.I2C_READ | Constants.I2C_END_TX_MASK,
                                      self.data_val, Constants.CB_TYPE_DIRECT)
  
  
          control_reg = self.wait_for_read_result()
          control_reg = control_reg[self.data_start]
  
          control_reg &= 0xC7  # Mask out data rate bits
          control_reg |= (output_data_rate << 3)
          self.board.i2c_write_request(self.address, [register, control_reg])
docs: Set the device output data rate.
          Device must be in standby before calling this function
          @param output_data_rate: Desired data rate
          @return: No return value.