Exemple #1
0
 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]
Exemple #2
0
 def operands(self):
     """Timing Program Arguments"""
     return pychronos.arrayview(self, offset=0x40, size=4, count=8)
Exemple #3
0
 def program(self):
     """Timing Program"""
     return pychronos.arrayview(self,
                                offset=self.__progstart,
                                size=4,
                                count=256)
Exemple #4
0
 def wlDelay(self):
     """Write Leveling Delay"""
     return pychronos.arrayview(self, offset=0x00, size=4, count=4)
Exemple #5
0
 def whiteBalance(self):
     """White Balance Matrix"""
     return pychronos.arrayview(self, offset=0xF0, size=4, count=3)
Exemple #6
0
 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)
Exemple #7
0
 def text1fonts(self):
     """Textbox 1 Font Bitmaps"""
     return pychronos.arrayview(self, offset=0x3000, size=2, count=4096)
Exemple #8
0
 def __regbytes(offset, size, docstring):
     return property(fget=lambda self: pychronos.arrayview(
         self, offset=offset, size=1, count=size),
                     doc=docstring)