forked from M-Labs/artiq
devices/rtio_core: add dummy counter
This commit is contained in:
parent
5c228f9114
commit
a55018953d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user