2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

devices/rtio_core: add dummy counter

This commit is contained in:
Sebastien Bourdeauducq 2014-09-13 19:37:57 +08:00
parent 5c228f9114
commit a55018953d

View File

@ -37,3 +37,15 @@ class RTIOOut(AutoContext):
self.on()
delay(duration)
self.off()
class RTIOCounter(AutoContext):
parameters = "channel"
@kernel
def count_rising(self, duration):
pass
@kernel
def sync(self):
return 42