mirror of
https://github.com/lowobservable/coax.git
synced 2026-02-01 06:33:02 +00:00
20 lines
528 B
Python
20 lines
528 B
Python
"""
|
|
coax.interface
|
|
~~~~~~~~~~~~~~
|
|
"""
|
|
|
|
class Interface:
|
|
def reset(self):
|
|
raise NotImplementedError
|
|
|
|
def transmit(self, words, repeat_count=None, repeat_offset=1):
|
|
raise NotImplementedError
|
|
|
|
def receive(self, length=None, timeout=None):
|
|
raise NotImplementedError
|
|
|
|
def transmit_receive(self, transmit_words, transmit_repeat_count=None,
|
|
transmit_repeat_offset=1, receive_length=None,
|
|
receive_timeout=None):
|
|
raise NotImplementedError
|