Subversion Repositories f9daq

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
341 f9daq 1
#define BCNAF(B,C,N,A,F) 0x800000+(B)*0x80000+(C)*0x10000+(N)*0x800+(A)*0x80+(F)*0x4
2
#define NAF(N,A,F) 0x810002+(N)*0x800+(A)*0x80+(F)*0x4
3
#define BRF(F) 0x80E802+(F)*0x4
4
 
5
#define CSSA_R(N,A,F,DATA) VME_A24D16_R((NAF((N),(A),(F))),(DATA))
6
#define CSSA_W(N,A,F,DATA) VME_A24D16_W((NAF((N),(A),(F))),(DATA))
7
 
8
#define CSR(DATA) VME_A24D16_R((BRF(0)),(DATA))
9
#define BZ(DATA) VME_A24D16_W((BRF(9)),(DATA))
10
 
11
#define CCCZ(DATA) CSSA_R(28,8,26,(DATA))
12
#define CCCC(DATA) CSSA_R(28,9,26,(DATA))
13
#define CSET_I(DATA) CSSA_R(30,9,26,(DATA))
14
#define CREM_I(DATA) CSSA_R(30,9,24,(DATA))