Rev 341 | Details | Compare with Previous | 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 | |||
342 | f9daq | 5 | #define VME_A24D16_R(VME,DATA) WIENVME_VME_A24D16_R((VME),(DATA)) |
6 | #define VME_A24D16_W(VME,DATA) WIENVME_VME_A24D16_W((VME),(DATA)) |
||
7 | |||
341 | f9daq | 8 | #define CSSA_R(N,A,F,DATA) VME_A24D16_R((NAF((N),(A),(F))),(DATA)) |
9 | #define CSSA_W(N,A,F,DATA) VME_A24D16_W((NAF((N),(A),(F))),(DATA)) |
||
10 | |||
11 | #define CSR(DATA) VME_A24D16_R((BRF(0)),(DATA)) |
||
12 | #define BZ(DATA) VME_A24D16_W((BRF(9)),(DATA)) |
||
13 | |||
14 | #define CCCZ(DATA) CSSA_R(28,8,26,(DATA)) |
||
15 | #define CCCC(DATA) CSSA_R(28,9,26,(DATA)) |
||
16 | #define CSET_I(DATA) CSSA_R(30,9,26,(DATA)) |
||
17 | #define CREM_I(DATA) CSSA_R(30,9,24,(DATA)) |