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:
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