Lines Matching refs:parity
74 parity: enable parity checking
85 parity = PARITY_NONE,
103 if parity == PARITY_NONE:
104 self.parity = 'N'
105 elif parity == PARITY_EVEN:
106 self.parity = 'E'
107 elif parity == PARITY_ODD:
108 self.parity = 'O'
109 elif parity == PARITY_MARK:
110 self.parity = 'M'
111 elif parity == PARITY_SPACE:
112 self.parity = 'S'
118 self._config(self.portstr, self.baud, self.parity,
127 def _config(self, port, baud, parity, data, stop, retry,
130 , " BAUD= ", baud, " PARITY= ", parity
137 self.parity, self.bytesize, self.stop, self.retry,
195 , self.baud, self.parity, self.bytesize, self.stop,