1 | // gcd.i
|
---|
2 | %module VME
|
---|
3 | %{
|
---|
4 | //include extra headers necessary in your C source.
|
---|
5 | //#include <headers.h>
|
---|
6 | #include "v560.h"
|
---|
7 | %}
|
---|
8 |
|
---|
9 | //VME stuff:
|
---|
10 | VME_ErrorCode_t VME_Open();
|
---|
11 | VME_ErrorCode_t VME_Close();
|
---|
12 | int VME_ErrorPrint(VME_ErrorCode_t error_code);
|
---|
13 | //V560 stuff:
|
---|
14 | VME_ErrorCode_t V560_Open();
|
---|
15 | int V560_Send_Scale_Increment(short module);
|
---|
16 | int V560_Set_Veto(short module);
|
---|
17 | int V560_Reset_Veto(short module);
|
---|
18 | int V560_Clear_Scales(short module);
|
---|
19 | short V560_Read_Request_Register(short module);
|
---|
20 | int V560_Write_Request_Register(short module,short request);
|
---|
21 | int V560_Clear_VME_Interrupt(short module);
|
---|
22 | int V560_Read_Counter(short module, short channel);
|
---|
23 | int V560_Print_Info(void);
|
---|
24 | VME_ErrorCode_t V560_Close(void);
|
---|
25 |
|
---|
26 | //V812 stuff:
|
---|
27 | VME_ErrorCode_t V812_Open(void);
|
---|
28 | int V812_Set_Threshold(short module, short channel, short threshold);
|
---|
29 | int V812_Set_Pattern_Inhibit(short module, char channel[16]);
|
---|
30 | int V812_Set_Pattern_Inhibit_Hex(short module, int pattern);
|
---|
31 | int V812_Set_Output_Width(short module, short channel_block, short width);
|
---|
32 | int V812_Set_Dead_Time(short module, short channel_block, short dead_time);
|
---|
33 | int V812_Set_Majority_Level(short module, short majority_level);
|
---|
34 | int V812_Set_Majority_Threshold(short module, short majority_threshold);
|
---|
35 | int V812_Test_Pulse(short module);
|
---|
36 | int V812_Print_Info(void);
|
---|
37 | VME_ErrorCode_t V812_Close(void);
|
---|