AlcapDAQ  1
CAENUSBdrvB.h
Go to the documentation of this file.
1 /*
2  ----------------------------------------------------------------------
3 
4  --- CAEN SpA - Computing Systems Division ---
5 
6  CAENUSBdrvB.h
7 
8  Header file for the CAEN USb driver B
9 
10  June 2004 : Created.
11 
12  ----------------------------------------------------------------------
13 */
14 #ifndef _CAENUSBdrvB_H
15 #define _CAENUSBdrvB_H
16 
17 #ifndef VERSION
18  #define VERSION(ver,rel,seq) (((ver)<<16) | ((rel)<<8) | (seq))
19 #endif
20 
21 
22 /*
23  Defines for the v1718
24 */
25 
26 #define V1718_MAGIC 'U'
27 
28 #define V1718_IOCTL_REV _IOWR(V1718_MAGIC, 1, v1718_rev_t)
29 #define V1718_IOCTL_REBOOTB _IOWR(V1718_MAGIC, 2, v1718_rev_t)
30 #define V1718_IOCTL_REBOOTF _IOWR(V1718_MAGIC, 3, v1718_rev_t)
31 
32 
33 /*
34  ----------------------------------------------------------------------
35 
36  Types
37 
38  ----------------------------------------------------------------------
39 */
40 
41 // Rev 0.2
42 /*
43  Struct for revision argument in ioctl calls
44 */
45 #define V1718_DRIVER_VERSION_LEN 20
46 typedef struct v1718_rev_t {
48 } v1718_rev_t;
49 
50 
51 #endif