def strace_clear(self, handle):
        """Clears the trace event specified by the given handle.

        Args:
          self (JLink): the ``JLink`` instance.
          handle (int): handle of the trace event.

        Returns:
          ``None``

        Raises:
          JLinkException: on error.
        """
        data = ctypes.c_int(handle)
        res = self._dll.JLINK_STRACE_Control(enums.JLinkStraceCommand.TRACE_EVENT_CLR, ctypes.byref(data))
        if res < 0:
            raise errors.JLinkException('Failed to clear STRACE event.')

        return None
def strace_clear ( self , handle ) : data = ctypes . c_int ( handle ) res = self . _dll . JLINK_STRACE_Control ( enums . JLinkStraceCommand . TRACE_EVENT_CLR , ctypes . byref ( data ) ) if res < 0 : raise errors . JLinkException ( 'Failed to clear STRACE event.' ) return None
Clears the trace event specified by the given handle.

        Args:
          self (JLink): the ``JLink`` instance.
          handle (int): handle of the trace event.

        Returns:
          ``None``

        Raises:
          JLinkException: on error.