Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
clcamdefines.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BINCODE_BIN   0
 Set this to keep the row in the CCD Readout Register (CCD Binning with the next row) More...
 
#define BINCODE_DISCARD   6
 Set this to read the row out of the CCD and discard it. More...
 
#define BINCODE_SUM   4
 Set this to read the row out of the CCD and SUM in the current FPGA row. More...
 
#define BINCODE_SEND   5
 Set this to read ou the row, sum in FPGA, send results to PC (a new row is started in the FPGA) More...
 
#define CL_MAX_BINSETS   8
 The maximum number of bin sets supported by the camera. More...
 
#define MAX_VERT_BIN_SETS   CL_MAX_BINSETS
 
#define MAX_HOR_BIN_SETS   CL_MAX_BINSETS
 
#define MAX_NUM_BIN_SEQS   16
 THe maximum number of binning sequences. More...
 
#define MAX_PIXELS_PER_MSG   4096
 Maximum number of pixels in a image data message. More...
 
#define CCDSP_AREA_READ   0
 Area Read message/data. More...
 
#define CCDSP_BINNED_READ   1
 Binned Read message/data. More...
 
#define CCDSP_MASKED_READ_VERT   2
 V masked Read message/data. More...
 
#define CCDSP_MASKED_READ_HORI   3
 H masked Read message/data. More...
 
#define CCDSP_CUSTOM_READ   4
 Custom Read message/data. More...
 
#define CCDSP_AREA8_READ   5
 8-Bit Pixel Area Read message/data More...
 
#define MAX_GAIN_SETTINGS   4
 maximum gain settings supported in camera More...
 
#define MAX_NUM_MULTIPLE_ROI   16
 maximum number of multiple windows a multiple-ROI camera can have (used for the size of the message). More...
 
#define CCDSP_MAX_ERROR_LENGTH   256
 Maximum length of an error message. More...
 
#define SIMTYPE_NONE   0
 use real CCD data More...
 
#define SIMTYPE_DC   1
 each read pixel from camera is replaced with DC value in mnSimParams[0] More...
 
#define SIMTYPE_RAMP   2
 pixels are incremented by one starting at zero More...
 
#define SIMTYPE_GRADIENT_X   3
 pixels are scaled from mnSimParams[0] to mnSimParams[1] by mnSimParams[2] in X dimension More...
 
#define SIMTYPE_GRADIENT_Y   4
 pixels are scaled from mnSimParams[0] to mnSimParams[1] by mnSimParams[2] in X dimension More...
 
#define SIMTYPE_CROSSHAIR   5
 two values, cross hairs DC value in mnSimParams[0], value 2 in mnSimParams[1], every [2] in X, [3] in Y More...
 
#define SIMTYPE_RANDOM   6
 gaussian, mean is mnSimParams[0], std is 0.1 * mnSimParams[1] More...
 
#define TRIGMODEONEPERIMAGE   0
 one trigger required per image More...
 
#define TRIGMODEONEPERGROUP   1
 one trigger required per group More...
 

Detailed Description

This file holds defines and constants used by the clcamiface DLL and the underlying camera interface protocol.

Author
Critical Link LLC
Date
6/16/2009
  o  0
  | /       Copyright (c) 2009
 (CL)---o   Critical Link, LLC
   \
    O

Macro Definition Documentation

◆ BINCODE_BIN

#define BINCODE_BIN   0

Set this to keep the row in the CCD Readout Register (CCD Binning with the next row)

◆ BINCODE_DISCARD

#define BINCODE_DISCARD   6

Set this to read the row out of the CCD and discard it.

◆ BINCODE_SEND

#define BINCODE_SEND   5

Set this to read ou the row, sum in FPGA, send results to PC (a new row is started in the FPGA)

◆ BINCODE_SUM

#define BINCODE_SUM   4

Set this to read the row out of the CCD and SUM in the current FPGA row.

◆ CCDSP_AREA8_READ

#define CCDSP_AREA8_READ   5

8-Bit Pixel Area Read message/data

◆ CCDSP_AREA_READ

#define CCDSP_AREA_READ   0

Area Read message/data.

◆ CCDSP_BINNED_READ

#define CCDSP_BINNED_READ   1

Binned Read message/data.

◆ CCDSP_CUSTOM_READ

#define CCDSP_CUSTOM_READ   4

Custom Read message/data.

◆ CCDSP_MASKED_READ_HORI

#define CCDSP_MASKED_READ_HORI   3

H masked Read message/data.

◆ CCDSP_MASKED_READ_VERT

#define CCDSP_MASKED_READ_VERT   2

V masked Read message/data.

◆ CCDSP_MAX_ERROR_LENGTH

#define CCDSP_MAX_ERROR_LENGTH   256

Maximum length of an error message.

◆ CL_MAX_BINSETS

#define CL_MAX_BINSETS   8

The maximum number of bin sets supported by the camera.

◆ MAX_GAIN_SETTINGS

#define MAX_GAIN_SETTINGS   4

maximum gain settings supported in camera

◆ MAX_HOR_BIN_SETS

#define MAX_HOR_BIN_SETS   CL_MAX_BINSETS

◆ MAX_NUM_BIN_SEQS

#define MAX_NUM_BIN_SEQS   16

THe maximum number of binning sequences.

◆ MAX_NUM_MULTIPLE_ROI

#define MAX_NUM_MULTIPLE_ROI   16

maximum number of multiple windows a multiple-ROI camera can have (used for the size of the message).

◆ MAX_PIXELS_PER_MSG

#define MAX_PIXELS_PER_MSG   4096

Maximum number of pixels in a image data message.

◆ MAX_VERT_BIN_SETS

#define MAX_VERT_BIN_SETS   CL_MAX_BINSETS

◆ SIMTYPE_CROSSHAIR

#define SIMTYPE_CROSSHAIR   5

two values, cross hairs DC value in mnSimParams[0], value 2 in mnSimParams[1], every [2] in X, [3] in Y

◆ SIMTYPE_DC

#define SIMTYPE_DC   1

each read pixel from camera is replaced with DC value in mnSimParams[0]

◆ SIMTYPE_GRADIENT_X

#define SIMTYPE_GRADIENT_X   3

pixels are scaled from mnSimParams[0] to mnSimParams[1] by mnSimParams[2] in X dimension

◆ SIMTYPE_GRADIENT_Y

#define SIMTYPE_GRADIENT_Y   4

pixels are scaled from mnSimParams[0] to mnSimParams[1] by mnSimParams[2] in X dimension

◆ SIMTYPE_NONE

#define SIMTYPE_NONE   0

use real CCD data

◆ SIMTYPE_RAMP

#define SIMTYPE_RAMP   2

pixels are incremented by one starting at zero

◆ SIMTYPE_RANDOM

#define SIMTYPE_RANDOM   6

gaussian, mean is mnSimParams[0], std is 0.1 * mnSimParams[1]

◆ TRIGMODEONEPERGROUP

#define TRIGMODEONEPERGROUP   1

one trigger required per group

◆ TRIGMODEONEPERIMAGE

#define TRIGMODEONEPERIMAGE   0

one trigger required per image