Searched refs:stopbits (Results 1 - 7 of 7) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
H A Dserialutil.py243 stopbits=STOPBITS_ONE, # number of stop bits
273 self.stopbits = 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") variable in class:SerialBase
488 _SETTINGS = ('baudrate', 'bytesize', 'parity', 'stopbits', 'xonxoff',
508 return "%s<id=0x%x, open=%s>(port=%r, baudrate=%r, bytesize=%r, parity=%r, stopbits
[all...]
H A Dsermsdos.py75 stopbits: number of stopbits
86 stopbits = STOPBITS_ONE,
114 self.stop = str(stopbits)
H A Dserialjava.py96 elif stopbits == STOPBITS_ONE_POINT_FIVE:
101 raise ValueError("unsupported number of stopbits: %r" % self._stopbits)
248 stopbits=STOPBITS_ONE, # number of stopbits variable in class:.Serial
H A Drfc2217.py1163 backup = self.serial.stopbits
1165 stopbits = struct.unpack("!B", suboption[2:3])[0]
1166 if stopbits != 0:
1167 self.serial.stopbits = RFC2217_REVERSE_STOPBIT_MAP[stopbits]
1171 self.serial.stopbits = backup
1174 self.logger.info("%s stop bits: %s" % (stopbits and 'set' or 'get', self.serial.stopbits))
1177 struct.pack("!B", RFC2217_STOPBIT_MAP[self.serial.stopbits])
H A Dserialposix.py371 # setup stopbits
690 stopbits=STOPBITS_ONE, # number of stop bits
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/
H A Dminiterm.py220 self.serial.stopbits))
429 self.serial.stopbits = serial.STOPBITS_ONE
432 self.serial.stopbits = serial.STOPBITS_TWO
435 self.serial.stopbits = serial.STOPBITS_ONE_POINT_FIVE
661 miniterm.serial.stopbits,
/external/autotest/client/cros/i2c/
H A Dusb_to_i2c.py115 stopbits=serial.STOPBITS_ONE,

Completed in 356 milliseconds