code: def swo_stop(self):
          
          res = self._dll.JLINKARM_SWO_Control(enums.JLinkSWOCommands.STOP, 0)
          if res < 0:
              raise errors.JLinkException(res)
  
          return None
docs: Stops collecting SWO data.
  
          Args:
            self (JLink): the ``JLink`` instance
  
          Returns:
            ``None``
  
          Raises:
            JLinkException: on error