Lines Matching refs:stopbits
232 STOPBITS = (STOPBITS_ONE, STOPBITS_ONE_POINT_FIVE, STOPBITS_TWO)
243 stopbits=STOPBITS_ONE, # number of stop bits
273 self.stopbits = stopbits
300 return [(str(b), b) for b in self.STOPBITS]
380 def setStopbits(self, stopbits):
382 if stopbits not in self.STOPBITS: raise ValueError("Not a valid stop bit size: %r" % (stopbits,))
383 self._stopbits = stopbits
390 stopbits = property(getStopbits, setStopbits, doc="Stop bits setting")
488 _SETTINGS = ('baudrate', 'bytesize', 'parity', 'stopbits', 'xonxoff',
508 return "%s<id=0x%x, open=%s>(port=%r, baudrate=%r, bytesize=%r, parity=%r, stopbits=%r, timeout=%r, xonxoff=%r, rtscts=%r, dsrdtr=%r)" % (
516 self.stopbits,