Subversion Repositories f9daq

Rev

Rev 341 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#define BCNAF(B,C,N,A,F) 0x800000+(B)*0x80000+(C)*0x10000+(N)*0x800+(A)*0x80+(F)*0x4
#define NAF(N,A,F) 0x810002+(N)*0x800+(A)*0x80+(F)*0x4
#define BRF(F) 0x80E802+(F)*0x4

#define VME_A24D16_R(VME,DATA) WIENVME_VME_A24D16_R((VME),(DATA))
#define VME_A24D16_W(VME,DATA) WIENVME_VME_A24D16_W((VME),(DATA))

#define CSSA_R(N,A,F,DATA) VME_A24D16_R((NAF((N),(A),(F))),(DATA))
#define CSSA_W(N,A,F,DATA) VME_A24D16_W((NAF((N),(A),(F))),(DATA))

#define CSR(DATA) VME_A24D16_R((BRF(0)),(DATA))
#define BZ(DATA) VME_A24D16_W((BRF(9)),(DATA))

#define CCCZ(DATA) CSSA_R(28,8,26,(DATA))
#define CCCC(DATA) CSSA_R(28,9,26,(DATA))
#define CSET_I(DATA) CSSA_R(30,9,26,(DATA))
#define CREM_I(DATA) CSSA_R(30,9,24,(DATA))