Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#ifndef _WUSBCC_H
#define _WUSBCC_H

#define NAF(N,A,F) 0x4000+(N)*0x200+(A)*0x20+(F)
#define NAFS(N,A,F) (N)*0x200+(A)*0x20+(F)

#define CSSA_RQX(N,A,F,DATA,Q,X) CAMAC_read(udev,(N),(A),(F),(DATA),(Q),(X))
#define CSSA_WQX(N,A,F,DATA,Q,X) CAMAC_write(udev,(N),(A),(F),(DATA),(Q),(X))

#define CCCZ CAMAC_Z(udev)
#define CCCC CAMAC_C(udev)
#define CSET_I CAMAC_I(udev,1)
#define CREM_I CAMAC_I(udev,0)

#endif