MIDAS
|
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | D16 0x0000 |
Data16. | |
#define | D24 0x4000 |
Data 24. | |
#define | RNAFD16(n, a, f) (D16 | (n<<9) | (a<<5) | f) |
Macro for Read D16. | |
#define | RNAFD24(n, a, f) (D24 | (n<<9) | (a<<5) | f) |
Macro for Read D24. | |
#define | MARKER (D16 | (0<<9) | (0<<5) | 16) |
#define | RD16 1 |
Read D16. | |
#define | MRAD16 2 |
Multiple Read on A D16. | |
#define | MRND16 3 |
Multiple Read on N D16. | |
#define | RD24 11 |
Read D24. | |
#define | MRAD24 12 |
Multiple Read on A D24. | |
#define | MRND24 13 |
Multiple Read on N D24. | |
#define | CD16 21 |
Command D16. | |
#define | WMARKER 50 |
Marker. | |
Functions | |
int | StackFill (int mode, int n, int a, int f, int d, long int *stack) |
Stack builder. | |
void | StackCreate (long int *stack) |
void | StackClose (long int *stack) |
To be called after StackFill()
Definition at line 106 of file ccusb.h.
To be called before the StackFill()
Definition at line 97 of file ccusb.h.
Stack builder.
To be used in the Begin_of_run for camac list definition Will be loaded in the CCUSB at end of BOR
mode | CAMAC action type |
n | Station number |
a | Station subaddress |
f | CAMAC function |
d | data |
*stack | stack list |
Definition at line 36 of file ccusb.h.