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()
|
self.on()
|
||||||
delay(duration)
|
delay(duration)
|
||||||
self.off()
|
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