def set_clock(self, frequency):
        """Set the frequency for JTAG and SWD in Hz

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

        This function is safe to call before connect is called.