NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
Main Page
User Guides
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Macros
Pages
xiaapi
sys
pixie16sys_globals.h
1
#ifndef PIXIE16SYS_GLOBALS_H
2
#define PIXIE16SYS_GLOBALS_H
3
4
/*----------------------------------------------------------------------
5
* Copyright (c) 2005 - 2009, XIA LLC
6
* All rights reserved.
7
*
8
* Redistribution and use in source and binary forms,
9
* with or without modification, are permitted provided
10
* that the following conditions are met:
11
*
12
* * Redistributions of source code must retain the above
13
* copyright notice, this list of conditions and the
14
* following disclaimer.
15
* * Redistributions in binary form must reproduce the
16
* above copyright notice, this list of conditions and the
17
* following disclaimer in the documentation and/or other
18
* materials provided with the distribution.
19
* * Neither the name of XIA LLC nor the names of its
20
* contributors may be used to endorse or promote
21
* products derived from this software without
22
* specific prior written permission.
23
*
24
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
25
* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
26
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
27
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
28
* IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
29
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
31
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
33
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
34
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
35
* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36
* SUCH DAMAGE.
37
*----------------------------------------------------------------------*/
38
39
/******************************************************************************
40
*
41
* File Name:
42
*
43
* pixie16sys_globals.h
44
*
45
* Description:
46
*
47
* Declaration of pixie16 library global variables.
48
*
49
* $Rev: 15626 $
50
* $Id: pixie16sys_globals.h 15626 2010-05-07 18:51:20Z htan $
51
******************************************************************************/
52
53
// If this is compiled by a C++ compiler, make it
54
// clear that these are C routines.
55
#ifdef __cplusplus
56
extern
"C"
{
57
#endif
58
59
PLX_UINT_PTR VAddr[SYS_MAX_NUM_MODULES];
// PCI device virutal address
60
PLX_DEVICE_OBJECT
SYS_hDevice[SYS_MAX_NUM_MODULES];
// PCI device handle
61
unsigned
short
SYS_Number_Modules;
// Total number of modules in the crate
62
unsigned
short
SYS_Offline;
// SYS_Offline = 1: offline mode; SYS_Offline = 0: Online mode
63
64
double
Ns_Per_Cycle;
// The time needed for each cycle, in ns
65
66
67
68
#ifdef __cplusplus
69
}
70
#endif // End of notice for C++ compilers
71
72
#endif // End of pixie16sys_globals.h
Generated on Mon Aug 1 2016 11:33:25 for NSCL DDAS by
1.8.1.2