forked from M-Labs/artiq
1
0
Fork 0

doc: precision about dds batch time

This commit is contained in:
Sebastien Bourdeauducq 2015-08-08 23:05:00 +08:00
parent 16af80ca3e
commit 671a3f1833
1 changed files with 5 additions and 2 deletions

View File

@ -33,13 +33,16 @@ class DDSBus:
@kernel @kernel
def batch_enter(self): def batch_enter(self):
"""Starts a DDS command batch. All DDS commands are buffered """Starts a DDS command batch. All DDS commands are buffered
after this call, until ``batch_exit`` is called.""" after this call, until ``batch_exit`` is called.
The time of execution of the DDS commands is the time of entering the
batch (as closely as hardware permits)."""
syscall("dds_batch_enter", now_mu()) syscall("dds_batch_enter", now_mu())
@kernel @kernel
def batch_exit(self): def batch_exit(self):
"""Ends a DDS command batch. All buffered DDS commands are issued """Ends a DDS command batch. All buffered DDS commands are issued
on the bus, and FUD is pulsed at the time the batch started.""" on the bus."""
syscall("dds_batch_exit") syscall("dds_batch_exit")