code: def get_stopbits():
      
      stopbits = []
      s = pyserial.Serial()
      for name, value in s.getSupportedStopbits():
          stopbits.append((value, name,))
      return tuple(stopbits)
docs: Returns supported stop bit lengths in a Django-like choices tuples.