mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-05 09:46:36 +08:00
doc: fix comment about when and how DDS init should be done. Closes #353
This commit is contained in:
parent
b04b5c8239
commit
74b71e5f64
@ -130,7 +130,13 @@ class _DDSGeneric:
|
|||||||
def init(self):
|
def init(self):
|
||||||
"""Resets and initializes the DDS channel.
|
"""Resets and initializes the DDS channel.
|
||||||
|
|
||||||
The runtime does this for all channels upon core device startup."""
|
This needs to be done for each DDS channel before it can be used, and
|
||||||
|
it is recommended to use the startup kernel for this.
|
||||||
|
|
||||||
|
This function cannot be used in a batch; the correct way of
|
||||||
|
initializing multiple DDS channels is to call this function
|
||||||
|
sequentially with a delay between the calls. 500us provides a good
|
||||||
|
timing margin."""
|
||||||
dds_init(now_mu(), self.bus_channel, self.channel)
|
dds_init(now_mu(), self.bus_channel, self.channel)
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
|
Loading…
Reference in New Issue
Block a user