mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
ad9914: use new rtio_output() API
This commit is contained in:
parent
f74dda639f
commit
2549e623c1
@ -84,7 +84,7 @@ class AD9914:
|
||||
|
||||
@kernel
|
||||
def write(self, addr, data):
|
||||
rtio_output(now_mu(), self.bus_channel, addr, data)
|
||||
rtio_output((self.bus_channel << 8) | addr, data)
|
||||
delay_mu(self.write_duration_mu)
|
||||
|
||||
@kernel
|
||||
|
Loading…
Reference in New Issue
Block a user