def program(self, value): aview = pychronos.arrayview(self, offset=self.__progstart, size=4, count=256) for i in range(0, len(value)): aview[i] = value[i]
def operands(self): """Timing Program Arguments""" return pychronos.arrayview(self, offset=0x40, size=4, count=8)
def program(self): """Timing Program""" return pychronos.arrayview(self, offset=self.__progstart, size=4, count=256)
def wlDelay(self): """Write Leveling Delay""" return pychronos.arrayview(self, offset=0x00, size=4, count=4)
def whiteBalance(self): """White Balance Matrix""" return pychronos.arrayview(self, offset=0xF0, size=4, count=3)
def logo(self): """Logo Image Buffer""" ## TODO: I think the FPGA register addressing is wrong for the logo buffer. return pychronos.arrayview(self, offset=0x5000, size=1, count=16384)
def text1fonts(self): """Textbox 1 Font Bitmaps""" return pychronos.arrayview(self, offset=0x3000, size=2, count=4096)
def __regbytes(offset, size, docstring): return property(fget=lambda self: pychronos.arrayview( self, offset=offset, size=1, count=size), doc=docstring)