1
2
3
4
5
6
7
8
9
10
11 #ifndef _FDOMAIN_H
12 #define _FDOMAIN_H
13
14 #define QUEUE 1
15
16 int fdomain_16x0_detect( int );
17 int fdomain_16x0_command( unsigned char target, const void *cmnd,
18 void *buff, int bufflen);
19 int fdomain_16x0_abort( int );
20 char *fdomain_16x0_info( void );
21 int fdomain_16x0_reset( void );
22
23 #if QUEUE
24 int fdomain_16x0_queue( unsigned char target, const void *cmnd,
25 void *buff, int bufflen, void (*done)(int,int) );
26
27 #define FDOMAIN_16X0 { "Future Domain TMC-1660/TMC-1680", \
28 fdomain_16x0_detect, \
29 fdomain_16x0_info, \
30 fdomain_16x0_command, \
31 fdomain_16x0_queue, \
32 fdomain_16x0_abort, \
33 fdomain_16x0_reset, \
34 1, 6, 0 }
35 #else
36 #define FDOMAIN_16X0 { "Future Domain TMC-1660/TMC-1680", \
37 fdomain_16x0_detect, \
38 fdomain_16x0_info, \
39 fdomain_16x0_command, \
40 NULL, \
41 fdomain_16x0_abort, \
42 fdomain_16x0_reset, \
43 0, 6, 0 }
44 #endif
45 #endif