Rev 87 | Rev 170 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 87 | Rev 100 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | #include <stdint.h> |
4 | #include <stdint.h> |
- | 5 | ||
- | 6 | #ifndef _CVI_ |
|
- | 7 | #define __stdcall |
|
- | 8 | #define UCHAR unsigned char |
|
- | 9 | #define _VI_FUNC |
|
- | 10 | #endif |
|
5 | 11 | ||
6 | #define CAEN_V1718 0 |
12 | #define CAEN_V1718 0 |
7 | #define WIENER_VMEMM 1 |
13 | #define WIENER_VMEMM 1 |
8 | #define WIENER_VMUSB 2 |
14 | #define WIENER_VMUSB 2 |
9 | 15 | ||
Line 55... | Line 61... | ||
55 | #define VME_MR (*VME_MR_Ptr) |
61 | #define VME_MR (*VME_MR_Ptr) |
56 | #define VME_MRRST (*VME_MRRST_Ptr) |
62 | #define VME_MRRST (*VME_MRRST_Ptr) |
57 | #define VME_MREXEC (*VME_MREXEC_Ptr) |
63 | #define VME_MREXEC (*VME_MREXEC_Ptr) |
58 | 64 | ||
59 | 65 | ||
60 | short __stdcall VME_R( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
66 | extern short __stdcall VME_R( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
61 | 67 | ||
62 | short __stdcall VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
68 | extern short __stdcall VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
63 | 69 | ||
64 | short __stdcall VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
70 | extern short __stdcall VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
65 | short __stdcall VME_MWRST( void ); |
71 | extern short __stdcall VME_MWRST( void ); |
66 | short __stdcall VME_MWEXEC( void ); |
72 | extern short __stdcall VME_MWEXEC( void ); |
67 | 73 | ||
68 | short __stdcall VME_MR( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
74 | extern short __stdcall VME_MR( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
69 | short __stdcall VME_MRRST( void ); |
75 | extern short __stdcall VME_MRRST( void ); |
70 | short __stdcall VME_MREXEC( uint32_t *Data ); |
76 | extern short __stdcall VME_MREXEC( uint32_t *Data ); |
71 | 77 | ||
72 | #endif |
78 | #endif |
73 | 79 |