Rev 100 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 100 | Rev 170 | ||
|---|---|---|---|
| Line 10... | Line 10... | ||
| 10 | #endif |
10 | #endif |
| 11 | 11 | ||
| 12 | #define CAEN_V1718 0 |
12 | #define CAEN_V1718 0 |
| 13 | #define WIENER_VMEMM 1 |
13 | #define WIENER_VMEMM 1 |
| 14 | #define WIENER_VMUSB 2 |
14 | #define WIENER_VMUSB 2 |
| - | 15 | #define SIS3153_USB 3 |
|
| 15 | 16 | ||
| 16 | 17 | ||
| 17 | short VME_START( int interface ); |
18 | short VME_START( int interface ); |
| 18 | int VME_GetInterface(); |
19 | int VME_GetInterface(); |
| 19 | short VME_STOP(); |
20 | short VME_STOP(); |
| Line 52... | Line 53... | ||
| 52 | #define VME_A32D32_W(VME,DATA) VME_W( VME_A32, VME_D32 , (VME), (DATA) ) |
53 | #define VME_A32D32_W(VME,DATA) VME_W( VME_A32, VME_D32 , (VME), (DATA) ) |
| 53 | 54 | ||
| 54 | 55 | ||
| 55 | #define VME_R (*VME_R_Ptr) |
56 | #define VME_R (*VME_R_Ptr) |
| 56 | #define VME_W (*VME_W_Ptr) |
57 | #define VME_W (*VME_W_Ptr) |
| 57 | #define VME_MW (*VME_MW_Ptr) |
- | |
| - | 58 | ||
| 58 | #define VME_MWRST (*VME_MWRST_Ptr) |
59 | #define VME_MWRST (*VME_MWRST_Ptr) |
| - | 60 | #define VME_MW (*VME_MW_Ptr) |
|
| 59 | #define VME_MWEXEC (*VME_MWEXEC_Ptr) |
61 | #define VME_MWEXEC (*VME_MWEXEC_Ptr) |
| 60 | 62 | ||
| 61 | #define VME_MR (*VME_MR_Ptr) |
- | |
| 62 | #define VME_MRRST (*VME_MRRST_Ptr) |
63 | #define VME_MRRST (*VME_MRRST_Ptr) |
| - | 64 | #define VME_MR (*VME_MR_Ptr) |
|
| 63 | #define VME_MREXEC (*VME_MREXEC_Ptr) |
65 | #define VME_MREXEC (*VME_MREXEC_Ptr) |
| 64 | 66 | ||
| 65 | 67 | ||
| 66 | extern short __stdcall VME_R( uint16_t AM, uint16_t DW, |
68 | extern short __stdcall VME_R( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
| 67 | - | ||
| 68 | extern short __stdcall VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
69 | extern short __stdcall VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
| 69 | 70 | ||
| 70 | extern short __stdcall VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
- | |
| 71 | extern short __stdcall VME_MWRST( void ); |
71 | extern short __stdcall VME_MWRST( void ); |
| - | 72 | extern short __stdcall VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data); |
|
| 72 | extern short __stdcall VME_MWEXEC( void ); |
73 | extern short __stdcall VME_MWEXEC( void ); |
| 73 | 74 | ||
| 74 | extern short __stdcall VME_MR( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
- | |
| 75 | extern short __stdcall VME_MRRST( void ); |
75 | extern short __stdcall VME_MRRST( void ); |
| - | 76 | extern short __stdcall VME_MR( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data); |
|
| 76 | extern short __stdcall VME_MREXEC( |
77 | extern short __stdcall VME_MREXEC( uint32_t *Data ); |
| 77 | 78 | ||
| 78 | #endif |
79 | #endif |
| 79 | 80 | ||