Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

//==============================================================================
//
// Title:               sis3153.h
// Purpose:             A short description of the interface.
//
// Created on:  10.7.2016 at 8:53:29 by Samo Korpar.
// Copyright:   . All Rights Reserved.
//
//==============================================================================

#ifndef __sis3153_H__
#define __sis3153_H__

#ifdef __cplusplus
    extern "C" {
#endif

//==============================================================================
// Include files

#include "cvidef.h"

//==============================================================================
// Constants

//==============================================================================
// Types

//==============================================================================
// External variables

//==============================================================================
// Global functions

int SIS3153_USB_VME_START (char *node);
int SIS3153_USB_VME_STOP (void);

short __stdcall SIS3153_USB_VME_R(uint16_t AM, uint16_t DW,  uint32_t VME_Address, uint32_t *Data);
short __stdcall SIS3153_USB_VME_W(uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data);

short __stdcall SIS3153_USB_VME_MWRST(void);
short __stdcall SIS3153_USB_VME_MW(uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t Data);
short __stdcall SIS3153_USB_VME_MWEXEC(void);

short __stdcall SIS3153_USB_VME_MRRST(void);
short __stdcall SIS3153_USB_VME_MR(uint16_t AM, uint16_t DW, uint32_t VME_Address, uint32_t *Data);
short __stdcall SIS3153_USB_VME_MREXEC(uint32_t *Data);

#ifdef __cplusplus
    }
#endif

#endif  /* ndef __sis3153_H__ */