|
quadEM
7-0
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <unistd.h>#include <sys/mman.h>#include <fcntl.h>#include <signal.h>#include <sys/stat.h>#include <math.h>#include <linux/i2c-dev.h>#include <epicsTypes.h>#include <epicsTime.h>#include <epicsThread.h>#include <epicsString.h>#include <epicsEvent.h>#include <asynOctetSyncIO.h>#include <asynCommonSyncIO.h>#include <drvAsynIPPort.h>#include <iocsh.h>#include <epicsExport.h>#include "drvNSLS2_IC.h"Macros | |
| #define | LEDS 0 |
| #define | FPGAVER 3 |
| #define | SA_RATE 1 |
| #define | IRQ_ENABLE 7 |
| #define | RAW 12 |
| #define | RAW_A 12 |
| #define | RAW_B 13 |
| #define | FRAME_NO 2 |
| #define | SA_RATE_DIV 1 |
| #define | GAINREG 4 |
| #define | AVG 8 |
| #define | AVG_A 8 |
| #define | AVG_B 9 |
| #define | INTTIME 5 |
| #define | FREQ 1000000.0 |
| #define | MIN_INT_TIME 400e-6 |
| #define | MAX_INT_TIME 1 |
| #define | MAX_COUNTS 1048576.0 /* 2^20 */ |
| #define | DEVNAME "/dev/vipic" |
| #define | POLL_TIME 0.0001 |
| #define | NOISE 1000. |
Functions | |
| int | drvNSLS2_ICConfigure (const char *portName, int ringBufferSize) |
| EPICS iocsh callable function to call constructor for the drvNSLS_EM class. More... | |
| void | drvNSLS2_ICRegister (void) |
| epicsExportRegistrar (drvNSLS2_ICRegister) | |
Variables | |
| class drvNSLS2_IC * | pdrvNSLS2_IC |
| #define AVG 8 |
| #define AVG_A 8 |
| #define AVG_B 9 |
| #define DEVNAME "/dev/vipic" |
| #define FPGAVER 3 |
| #define FRAME_NO 2 |
| #define FREQ 1000000.0 |
| #define GAINREG 4 |
| #define INTTIME 5 |
| #define IRQ_ENABLE 7 |
| #define LEDS 0 |
| #define MAX_COUNTS 1048576.0 /* 2^20 */ |
| #define MAX_INT_TIME 1 |
| #define MIN_INT_TIME 400e-6 |
| #define NOISE 1000. |
| #define POLL_TIME 0.0001 |
| #define RAW 12 |
| #define RAW_A 12 |
| #define RAW_B 13 |
| #define SA_RATE 1 |
| #define SA_RATE_DIV 1 |
| int drvNSLS2_ICConfigure | ( | const char * | portName, |
| int | ringBufferSize | ||
| ) |
EPICS iocsh callable function to call constructor for the drvNSLS_EM class.
| [in] | portName | The name of the asyn port driver to be created. |
| [in] | ringBufferSize | The number of samples to hold in the input ring buffer. This should be large enough to hold all the samples between reads of the device, e.g. 1 ms SampleTime and 1 second read rate = 1000 samples. If 0 then default of 2048 is used. |
| void drvNSLS2_ICRegister | ( | void | ) |
| epicsExportRegistrar | ( | drvNSLS2_ICRegister | ) |
| class drvNSLS2_IC* pdrvNSLS2_IC |
1.8.5