(self, level=1)
Set break: Controls TXD. When active, no transmitting is possible.
Set break: Controls TXD. When active, no transmitting is possible.
Set break : Controls TXD . When active no transmitting is possible .
def setBreak(self, level=1):
        """Set break: Controls TXD. When active, no transmitting is possible."""
        if self.fd is None: raise portNotOpenError
        if level:
            fcntl.ioctl(self.fd, TIOCSBRK)
        else:
            fcntl.ioctl(self.fd, TIOCCBRK)
def setBreak ( self , level = 1 ) : if self . fd is None : raise portNotOpenError if level : fcntl . ioctl ( self . fd , TIOCSBRK ) else : fcntl . ioctl ( self . fd , TIOCCBRK )