Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 100 → Rev 99

/cvi/instr/vme/vme.h
3,12 → 3,6
 
#include <stdint.h>
 
#ifndef _CVI_
#define __stdcall
#define UCHAR unsigned char
#define _VI_FUNC
#endif
 
#define CAEN_V1718 0
#define WIENER_VMEMM 1
#define WIENER_VMUSB 2
63,17 → 57,17
#define VME_MREXEC (*VME_MREXEC_Ptr)
 
 
extern short __stdcall VME_R( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data);
short __stdcall VME_R( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data);
 
extern short __stdcall VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data);
short __stdcall VME_W( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data);
 
extern short __stdcall VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data);
extern short __stdcall VME_MWRST( void );
extern short __stdcall VME_MWEXEC( void );
short __stdcall VME_MW( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data);
short __stdcall VME_MWRST( void );
short __stdcall VME_MWEXEC( void );
 
extern short __stdcall VME_MR( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data);
extern short __stdcall VME_MRRST( void );
extern short __stdcall VME_MREXEC( uint32_t *Data );
short __stdcall VME_MR( uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data);
short __stdcall VME_MRRST( void );
short __stdcall VME_MREXEC( uint32_t *Data );
 
#endif