Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#ifndef _CAENV262_H
#define _CAENV262_H
#include <ivi.h>

int _VI_FUNC V262_Map (int moduleNumber,
                         unsigned long moduleOffset, int print);

int _VI_FUNC V262_Init (int ModuleNumber);

int _VI_FUNC V262_MaskOut(int ModuleNumber, unsigned long shft, unsigned short mask);

unsigned short _VI_FUNC V262_MaskIn(int ModuleNumber);

int _VI_FUNC V262_LevelInput (int ModuleNumber, int input);

int _VI_FUNC V262_PulseOutput(int ModuleNumber, int output);

int _VI_FUNC V262_LevelOutput(int ModuleNumber, int output, int level);

int _VI_FUNC V262_EclOutput  (int ModuleNumber, int output, int level);

#define  V262_status(x)  (V262_MaskIn(x)&0xF)

#endif