doc: fix comment about when and how DDS init should be done. Closes #353

This commit is contained in:
Sebastien Bourdeauducq 2016-03-29 11:10:53 +08:00
parent 3ed852e077
commit ce57794e7f
1 changed files with 7 additions and 1 deletions

View File

@ -140,7 +140,13 @@ class _DDSGeneric:
def init(self):
"""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)
@kernel