parameters: (self, context, offset, numbytes)
return_statement: return data
docstring: Generic function to get a parameter
  
          :param context: context (address) to set
          :param offset: offset address to set
          :param numbytes: number of bytes to get
          :return: value read
docstring_summary: Generic function to get a parameter
docstring_tokens: Generic function to get a parameter
function: def _get_protocol(self, context, offset, numbytes):
          """
          Generic function to get a parameter
  
          :param context: context (address) to set
          :param offset: offset address to set
          :param numbytes: number of bytes to get
          :return: value read
          """
          self.logger.debug("JTAGICE3::get {:d} byte(s) from context {:d} offset {:d}".format(numbytes, context, offset))
          resp = self.jtagice3_command_response([self.CMD_GET, self.CMD_VERSION0, context, offset, numbytes])
          status, data = self.peel_response(resp)
          if not status:
              msg = "Unable to GET (failure code 0x{:02X})".format(data[0])
              raise Jtagice3ResponseError(msg, data)
          return data
function_tokens: def _get_protocol ( self , context , offset , numbytes ) : self . logger . debug ( "JTAGICE3::get {:d} byte(s) from context {:d} offset {:d}" . format ( numbytes , context , offset ) ) resp = self . jtagice3_command_response ( [ self . CMD_GET , self . CMD_VERSION0 , context , offset , numbytes ] ) status , data = self . peel_response ( resp ) if not status : msg = "Unable to GET (failure code 0x{:02X})" . format ( data [ 0 ] ) raise Jtagice3ResponseError ( msg , data ) return data