From: Dan White Date: Sat, 9 Jun 2012 16:45:21 +0000 (-0500) Subject: Allow direct word setting for testing X-Git-Tag: calibrations~55 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=4ce87023023b6d3a05ce77d514383792e632a5a1;p=430.git Allow direct word setting for testing --- diff --git a/python-lib/usbio.py b/python-lib/usbio.py index 03c56d9..52c08e8 100644 --- a/python-lib/usbio.py +++ b/python-lib/usbio.py @@ -329,6 +329,10 @@ class OTA(object): """Raw OTA settings register.""" return self._word + @word.setter + def word(self, v): + self._word = intbv(v, max=2**16) + @property def cint(self): """Connect integrating C if 1."""