Searched refs:ser (Results 1 – 3 of 3) sorted by relevance
33 ser = serial.Serial(serial_port, serial_baudrate)34 ser.isOpen()41 ser.write("enable\r".encode())45 count = ser.inWaiting()48 data = ser.read()52 ser.close()
57 DEFINE_MM_REG_WRITE(ser, DW_SPI_REG_SER, 32)61 DEFINE_MM_REG_WRITE(ser, DW_SPI_REG_SER, 8)
619 def monitor_serial(self, ser, halt_fileno, harness): argument626 ser_fileno = ser.fileno()635 ser.flush()637 while ser.isOpen():642 ser.close()649 serial_line = ser.readline()653 ser.close()668 ser.close()793 ser = serial.Serial(814 ser.flush()[all …]