source: trigger/VME.i@ 827

Last change on this file since 827 was 115, checked in by daqct3, 15 years ago
New Functions
File size: 1.3 KB
Line 
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:
10VME_ErrorCode_t VME_Open();
11VME_ErrorCode_t VME_Close();
12int VME_ErrorPrint(VME_ErrorCode_t error_code);
13//V560 stuff:
14VME_ErrorCode_t V560_Open();
15int V560_Send_Scale_Increment(short module);
16int V560_Set_Veto(short module);
17int V560_Reset_Veto(short module);
18int V560_Clear_Scales(short module);
19short V560_Read_Request_Register(short module);
20int V560_Write_Request_Register(short module,short request);
21int V560_Clear_VME_Interrupt(short module);
22int V560_Read_Counter(short module, short channel);
23int V560_Print_Info(void);
24VME_ErrorCode_t V560_Close(void);
25
26//V812 stuff:
27VME_ErrorCode_t V812_Open(void);
28int V812_Set_Threshold(short module, short channel, short threshold);
29int V812_Set_Pattern_Inhibit(short module, char channel[16]);
30int V812_Set_Pattern_Inhibit_Hex(short module, int pattern);
31int V812_Set_Output_Width(short module, short channel_block, short width);
32int V812_Set_Dead_Time(short module, short channel_block, short dead_time);
33int V812_Set_Majority_Level(short module, short majority_level);
34int V812_Set_Majority_Threshold(short module, short majority_threshold);
35int V812_Test_Pulse(short module);
36int V812_Print_Info(void);
37VME_ErrorCode_t V812_Close(void);
Note: See TracBrowser for help on using the repository browser.