#ifndef _CAENV814_H
#define _CAENV814_H
int V814_map (int moduleNumber,
unsigned long moduleOffset, int print);
int V814_init (int ModuleNumber, unsigned int threshold, unsigned int width, unsigned int mask);
int V814_SetThreshold(int ModuleNumber, unsigned long channel, unsigned short threshold);
int V814_SetEnable(int ModuleNumber, unsigned short mask);
int V814_SetWidth(int ModuleNumber, unsigned short mask);
int V814_SetMajority(int ModuleNumber, unsigned short majlev);
int V814_TestPulse(int ModuleNumber);
#endif