code: def set_clock(self, frequency):
          
          try:
              self._link.set_clock(frequency)
          except DAPAccess.Error as exc:
              six.raise_from(self._convert_exception(exc), exc)
docs: Set the frequency for JTAG and SWD in Hz
  
          This function is safe to call before connect is called.