def repeat(self): """Width of glitch in cycles (approx = 8.3 ns * width)""" resp = self.usb.readCtrl(self.USB_GLITCH_SETTINGS, 0, 8)[4:8] return unpackuint32(resp)
def samples(self): """Number of samples to store.""" resp = self.usb.readCtrl(self.USB_SAMPLES, 0, 4) return unpackuint32(resp)
def ext_offset(self): """Offset from rising edge of trigger & when glitch gets inserted, approx = 8.3 ns * ext_offset""" resp = self.usb.readCtrl(self.USB_GLITCH_SETTINGS, 0, 8)[0:4] return unpackuint32(resp)