From 6d34eb3bb00c6cc774b383c36c480be1f6906ab8 Mon Sep 17 00:00:00 2001 From: Garrett Date: Mon, 11 Nov 2019 14:40:16 -0600 Subject: [PATCH] updated docstrings for set_cfr1() in ad9910.py --- artiq/coredevice/ad9910.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/artiq/coredevice/ad9910.py b/artiq/coredevice/ad9910.py index 5ffe93110..0168568fe 100644 --- a/artiq/coredevice/ad9910.py +++ b/artiq/coredevice/ad9910.py @@ -360,6 +360,9 @@ class AD9910: (:const:`RAM_DEST_FTW`, :const:`RAM_DEST_POW`, :const:`RAM_DEST_ASF`, :const:`RAM_DEST_POWASF`). :param ram_enable: RAM mode enable. + :param manual_osk_external: Enable OSK pin control in manual OSK mode. + :param osk_enable: Enable OSK mode. + :param select_auto_osk: Select manual or automatic OSK mode """ self.write32(_AD9910_REG_CFR1, (ram_enable << 31) | @@ -630,6 +633,10 @@ class AD9910: @kernel def set_frequency(self, frequency): + """Set the value stored to the AD9910's FTW register + + :param frequency: frequency to be stored, in Hz + """ return self.set_ftw(self.frequency_to_ftw(frequency)) @kernel