/external/chromium_org/tools/telemetry/third_party/pyserial/serial/urlhandler/ |
protocol_rfc2217.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 11 from serial.rfc2217 import Serial
|
protocol_hwgrep.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 14 import serial namespace 15 import serial.tools.list_ports namespace 17 class Serial(serial.Serial): 18 """Just inherit the native Serial port implementation and patch the open function.""" 23 serial.Serial.setPort(self, self.fromURL(value)) 25 serial.Serial.setPort(self, value [all...] |
protocol_loop.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 18 from serial.serialutil import * 33 """Serial port implementation that simulates a loop back connection in plain software.""" 118 """Read size bytes from the serial port. If a timeout is set it may 143 """Output the given string over the serial port. Can block if the 239 # assemble Serial class with the platform specific implementation and the base 246 class Serial(LoopbackSerial, FileLike): 250 class Serial(LoopbackSerial, io.RawIOBase): 257 s = Serial('loop://')
|
protocol_socket.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 11 # TCP/IP to serial port converters that do not support RFC 2217. 20 from serial.serialutil import * 36 """Serial port implementation for plain sockets.""" 135 """Read size bytes from the serial port. If a timeout is set it may 166 """Output the given string over the serial port. Can block if the 248 # assemble Serial class with the platform specific implementation and the base 255 class Serial(SocketSerial, FileLike): 259 class Serial(SocketSerial, io.RawIOBase): 266 s = Serial('socket://localhost:7000' [all...] |
/external/arduino/hardware/arduino/cores/arduino/ |
HardwareSerial.cpp | 2 HardwareSerial.cpp - Hardware serial library for Wiring 36 // Define constants and variables for buffering incoming serial data. We're 132 #warning Serial(0) is on USB interface 283 HardwareSerial Serial(&rx_buffer, &UBRRH, &UBRRL, &UCSRA, &UCSRB, &UDR, RXEN, TXEN, RXCIE, UDRE, U2X); 285 HardwareSerial Serial(&rx_buffer, &UBRR0H, &UBRR0L, &UCSR0A, &UCSR0B, &UDR0, RXEN0, TXEN0, RXCIE0, UDRE0, U2X0); 287 #warning no serial port defined (port 0) 289 #error no serial port defined (port 0)
|
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/ |
sermsdos.py | 41 import serial.serialutil namespace 66 class Serial(serialutil.FileLike): 145 """Read num bytes from serial port""" 153 """Write string to serial port""" 194 return string.join(( "<Serial>: ", self.portstr 199 s = Serial(0)
|
serialcli.py | 2 # Python Serial Port Extension for Win32, Linux, BSD, Jython and .NET/Mono 3 # serial driver for .NET/Mono (IronPython), .NET >= 2 12 from serial.serialutil import * 27 """Serial port implementation for .NET/Mono.""" 134 # ignore errors. can happen for unplugged USB serial devices 153 """Read size bytes from the serial port. If a timeout is set it may 170 """Output the given string over the serial port.""" 241 # assemble Serial class with the platform specific implementation and the base 248 class Serial(IronSerial, FileLike): 252 class Serial(IronSerial, io.RawIOBase) [all...] |
serialjava.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 4 # module for serial IO for Jython and JavaComm 10 from serial.serialutil import * 53 """Serial port class, implemented with Java Communications API and 68 self.sPort = portId.open("python serial module", 10) 153 """Read size bytes from the serial port. If a timeout is set it may 169 """Output the given string over the serial port.""" 228 # assemble Serial class with the platform specific implementation and the base 235 class Serial(JavaSerial, FileLike): 239 class Serial(JavaSerial, io.RawIOBase) [all...] |
serialwin32.py | 2 # Python Serial Port Extension for Win32, Linux, BSD, Jython 3 # serial driver for win32 12 from serial import win32 14 from serial.serialutil import * 23 """Serial port implementation for Win32 based on ctypes.""" 243 """Read size bytes from the serial port. If a timeout is set it may 278 """Output the given string over the serial port.""" 432 # assemble Serial class with the platform specific implementation and the base 439 class Serial(Win32Serial, FileLike): 443 class Serial(Win32Serial, io.RawIOBase) [all...] |
serialposix.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 4 # module for serial IO for POSIX compatible systems, like Linux 13 # references: http://www.easysw.com/~mike/serial/serial.html 16 from serial.serialutil import * 141 # Tiger or above can support arbitrary serial speeds 220 also add the device name of the serial port and where the 221 counting starts for the first serial port. 222 e.g. 'first serial port: /dev/ttyS0' 275 """Serial port class POSIX implementation. Serial port configuration is [all...] |
rfc2217.py | 3 # Python Serial Port Extension for Win32, Linux, BSD, Jython 7 # protocol to access serial ports over TCP/IP and allows setting the baud rate, 23 # - http://www.ibiblio.org/pub/Linux/system/serial/ sredird-2.2.2.tar.gz 62 from serial.serialutil import * 363 """Serial port implementation for RFC 2217 remote serial ports.""" 570 Read size bytes from the serial port. If a timeout is set it may 587 Output the given string over the serial port. Can block if the [all...] |
/device/generic/goldfish/qemud/ |
qemud.c | 20 * - qemud communicates with the emulator program through a single serial 28 * emulator <==serial==> qemud <---> /dev/socket/qemud <-+--> client1 299 #define MAX_EVENTS (MAX_CHANNELS+1) /* each channel + the serial fd */ 1029 /** SERIAL CONNECTION STATE 1032 ** used on the serial port connection. 1051 /* The Serial object receives data from the serial port, 1056 * the serial port. 1058 typedef struct Serial { 1059 FDHandler* fdhandler; /* used to monitor serial port fd * 1238 Serial serial[1]; member in struct:Multiplexer [all...] |