ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcdcsSLX Class Reference

#include <ngcdcsSLX.hpp>

Public Member Functions

 ngcdcsSLX ()
 Constructor.
 
virtual ~ngcdcsSLX ()
 
char * ErrMsg ()
 Return global error message.
 
void ReadMode (int mode)
 Preset read-out mode.
 
int ReadMode ()
 Return read-out mode.
 
char DCR ()
 Return detector control register.
 
void MCR (int value)
 Preset MCR value.
 
char MCR ()
 Return multiplexer control register.
 
void FullFrame ()
 Full frame read-out.
 
void ClearWin ()
 Clear window mappings.
 
void ClearCfg ()
 Clear configuration flags.
 
void Configure ()
 Configure shift register instructions.
 
int Key (const char *name, const char *value)
 Parse setup key.
 
void Preset (ngcdcs_slxcfg_t &cfg)
 Preset with external configuration.
 
void GetDim (int *sx, int *sy, int *nx, int *ny)
 
int DCOL ()
 
int RCOL ()
 
void DROW (ngcdcs_slxrow_t *w)
 
void RROW (ngcdcs_slxrow_t *w)
 

Public Attributes

ngcdcs_shift_t shift [ngcdcsSHIFT_MAX]
 Pennding shift register instructions.
 
int fullFrame
 Full frame readout.
 
int enabled
 SELEX interface enabled.
 

Protected Member Functions

void RM2REG (int nextSelect=0)
 Push read-out mode to shift register.
 
void MCR2REG (int nextSelect=0)
 Push MCR to shift register.
 
void WDR2REG (int nextSelect=0)
 Push WDR to shift register.
 
void WRR2REG (int nextSelect=0)
 Push WRR to shift register.
 
void WDRALL ()
 Enable all pixels in WDR.
 
void WRRALL ()
 Enable all pixels in WRR.
 
void WDRCLR ()
 Clear all pixels in WDR.
 
void WRRCLR ()
 Clear all pixels in WRR.
 
void WDRROW (int sy, int ny)
 Map window to row data registers.
 
void WRRROW (int sy, int ny)
 Map window to row reset registers.
 
void WDRCOL_ON ()
 Enable all data-columns in WDR.
 
void WRRCOL_ON ()
 Enable all reset-columns in WDR.
 
void WDRCOL_OFF ()
 Disable all data-columns in WDR.
 
void WRRCOL_OFF ()
 Disable all reset-columns in WDR.
 
void WDRCOL_ON (int n)
 Enable data-column in WDR.
 
void WRRCOL_ON (int n)
 Enable reset-column in WDR.
 
void WDRCOL_OFF (int n)
 Disable data-column in WDR.
 
void WRRCOL_OFF (int n)
 Disable reset-column in WDR.
 

Protected Attributes

int shiftReg [ngcbSEQ_SHRAM_SIZE]
 Shift register.
 
int shiftRegSize
 Number of bits in shift register.
 

Detailed Description

SELEX programming interface class

Constructor & Destructor Documentation

◆ ngcdcsSLX()

ngcdcsSLX::ngcdcsSLX ( )
inline

Constructor.

◆ ~ngcdcsSLX()

virtual ngcdcsSLX::~ngcdcsSLX ( )
inlinevirtual

Member Function Documentation

◆ ClearCfg()

void ngcdcsSLX::ClearCfg ( )
inline

Clear configuration flags.

◆ ClearWin()

void ngcdcsSLX::ClearWin ( )
inline

Clear window mappings.

◆ Configure()

void ngcdcsSLX::Configure ( )
inline

Configure shift register instructions.

◆ DCOL()

int ngcdcsSLX::DCOL ( )
inline

◆ DCR()

char ngcdcsSLX::DCR ( )
inline

Return detector control register.

◆ DROW()

void ngcdcsSLX::DROW ( ngcdcs_slxrow_t * w)
inline

◆ ErrMsg()

char * ngcdcsSLX::ErrMsg ( )
inline

Return global error message.

◆ FullFrame()

void ngcdcsSLX::FullFrame ( )
inline

Full frame read-out.

◆ GetDim()

void ngcdcsSLX::GetDim ( int * sx,
int * sy,
int * nx,
int * ny )
inline

◆ Key()

int ngcdcsSLX::Key ( const char * name,
const char * value )
inline

Parse setup key.

◆ MCR() [1/2]

char ngcdcsSLX::MCR ( )
inline

Return multiplexer control register.

◆ MCR() [2/2]

void ngcdcsSLX::MCR ( int value)
inline

Preset MCR value.

◆ MCR2REG()

void ngcdcsSLX::MCR2REG ( int nextSelect = 0)
inlineprotected

Push MCR to shift register.

◆ Preset()

void ngcdcsSLX::Preset ( ngcdcs_slxcfg_t & cfg)
inline

Preset with external configuration.

◆ RCOL()

int ngcdcsSLX::RCOL ( )
inline

◆ ReadMode() [1/2]

int ngcdcsSLX::ReadMode ( )
inline

Return read-out mode.

◆ ReadMode() [2/2]

void ngcdcsSLX::ReadMode ( int mode)
inline

Preset read-out mode.

◆ RM2REG()

void ngcdcsSLX::RM2REG ( int nextSelect = 0)
inlineprotected

Push read-out mode to shift register.

◆ RROW()

void ngcdcsSLX::RROW ( ngcdcs_slxrow_t * w)
inline

◆ WDR2REG()

void ngcdcsSLX::WDR2REG ( int nextSelect = 0)
inlineprotected

Push WDR to shift register.

◆ WDRALL()

void ngcdcsSLX::WDRALL ( )
inlineprotected

Enable all pixels in WDR.

◆ WDRCLR()

void ngcdcsSLX::WDRCLR ( )
inlineprotected

Clear all pixels in WDR.

◆ WDRCOL_OFF() [1/2]

void ngcdcsSLX::WDRCOL_OFF ( )
inlineprotected

Disable all data-columns in WDR.

◆ WDRCOL_OFF() [2/2]

void ngcdcsSLX::WDRCOL_OFF ( int n)
inlineprotected

Disable data-column in WDR.

◆ WDRCOL_ON() [1/2]

void ngcdcsSLX::WDRCOL_ON ( )
inlineprotected

Enable all data-columns in WDR.

◆ WDRCOL_ON() [2/2]

void ngcdcsSLX::WDRCOL_ON ( int n)
inlineprotected

Enable data-column in WDR.

◆ WDRROW()

void ngcdcsSLX::WDRROW ( int sy,
int ny )
inlineprotected

Map window to row data registers.

◆ WRR2REG()

void ngcdcsSLX::WRR2REG ( int nextSelect = 0)
inlineprotected

Push WRR to shift register.

◆ WRRALL()

void ngcdcsSLX::WRRALL ( )
inlineprotected

Enable all pixels in WRR.

◆ WRRCLR()

void ngcdcsSLX::WRRCLR ( )
inlineprotected

Clear all pixels in WRR.

◆ WRRCOL_OFF() [1/2]

void ngcdcsSLX::WRRCOL_OFF ( )
inlineprotected

Disable all reset-columns in WDR.

◆ WRRCOL_OFF() [2/2]

void ngcdcsSLX::WRRCOL_OFF ( int n)
inlineprotected

Disable reset-column in WDR.

◆ WRRCOL_ON() [1/2]

void ngcdcsSLX::WRRCOL_ON ( )
inlineprotected

Enable all reset-columns in WDR.

◆ WRRCOL_ON() [2/2]

void ngcdcsSLX::WRRCOL_ON ( int n)
inlineprotected

Enable reset-column in WDR.

◆ WRRROW()

void ngcdcsSLX::WRRROW ( int sy,
int ny )
inlineprotected

Map window to row reset registers.

Member Data Documentation

◆ enabled

int ngcdcsSLX::enabled

SELEX interface enabled.

◆ fullFrame

int ngcdcsSLX::fullFrame

Full frame readout.

◆ shift

ngcdcs_shift_t ngcdcsSLX::shift[ngcdcsSHIFT_MAX]

Pennding shift register instructions.

◆ shiftReg

int ngcdcsSLX::shiftReg[ngcbSEQ_SHRAM_SIZE]
protected

Shift register.

◆ shiftRegSize

int ngcdcsSLX::shiftRegSize
protected

Number of bits in shift register.


The documentation for this class was generated from the following file: