AlcapDAQ  1
rpc_mucap.h
Go to the documentation of this file.
1 #define RPC_EVENT_READY 2201
2 #define RPC_BUFFER_FREE 2202
3 #define RPC_END_OF_CYCLE 2203
4 #define RPC_READY_FOR_CYCLE 2204
5 #define RPC_REQUEST_STOP 2205
6 
7 #ifdef DEFINE_RPC_LIST
8 RPC_LIST rpc_list_mucap[] = {
9 
10  // sent from crates to event-builder
11  {RPC_EVENT_READY, "rpc_event_ready",
12  {{TID_INT, RPC_IN} , // crate_number
13  {TID_INT, RPC_IN} , // event_number
14  {TID_INT, RPC_IN} , // pci_address
15  {TID_INT, RPC_IN} , // event size in bytes
16  {0} } },
17 
18  // sent from event-builder to crates
19  {RPC_BUFFER_FREE, "rpc_buffer_free",
20  {{TID_INT, RPC_IN} , // pci_address
21  {0} } },
22 
23  // sent from "special" crate (crate 3) to "other" crates
24  {RPC_END_OF_CYCLE, "rpc_end_of_cycle",
25  {{TID_INT, RPC_IN} , // cycle_number
26  {TID_INT, RPC_IN} , // event number
27  {0} } },
28 
29  // sent from "other" crates to "special" crate (crate 3)
30  {RPC_READY_FOR_CYCLE, "rpc_ready_for_cycle",
31  {{TID_INT, RPC_IN} , // crate_number
32  {TID_INT, RPC_IN} , // cycle_number
33  {0} } },
34 
35  // sent from "other" crates to "special" crate (crate 3)
36  {RPC_REQUEST_STOP, "rpc_request_stop",
37  {{TID_INT, RPC_IN} , // crate_number
38  {TID_INT, RPC_IN} , // event_number
39  {0} } },
40 
41  {0}
42 };
43 #else
44 extern RPC_LIST rpc_list_mucap[];
45 #endif