Data Structures | Defines | Typedefs | Functions | Variables

epics/apps/cbm/cbmApp/src/HVCAENx527.h File Reference

(r4864/r2306)

#include <stdio.h>
#include <string.h>
#include <dbDefs.h>
#include <dbAccess.h>
#include <recSup.h>
#include <devSup.h>
#include <callback.h>
#include <sys/time.h>
Include dependency graph for HVCAENx527.h:

Go to the source code of this file.

Data Structures

struct  ParProp
struct  HVChan
struct  HVSlot
struct  CrateScanList
struct  HVCrate

Defines

#define EVNTNO_UPDATE   10
#define EVNTNO_T1   11
#define EVNTNO_T2   12
#define EVNTNO_T3   13
#define SCAN_SERVER   1
#define PDEBUG(LEVEL)   if( DEBUG >= LEVEL)

Typedefs

typedef struct ParProp PARPROP
typedef struct HVChan HVCHAN
typedef struct HVSlot HVSLOT
typedef struct CrateScanList CRATESCANLIST
typedef struct HVCrate HVCRATE

Functions

int ConnectCrate (char *name, char *linkaddr)
void ParseCrateAddr (char(*straddr)[], short naddr)
void Shutdown ()
void * CAENx527ParseDevArgs (char *saddr)
void * CAENx527GetChParVal (PARPROP *pp)
int CAENx527SetChParVal (PARPROP *pp)
char * CAENx527GetChName (HVCHAN *hvch)
int CAENx527SetChName (HVCHAN *hvch, char *chname)
short CAENx527mbbi2state (PARPROP *pp)
void CAENx527mbbi2bits (PARPROP *pp, char *bits, short nbits)
char * CAENx527GetParUnit (PARPROP *pp, char *fieldval)

Variables

short DEBUG
float ScanChannelsPeriod

Define Documentation

#define EVNTNO_T1   11

Definition at line 11 of file HVCAENx527.h.

#define EVNTNO_T2   12

Definition at line 12 of file HVCAENx527.h.

#define EVNTNO_T3   13

Definition at line 13 of file HVCAENx527.h.

#define EVNTNO_UPDATE   10

Definition at line 10 of file HVCAENx527.h.

#define PDEBUG (   LEVEL  )     if( DEBUG >= LEVEL)

Definition at line 99 of file HVCAENx527.h.

#define SCAN_SERVER   1

Definition at line 20 of file HVCAENx527.h.


Typedef Documentation

typedef struct CrateScanList CRATESCANLIST
typedef struct HVChan HVCHAN
typedef struct HVCrate HVCRATE
typedef struct HVSlot HVSLOT
typedef struct ParProp PARPROP

Function Documentation

char* CAENx527GetChName ( HVCHAN hvch  ) 
void* CAENx527GetChParVal ( PARPROP pp  ) 
char* CAENx527GetParUnit ( PARPROP pp,
char *  fieldval 
)
void CAENx527mbbi2bits ( PARPROP pp,
char *  bits,
short  nbits 
)
short CAENx527mbbi2state ( PARPROP pp  ) 
void* CAENx527ParseDevArgs ( char *  saddr  ) 
int CAENx527SetChName ( HVCHAN hvch,
char *  chname 
)
int CAENx527SetChParVal ( PARPROP pp  ) 
int ConnectCrate ( char *  name,
char *  linkaddr 
)
void ParseCrateAddr ( char(*)  straddr[],
short  naddr 
)
void Shutdown (  ) 

Referenced by main().


Variable Documentation

short DEBUG

Definition at line 115 of file HVCAENx527.h.