#include <config.h>#include "CCAENV830.h"#include "CCAENV820Registers.h"#include <CVMEInterface.h>#include <string>#include <stdio.h>#include <string.h>Go to the source code of this file.
Defines | |
| #define | SOffset(s, field) (((unsigned int)&(((s*)0)->field))/sizeof(short)) |
| #define | LOffset(s, field) (((unsigned int)&(((s*)0)->field))/sizeof(long)) |
| #define | GetShort(field) (m_pModule->peekw(SOffset(CAENV830Registers,field))) |
| #define | GetLong(field) (m_pModule->peekl(LOffset(CAENV830Registers,field))) |
| #define | PutShort(field, value) |
| #define | PutLong(field, value) |
| #define | GetProm(m, field) (m.peekw(SOffset(CAENV830ROM,field))) |
Functions | |
| static void | ThrowIntString (char *formatstring, int value) throw (string) |
| static void | ThrowIfBadChannel (const char *pFunction, int nChannel) throw (string) |
| #define GetLong | ( | field | ) | (m_pModule->peekl(LOffset(CAENV830Registers,field))) |
Definition at line 307 of file CCAENV830.cpp.
| #define GetProm | ( | m, | |||
| field | ) | (m.peekw(SOffset(CAENV830ROM,field))) |
| #define GetShort | ( | field | ) | (m_pModule->peekw(SOffset(CAENV830Registers,field))) |
Definition at line 306 of file CCAENV830.cpp.
| #define LOffset | ( | s, | |||
| field | ) | (((unsigned int)&(((s*)0)->field))/sizeof(long)) |
Definition at line 305 of file CCAENV830.cpp.
| #define PutLong | ( | field, | |||
| value | ) |
Value:
(m_pModule->pokel((value), \
LOffset(CAENV830Registers,field)))
Definition at line 310 of file CCAENV830.cpp.
| #define PutShort | ( | field, | |||
| value | ) |
Value:
(m_pModule->pokew((value), \
SOffset(CAENV830Registers,field)))
Definition at line 308 of file CCAENV830.cpp.
| #define SOffset | ( | s, | |||
| field | ) | (((unsigned int)&(((s*)0)->field))/sizeof(short)) |
Definition at line 304 of file CCAENV830.cpp.
| static void ThrowIfBadChannel | ( | const char * | pFunction, | |
| int | nChannel | |||
| ) | throw (string) [inline, static] |
| static void ThrowIntString | ( | char * | formatstring, | |
| int | value | |||
| ) | throw (string) [inline, static] |
1.5.1