Files
lowobservable.coax/pycoax/coax/interface.py
Andrew Kay d50f4f5030 wip
2020-03-18 21:26:36 -05:00

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