code: def program_pixel_reg(self, enable_receiver=True):
          
  
          self._clear_strobes()
  
          # enable receiver it work only if pixel register is enabled/clocked
          self['PIXEL_RX'].set_en(enable_receiver)
  
          px_size = len(self['PIXEL_REG'][:])  # get the size
          self['SEQ']['SHIFT_IN'][0:px_size] = self['PIXEL_REG'][:]  # this will be shifted out
          self['SEQ']['PIXEL_SHIFT_EN'][0:px_size] = bitarray(px_size * '1')  # this is to enable clock
  
          self._run_seq(px_size + 1)
docs: Send the pixel register to the chip and store the output.
  
          Loads the values of self['PIXEL_REG'] onto the chip.
          Includes enabling the clock, and loading the Control (CTR)
          and DAC shadow registers.
  
          if(enable_receiver), stores the output (by byte) in
          self['DATA'], retrievable via `chip['DATA'].get_data()`.