MCPcopy Create free account
hub / github.com/ARMmbed/DAPLink / write

Method write

test/tests/test_serial.py:137–140  ·  view source on GitHub ↗

Write serial port data in the background

(self, data)

Source from the content-addressed store, hash-verified

135 return self.raw_serial.read(length)
136
137 def write(self, data):
138 """Write serial port data in the background"""
139 func = functools.partial(self.raw_serial.write, data)
140 self._queue.put(func)
141
142 def set_read_timeout(self, timeout):
143 """Set timeout for read operations"""

Callers 2

new_session_with_baudMethod · 0.95
test_serialFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected