Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
111 f9daq 1
#ifndef _WUSBCC_H
2
#define _WUSBCC_H
3
 
4
#define NAF(N,A,F) 0x4000+(N)*0x200+(A)*0x20+(F)
5
#define NAFS(N,A,F) (N)*0x200+(A)*0x20+(F)
6
 
7
#define CSSA_RQX(N,A,F,DATA,Q,X) CAMAC_read(udev,(N),(A),(F),(DATA),(Q),(X))
8
#define CSSA_WQX(N,A,F,DATA,Q,X) CAMAC_write(udev,(N),(A),(F),(DATA),(Q),(X))
9
 
10
#define CCCZ CAMAC_Z(udev)
11
#define CCCC CAMAC_C(udev)
12
#define CSET_I CAMAC_I(udev,1)
13
#define CREM_I CAMAC_I(udev,0)
14
 
15
#endif