Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

  1. #define CAENV262_NIMIN     0x0A
  2. #define CAENV262_SHPOUT    0x08
  3. #define CAENV262_NIMOUT    0x06
  4. #define CAENV262_ECLOUT    0x04
  5.  
  6. #define CAENV262_FIX       0xFA
  7. #define CAENV262_MMT       0xFC
  8. #define CAENV262_VSR       0xFE
  9.  
  10. #define CAEN_FIX_CODE 0xFAF5
  11. #define CAENV262_MMT_VALUE 0x092D
  12.  
  13. #define VERSION(x) (((x)>>12) & 0xf)
  14. #define SERIAL(x) ((x) & 0xfff)
  15. #define MANUFACTURER(x) (((x)>>10) & 0x3f)
  16. #define MODULE_TYPE(x) ((x) & 0x3ff)
  17. /*
  18. #define VME_D8(x) ( *((unsigned char *) (x)))
  19. #define VME_D16(x) ( *((unsigned short *) (x)))
  20. #define VME_D32(x) ( *((unsigned long *) (x)))
  21. */
  22.