Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
169 f9daq 1
//==============================================================================
2
//
3
// Title:               sis3153.h
4
// Purpose:             A short description of the interface.
5
//
6
// Created on:  10.7.2016 at 8:53:29 by Samo Korpar.
7
// Copyright:   . All Rights Reserved.
8
//
9
//==============================================================================
10
 
11
#ifndef __sis3153_H__
12
#define __sis3153_H__
13
 
14
#ifdef __cplusplus
15
    extern "C" {
16
#endif
17
 
18
//==============================================================================
19
// Include files
20
 
21
#include "cvidef.h"
22
 
23
//==============================================================================
24
// Constants
25
 
26
//==============================================================================
27
// Types
28
 
29
//==============================================================================
30
// External variables
31
 
32
//==============================================================================
33
// Global functions
34
 
35
int SIS3153_USB_VME_START (char *node);
36
int SIS3153_USB_VME_STOP (void);
37
 
38
short __stdcall SIS3153_USB_VME_R(uint16_t AM, uint16_t DW,  uint32_t VME_Address, uint32_t *Data);
39
short __stdcall SIS3153_USB_VME_W(uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data);
40
 
41
short __stdcall SIS3153_USB_VME_MWRST(void);
42
short __stdcall SIS3153_USB_VME_MW(uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data);
43
short __stdcall SIS3153_USB_VME_MWEXEC(void);
44
 
45
short __stdcall SIS3153_USB_VME_MRRST(void);
46
short __stdcall SIS3153_USB_VME_MR(uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data);
47
short __stdcall SIS3153_USB_VME_MREXEC(uint32_t *Data);
48
 
49
#ifdef __cplusplus
50
    }
51
#endif
52
 
53
#endif  /* ndef __sis3153_H__ */