Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#define CAENV262_NIMIN     0x0A
#define CAENV262_SHPOUT    0x08
#define CAENV262_NIMOUT    0x06
#define CAENV262_ECLOUT    0x04

#define CAENV262_FIX       0xFA
#define CAENV262_MMT       0xFC
#define CAENV262_VSR       0xFE

#define CAEN_FIX_CODE 0xFAF5
#define CAENV262_MMT_VALUE 0x092D

#define VERSION(x) (((x)>>12) & 0xf)
#define SERIAL(x) ((x) & 0xfff)
#define MANUFACTURER(x) (((x)>>10) & 0x3f)
#define MODULE_TYPE(x) ((x) & 0x3ff)
/*
#define VME_D8(x) ( *((unsigned char *) (x)))
#define VME_D16(x) ( *((unsigned short *) (x)))
#define VME_D32(x) ( *((unsigned long *) (x)))
*/