pdv_dependent.h

Go to the documentation of this file.
00001 
00005 #ifndef _PDV_DEPENDENT_H_
00006 #define _PDV_DEPENDENT_H_
00007 
00008 #define CAMNAMELEN      128
00009 #define FNAMELEN        256
00010 #define MAXINIT 1024
00011 #define OLDMAXINIT 256
00012 #define KBSFNAMELEN 64
00013 #define CAMCLASSLEN 64
00014 
00015 #define MAXSER          32
00016 #define MAXXIL          32
00017 
00018 /* just a simple overload of file name structure elements to save space.... */
00019 #define DD_P_CAMERA_DOWNLOAD_FILE dd_p->camera_download_file
00020 #define DD_P_CAMERA_COMMAND_FILE dd_p->camera_command_file
00021 
00022 
00023 #define MAX_INTLV_TAPS 8
00024 
00025 /* this is supposed to be 32 bytes to match old KBS stuff - in the long run it doesn't really matter */
00026 #define FULL 1
00027 
00028 /* CLSIM control interface */
00029 typedef struct _sim_control {
00030 
00031 
00032     union
00033     {
00034         struct {
00035             /* cfga*/
00036             unsigned int linescan:1;
00037             unsigned int lvcont:1;
00038             unsigned int rven:1;
00039             unsigned int uartloop:1;
00040             unsigned int smallok:1;
00041             unsigned int intlven:1;
00042             unsigned int firstfc:1;
00043             unsigned int datacnt:1;
00044             /* cfgb */
00045             unsigned int dvskip:4;
00046             unsigned int dvmode:4;
00047             /* cfgc */
00048             unsigned int led:1;
00049             unsigned int trigsrc:1;
00050             unsigned int trigpol:1;
00051             unsigned int trigframe:1;
00052             unsigned int trigline:1;
00053         } Cfg;
00054         struct {
00055             u_char cfga;
00056             u_char cfgb;
00057             u_char cfgc;
00058         } b;
00059     } flags;
00060 
00061 
00062     u_char  Exsyncdly;
00063     u_char  FillA;
00064     u_char  FillB;
00065     u_char  taps;
00066 
00067     /* if hblank is specified, hcntmax varies with hactv in library routines */
00068     unsigned short hblank;
00069     unsigned short Hcntmax;
00070     unsigned short dummy;
00071 
00072     /* if vgap is specified, vcntmax varies with vactv in library routines */
00073 
00074     unsigned int   vblank; /* vactv + vgap = Vcntmax */
00075     unsigned int   Vcntmax;
00076 
00077     unsigned short Hfvstart;
00078     unsigned short Hfvend;
00079     unsigned short Hlvstart;
00080     unsigned short Hlvend;
00081     unsigned short Hrvstart;
00082     unsigned short Hrvend;
00083 
00084     float   pixel_clock;
00085     double  si570_nominal;
00086 
00087 } ClSimControl;
00088 
00089 /* General purpose reorder descriptor */
00090 /* tap starts at startx, starty */
00091 /* sample at dx,dy for length pixels */
00092 /* go to startx, starty + stridex,stridey */
00093 
00094 #define PDV_DIM_END -1
00095 #define PDV_MAXTAPS 8
00096 
00097 typedef struct _tap_descriptor {
00098     int startx; /* PDV_DIM_END means at end of row */
00099     int starty; /* PDV_DIM_END means at last row */
00100     int dx;
00101     int dy;
00102     int length;
00103     int stridex; /* PDV_DIM_END means at end of row */
00104     int stridey; /* PDV_DIM_END means at last row */
00105 } PdvInterleaveTap;
00106 
00117 typedef struct _PdvDependent
00118 {
00119     /* note: size of dependent must be DEPSIZE (currently 4096) */
00120     int     width;
00121     int     height;
00122     int     depth;
00123     int     imagesize;
00124     int     extdepth;
00125     int     slop;
00126     int     hwpad;
00127     int     byteswap;
00128     int     image_offset;
00129     int     interlace;
00130     int     shutter_speed;
00131     int     shutter_speed_frontp;
00132     int     shutter_speed_min;
00133     int     shutter_speed_max;
00134     int     default_shutter_speed;
00135     int     aperture;
00136     int     aperture_min;
00137     int     aperture_max;
00138     int     default_aperture;
00139     int     gain_frontp;
00140     int     gain_min;
00141     int     gain_max;
00142     int     default_gain;
00143     int     offset_frontp;
00144     int     offset_min;
00145     int     offset_max;
00146     int     continuous;
00147     int     pclock_speed;
00148     int     hwinterlace;
00149     int     inv_shutter;
00150     int     trig_pulse;
00151     int     dis_shutter;
00152     int     mode_cntl_norm;
00153     int     trigdiv; /* was dma_throttle */
00154     int     maxdmasize;
00155     int     direction;
00156     int     cameratest;
00157     int     genericsim;
00158     int     sim_width;
00159     int     sim_height;
00160     int     line_delay;
00161     int     frame_delay;
00162     int     frame_height;
00163     int     fv_once;
00164     int     enable_dalsa;
00165     int     lock_shutter;
00166     int     camera_shutter_timing;
00167     int     camera_continuous;
00168     int     camera_binning;
00169     int     camera_data_rate;
00170     int     camera_download;
00171     int     get_gain;
00172     int     get_offset;
00173     int     set_gain;
00174     int     set_offset;
00175     int     default_offset;
00176     int     first_open;
00177     int     last_close;
00178     int     pingpong_varsize;
00179     int     image_depth;
00180     int     header_type;
00181     int     interlace_offset;
00182     int     get_aperture;
00183     int     set_aperture;
00184     int     timeout_multiplier;
00185     int     rgb30; /* was pdv_type */
00186     int     sim_speed;
00187     int     swinterlace;
00188     int     started;
00189     int     foi_unit;
00190     int     disable_mdout;
00191     int     fixedlen;
00192     int     framesync_mode; /* was saved_speed */
00193     int     camera_shutter_speed;
00194     int     dual_channel;
00195     int     gain;
00196     int     level;
00197     int     gendata;
00198     int     skip;
00199     int     shortswap;
00200     int     markras;
00201     int     markbin;
00202     int     rascnt;
00203     int     markrasx;
00204     int     markrasy;
00205     int     xilinx_rev;
00206     int     xilinx_opts;
00207     int     util2;
00208     int     shift;
00209     int     mask;
00210     int     linerate;
00211     int     header_size;
00212     int     photo_trig;
00213     int     fieldid_trig;
00214     int     acquire_mult;
00215     int     timeout;
00216     int     sim_enable;
00217     int     startup_delay; /* was xilinx_clk */
00218     u_char *last_raw;
00219     u_char *last_image;
00220     u_char  datapath_reg;
00221     u_char  config_reg;
00222     u_char  xilinx_flag[MAXXIL];
00223     u_char  xilinx_value[MAXXIL];
00224     char    cameratype[CAMNAMELEN];
00225     char    rbtfile[FNAMELEN];
00226     char    cfgname[FNAMELEN];
00227     char    foi_remote_rbtfile[FNAMELEN];
00228     char    interlace_module[FNAMELEN];
00229     char    serial_init[OLDMAXINIT];  /* moved to Edtinfo; not used EXCEPT pdv_flshow; can overload when that goes away */
00230     char    foi_init[OLDMAXINIT];
00231     char    xilinx_init[OLDMAXINIT];
00232     char    serial_exposure[MAXSER];
00233     char    serial_gain[MAXSER];
00234     char    serial_offset[MAXSER];
00235     char    serial_prefix[MAXSER];
00236     char    serial_binning[MAXSER];
00237     char    RESERVED1[MAXSER];
00238     char    RESERVED2[MAXSER];
00239     char    camera_model[MAXSER];
00240     char    camera_info[MAXSER*2];
00241     char    serial_response[MAXSER];
00242     char    RESERVED4[MAXSER];
00243     char    serial_term[MAXSER];
00244     char    idstr[FNAMELEN];
00245     int     serial_timeout;
00246     int     serial_respcnt;
00247     int     serial_format;
00248     int     strobe_count;
00249     int     strobe_interval;
00250     int     strobe_enabled;
00251     int     sel_mc4;
00252     int     mc4;
00253     int     serial_baud;
00254     int     user_timeout;
00255     int     user_timeout_set;
00256     int     cam_width;              /* camera's real width/height, */
00257     int     cam_height;             /* for ref. in case of ROI */
00258     int     hskip;                      /* horiz pixels to skip */
00259     int     hactv;                      /* horiz. active pixels */
00260     int     vskip;                      /* vert. pixels to skip */
00261     int     vactv;                      /* vert. active pixels */
00262     u_int   RESERVEDUINT1;      /* was clr_cont_end */
00263     u_int   RESERVEDUINT2;      /* was clr_cont_start */
00264     u_int   RESERVEDUINT3;      /* was clr_cont_count */
00265     u_int   cnt_continuous;
00266     u_int   sim_ctl;    /* bits for simulator */
00267     int     started_continuous;
00268     int     kbs_red_row_first;
00269     int     kbs_green_pixel_first;
00270     ClSimControl cls;
00271     char    camera_download_file[KBSFNAMELEN];
00272     char    camera_command_file[KBSFNAMELEN];
00273     char    camera_class[CAMCLASSLEN];
00274     int     double_rate;
00275     int     force_single;
00276     char    serial_trigger[MAXSER];
00277     int     variable_size;
00278     int     header_offset;
00279     int     header_dma;
00280     int     header_position;
00281     int     pause_for_serial;
00282     int     roi_enabled;
00283     int     binx;
00284     int     biny;
00285     int     serial_mode;
00286     int     inv_ptrig;
00287     int     inv_fvalid;
00288     int     cl_cfg;
00289     int     cl_data_path;
00290     int     htaps;
00291     int     vtaps;
00292     int     pulnix;
00293     int     dbl_trig;
00294     int     cameralink;
00295     int     start_delay;
00296     u_int   serial_waitc ;
00297     int     frame_period ;
00298     int     frame_timing ;
00299     int     register_wrap ;
00300     char   *serial_binit ;   /* moved to Edtinfo; not used EXCEPT pdv_flshow; can overload when that goes away */
00301     int    fval_done;
00302     int    cl_hmax;
00303     int    serial_init_delay ; /* moved to Edtinfo; not used EXCEPT pdv_flshow; can overload when that goes away */
00304     int    mode16;
00305     /* new for config editor */
00306     int     n_intlv_taps; /* camera taps for interleave not necessarily same as CL channels */
00307     int     cl_channels;
00308     PdvInterleaveTap intlv_taps[MAX_INTLV_TAPS];
00309 
00310     /* NOTE: rename/reuse RESERVEDn variables before creating new ones */
00311     /* Keep the same order as much as possible */
00312 
00313     int flushdma;
00314     int startdma;
00315     int enddma;
00316     int cl_cfg2;
00317     u_char irig_raw;
00318     u_char irig_offset; /* seconds to add to irig */
00319     u_char irig_slave;
00320 
00321 }       PdvDependent;
00322 
00323 typedef PdvDependent pdv_methods;
00324 
00325 #define KODAK_AIA_MCL            1        /* mode control (typ. CC1) pulse-width */
00326 #define AIA_MCL                  1        /* same as KODAK */
00327 #define IRC_160                  2        /* IRC 160 */
00328 #define AIA_SERIAL               3        /* trigger pulse (1 millisecond) */
00329 #define KODAK_AIA_SER            3        /* dup */
00330 #define AIA_SER                  3        /* dup */
00331 #define KODAK_XHF_INTLC          4        /* horizontal interlace */
00332 #define PDV_BYTE_INTLV           4        /* horizontal interlace */
00333 #define KODAK_XHF_SKIP           5        /* subsample */
00334 #define PDV_BYTE_INTLV_SKIP      5        /* subsample */
00335 #define IMAGE_MERGE              6        /* merge */
00336 #define PDV_FIELD_INTLC          6        /* merge */
00337 #define HW_ONLY                  7
00338 #define ES10_WORD_INTLC          8        /* need to deinterlace words */
00339 #define PDV_WORD_INTLV           8        /* need to deinterlace words */
00340 #define PDV_BGGR                 9        /* expermental */
00341 #define PDV_BGGR_DUAL            10        /* expermental */
00342 #define PDV_BGGR_WORD            11        /* expermental */
00343 #define PDV_BYTE_TEST1           12        /* temporary */
00344 #define PDV_BYTE_TEST2           13        /* temporary */
00345 #define PDV_BYTE_TEST3           14        /* temporary */
00346 #define KODAK_SER_14I            21        /* Kodak chgd their AIA syntax */
00347 #define HAM_4880_SER             22        /* AIA serial controlled camera */
00348 #define PULNIX_TM1000            23        /* AIA_MCL controlled camera */
00349 #define PULNIX_TM9700            24        /* AIA_MCL controlled camera */
00350 #define KODAK_DIG_GAIN           25        /* AIA_MCL w/digital gain */
00351 #define FOI_REMOTE_AIA           26        /* AIA Remote Camera Interface */
00352 #define KODAK_AIA_SER_CTRL       27        /* AIA serial but use shutter ctrl */
00353 #define AIA_SER_CTRL             27
00354 #define DALSA_CONTINUOUS         28        /* DALSA D71024T continuous mode */
00355 #define HAM_4880_8X              29        /* AIA serial controlled camera */
00356 #define HAM_4742_95              30        /* AIA serial controlled camera */
00357 #define PROGRES                  31
00358 #define AIA_MC4                  32        /* MCL gain only for photonics gain */
00359 #define SMD_SERIAL               33        /* SMD binary serial method */
00360 #define AIA_SERIAL_ES40          34        /* Kodak modified AIA */
00361 #define PDV_DALSA_4CH_INTLV      35        /* Dalsa four channel interleave (frame) */
00362 #define SPECINST_SERIAL          36        /* Spectral Instruments */
00363 #define PDV_INVERT_RIGHT_INTLV   37        /* even pixels are right half, inverted */
00364 #define PDV_DALSA_2CH_INTLV      PDV_INVERT_RIGHT_INTLV
00365 #define PDV_WORD_INTLV_ODD       38        /* sameas WORD_INTLV but odd ln 1st */
00366 #define PDV_DDCAM                39        /* EDT/Delta Design camera */
00367 #define PDV_DALSA_LS             40
00368 #define PDV_HEADER_BEFORE        41        /* header data comes before img data */
00369 #define PDV_HEADER_AFTER         42        /* header data comes after img data */
00370 #define PDV_HEADER_WITHIN        43        /* header data is within def'd img */
00371 /* size - use hdr offs to dtmn where */
00372 #define PDV_WORD_INTLV_HILO      44        /* deintrlace words, high/low */
00373 #define PDV_SPECINST_4PORT_INTLV 45        /* Spectral Instruments 4 port intlv */
00374 #define PDV_QUADRANT_INTLV       46        /* quadrant intlv */
00375 #define PDV_ILLUNIS_INTLV        47        /* illunis quadrant intlv */
00376 #define PDV_ILLUNIS_BGGR         48        /* illunis quadrant intlv + bggr */
00377 
00378 #define PDV_ES10_BGGR            49        /* Roper Horizontal Intlc w/ bayer */
00379 #define PDV_ES10_WORD_BGGR       50        /* Roper Horizontal Intlc w/ bayer */
00380 #define PDV_ES10_WORD_ODD_BGGR   51        /* Roper Horizontal Intlc w/ bayer */
00381 #define AIA_MCL_100US            52        /* AIA_MCL w/100 microsec decade ctr */
00382 #define PDV_PIRANHA_4CH_INTLV    53        /* Piranha four channel interleave */
00383 #define PDV_FMRATE_ENABLE        54        /* Frame Rate Enable flag */
00384 #define PDV_FVAL_ADJUST          55        /* Frame Valid Adjust flag */
00385 #define BASLER_202K              56        /* Basler A202K */
00386 #define DUNCAN_2131              57        /* Basler A202K */
00387 #define PDV_EVEN_RIGHT_INTLV     58        /* even pixels are right half */
00388 #define PDV_DALSA_2M30_INTLV     PDV_EVEN_RIGHT_INTLV
00389 #define PDV_INV_RT_INTLV_24_12   59        /* clink 24-12 DALSA_2CH_INLTV */
00390 #define PDV_INTLV_24_12          60        /* clink 24-12  */
00391 #define PDV_INTLV_1_8_MSB7       61        /* one-bit , pixel 0 at lsb */
00392 #define PDV_INTLV_1_8_MSB0       62        /* one-bit , pixel 0 at msb */
00393 #define PDV_INTLV_BGR_2_RGB      63        /* BGR -> RGB */
00394 #define PDV_INTLV_USER           64        /* look up  */
00395 #define SU320_SERIAL             65        /* Sensor Unlmited 320M serial expose method */
00396 #define BASLER202K_SERIAL        66        /* Basler 202K serial expose method */
00397 #define ADIMEC_SERIAL            67        /* Adimec serial expose method */
00398 #define TIMC1001_SERIAL          68        /* TI MC1001 serial expose method */
00399 #define PTM6710_SERIAL           69        /* Pulnix TM-6710 serial expose method */
00400 #define PTM1020_SERIAL           70        /* Pulnix TM-1020 serial expose method */
00401 #define AIA_TRIG                 71        /* new: explicit triggered mode, sets mode_cntl automatically */
00402 #define PDV_PIRANHA_4CH_HWINTLV  72        /* piranha 4 channel deinterleave IN HARDWARE */
00403 #define PDV_INVERT_RIGHT_BGGR_INTLV 73        /* even pixels are right half, inverted BAYER pattern*/
00404 
00405 #define PDV_LINE_INTLV           74
00406 #define PDV_GENERIC_INTLV        75
00407 #define PDV_LINE_INTLV_P3_8X4    76
00408 #define TOSHIBA_SERIAL           77
00409 #define COHU_SERIAL              78
00410 
00411 #define PDV_WORD_INTLV_TOPBOTTOM 80
00412 #define PDV_BYTE_INTLV_TOPBOTTOM 81
00413 #define PDV_WORD_INTLV_INOUT     82
00414 #define PDV_BYTE_INTLV_INOUT     83
00415 
00416 #define PDV_DALSA_LS_4CH_INTLV       84        /* Dalsa four channel interleave (linescan) */
00417 #define PDV_WORD_INTLV_HILO_LINE     85     /*PCO egde mode A*/
00418 #define PDV_WORD_INTLV_TOPMID_LINE   86   /*PCO edge mode D */
00419 #define PDV_BYTE_INTLV_MIDTOP_LINE   87   /*hamamatsu OrcaFlash4.0 */
00420 #define PDV_WORD_INTLV_MIDTOP_LINE   88   /*hamanatsu OrcaFlash4.0 */
00421 #define PDV_INTLV_10BIT_8TAP_PACKED  89
00422 #define PDV_INTLV_10BIT_8TAP_TO_8BIT 90
00423 #define PDV_INTLV_20BAND             91   /* custom 21 ... */ 
00424 #define PDV_INTLV_21BAND             92   /* and 21-band   */
00425 
00426 #define PDV_QUADRANT2_INTLV          93   /* 4 port deintlv, TopLeft, TopMiddle, MiddleLeft, MIddleMiddle */
00427 #define PDV_QUADRANT3_INTLV          94   /* 4 port deintlv, like QUADRANT_INTLV but starting in the middle, iterating out */
00428 
00429 #define KODAK_RDM_SINGLE          1
00430 #define KODAK_RDM_DUAL            2
00431 
00432 #define PDV_FRAMESYNC_OFF             0
00433 #define PDV_FRAMESYNC_ON              1
00434 #define PDV_FRAMESYNC_EMULATE_TIMEOUT 2
00435 
00436 /* serial_format */
00437 #define SERIAL_ASCII              0
00438 #define SERIAL_BINARY             1
00439 #define SERIAL_PULNIX_1010        2
00440 #define SERIAL_ASCII_HEX          3
00441 #define SERIAL_BASLER_FRAMING     4
00442 #define SERIAL_DUNCAN_FRAMING     5
00443 #define SERIAL_ASCII_NOSPACE      6
00444 #define SERIAL_TOSHIBA            7
00445 
00446 /* SMD registers common to all models (we hope!) */
00447 #define SMD_READ_CAMTYPE          0xc3
00448 #define SMD_READ_FWREV            0xc5
00449 #define SMD_RESET                 0x80
00450 
00451 /* camera type, returned from SMD_READ_CAMTYPE register */
00452 #define SMD_TYPE_4M4              0x14
00453 #define SMD_TYPE_BT25             0x38
00454 #define SMD_TYPE_1M30P            0x41
00455 #define SMD_TYPE_1M15P            0x11
00456 #define SMD_TYPE_6M3P             0x33
00457 
00458 /* from SMD 4M4 Camera Interface Specification */
00459 #define SMD_4M4_WRITE_R1          0x81
00460 #define SMD_4M4_WRITE_R2          0x82
00461 #define SMD_4M4_WRITE_R3          0x84
00462 #define SMD_4M4_WRITE_R4          0x88
00463 #define SMD_4M4_READ_R1           0xc1
00464 #define SMD_4M4_READ_R2           0xc2
00465 #define SMD_4M4_READ_R3           0xc4
00466 #define SMD_4M4_READ_R4           0xc8
00467 #define SMD_4M4_READ_FRAMERATE    0xca
00468 
00469 /* 4M4 (and 1M30P) reg bits (only partial, see manual for complete list) */
00470 #define SMD_4M4_R1_INTEGRATE      0x00        /* integrate mode, 0=ext, 1=int */
00471 #define SMD_4M4_R1_TRIG           0x02        /* trigger mode, 0=ext, 1=cont */
00472 #define SMD_4M4_R1_BINMSK         0x0c        /* bin mode, 00=1x1, 01=2x2, 10=4x4 */
00473 #define SMD_4M4_R1_GAIN           0x10        /* gain -- 0 = 1x, 1 = 4x */
00474 #define SMD_4M4_BIN_2X2           0x04
00475 #define SMD_4M4_BIN_4X4           0x08
00476 
00477 /* SMD 1M30P is pretty much the same as 4M4 */
00478 #define SMD_1M30P_REG_W_ADC_RESET 0x00
00479 #define SMD_1M30P_REG_W_LS_OFFSET 0x02
00480 #define SMD_1M30P_REG_W_MS_OFFSET 0x03
00481 #define SMD_1M30P_REG_W_LS_GAIN   0x05
00482 #define SMD_1M30P_REG_W_MS_GAIN   0x06
00483 
00484 #define SMD_1M30P_REG_R_LS_OFFSET 0x42
00485 #define SMD_1M30P_REG_R_MS_OFFSET 0x43
00486 #define SMD_1M30P_REG_R_LS_GAIN   0x45
00487 #define SMD_1M30P_REG_R_MS_GAIN   0x46
00488 
00489 #define SMD_1M30P_REG_W_CAM_RESET 0x80
00490 #define SMD_1M30P_REG_W_CONTROL   0x82
00491 #define SMD_1M30P_REG_W_BINNING   0x85
00492 #define SMD_1M30P_REG_W_INTEG0    0x8A
00493 #define SMD_1M30P_REG_W_INTEG1    0x8B
00494 #define SMD_1M30P_REG_W_INTEG2    0x8C
00495 #define SMD_1M30P_REG_W_FRAME0    0x8D
00496 #define SMD_1M30P_REG_W_FRAME1    0x8E
00497 #define SMD_1M30P_REG_W_FRAME2    0x8F
00498 
00499 #define SMD_1M30P_REG_R_CONTROL   0xc2
00500 
00501 
00502 /* from SMD BT25 Camera Interface Specification */
00503 #define SMD_BT25_WRITE_R1         0x81
00504 #define SMD_BT25_WRITE_R2         0x82
00505 #define SMD_BT25_WRITE_R3         0x84
00506 #define SMD_BT25_WRITE_R4         0x88
00507 #define SMD_BT25_READ_R1          0xc1
00508 #define SMD_BT25_READ_R2          0xc2
00509 #define SMD_BT25_READ_R3          0xc4
00510 #define SMD_BT25_READ_R4          0xc8
00511 #define SMD_BT25_READ_FRAMERATE   0xca
00512 
00513 /* from DALSTAR 1M15P Camera Interface Specification */
00514 #define SMD_1M15P_WRITE_R1        0x82
00515 #define SMD_1M15P_WRITE_R2        0x84
00516 #define SMD_1M15P_WRITE_R3        0x88
00517 #define SMD_1M15P_READ_R1         0xc2
00518 #define SMD_1M15P_READ_R2         0xc4
00519 #define SMD_1M15P_READ_R3         0xc8
00520 
00521 /* 1M15P regigster bits */
00522 #define SMD_1M15P_R1_INTMODE      0x80        /* integrate mode, 0=ext, 1=int */
00523 #define SMD_1M15P_R1_GAIN         0x40        /* gain, 0 = 1x, 1 = 4x */
00524 #define SMD_1M15P_R1_ANTIBLOOM    0x20        /* anti-bloom, 0=enabled 1=disabled */
00525 #define SMD_1M15P_R1_BINMODE      0x10        /* bin mode, 00=1x1, 01=2x2, 10=4x4 */
00526 #define SMD_1M15P_R1_TRIGMODE     0x08        /* trigger mode, 0=ext, 1=cont */
00527 #define SMD_1M15P_R1_INTMSK       0x03        /* integration time bits */
00528 
00529 /* compat */
00530 #define HAM_4880                   HAM_4880_SER
00531 #define HAMAMATSU_4880             HAM_4880_SER
00532 #define HAMAMATSU_4880_SER         HAM_4880_SER
00533 #define HAMAMATSU_4880_8X          HAM_4880_8X
00534 
00535 #define PDV_NOLOCKDEV              0
00536 #define PDV_LOCKDEV                1
00537 
00538 #define PDV_SERIAL_RS422           0
00539 #define PDV_SERIAL_RS232           1
00540 
00541 /* Front panel value */
00542 #define FRONT_PANEL                0x7fffffff
00543 #define FACTORY_SETTING            0x7ffffff0
00544 
00545 /* LH Strobe Methods */
00546 #define PDV_LHS_METHOD1            1
00547 #define PDV_LHS_METHOD2            2
00548 
00549 #define NOT_SET                    -9999999        /* doubtful it would ever be a valid value */
00550 
00551 
00552 #endif                          /* _DEPENDENT_H_ */

Generated on 19 Jun 2015 by  doxygen 1.4.7