Go to the source code of this file.
Functions | |
int | v1729_Setup (MVME_INTERFACE *mvme, DWORD base, int mode) |
int | v1729_TimeCalibrationRun (MVME_INTERFACE *mvme, DWORD base, int flag) |
int | v1729_PedestalRun (MVME_INTERFACE *mvme, DWORD base, int loop, int flag) |
int | v1729_OrderData (MVME_INTERFACE *mvme, DWORD base, WORD *psrce, int *pdest, int nch, int ch, int npt) |
#define V1729_1GSPS (DWORD) 2 |
#define V1729_2GSPS (DWORD) 1 |
#define V1729_ACQ_START_W (DWORD) (0x1700) |
#define V1729_ALL_FOUR (DWORD) (0xF) |
#define V1729_AUTHORIZE_RANDOM (DWORD) (0x8) |
#define V1729_CHANMASK (DWORD) (0x2300) |
#define V1729_DATA_FIFO_R (DWORD) (0x0D00) |
Definition at line 52 of file v1729.h.
Referenced by v1729_DataRead(), and v1729_TimeCalibrationRun().
#define V1729_EXTERNAL_TRIGGER (DWORD) (0x2) |
#define V1729_FAST_READ_MODES (DWORD) (0x2100) |
#define V1729_FRQ_SAMPLING (DWORD) (0x8100) |
#define V1729_INHIBIT_RANDOM (DWORD) (0x0) |
#define V1729_INTERRUPT_ENABLE (DWORD) (0x8300) |
#define V1729_INTERRUPT_REG (DWORD) (0x8000) |
#define V1729_MAX_CHANNEL_SIZE (DWORD) 2560 |
Definition at line 22 of file v1729.h.
Referenced by v1729_DataRead(), v1729_OrderData(), and v1729_PedestalRun().
#define V1729_MAX_CHANNELS (DWORD) 4 |
#define V1729_N_COL (DWORD) (0x2200) |
Definition at line 55 of file v1729.h.
Referenced by v1729_NColsGet(), v1729_NColsSet(), and v1729_Status().
#define V1729_NORMAL_TRIGGER (DWORD) (0x0) |
#define V1729_POSTTRIG_LSB (DWORD) (0x1A00) |
Definition at line 27 of file v1729.h.
Referenced by v1729_OrderData(), v1729_PedestalRun(), v1729_PostTrigSet(), and v1729_Status().
#define V1729_POSTTRIG_MSB (DWORD) (0x1B00) |
Definition at line 28 of file v1729.h.
Referenced by v1729_OrderData(), v1729_PedestalRun(), v1729_PostTrigSet(), and v1729_Status().
#define V1729_PRETRIG_LSB (DWORD) (0x1800) |
#define V1729_PRETRIG_MSB (DWORD) (0x1900) |
#define V1729_RAM_SIZE (DWORD) (4*2563) |
#define V1729_RESET_W (DWORD) (0x0800) |
#define V1729_RISING_EDGE (DWORD) (0x0) |
#define V1729_SOFT_TRIGGER (DWORD) (0x0) |
#define V1729_SOFT_TRIGGER_W (DWORD) (0x1C00) |
#define V1729_SUCCESS 1 |
#define V1729_TRIGCHAN (DWORD) (0x1E00) |
#define V1729_TRIGREC_R (DWORD) (0x2000) |
#define V1729_TRIGTYPE (DWORD) (0x1D00) |
#define V1729_VERSION_R (DWORD) (0x8200) |
void v1729_AcqStart | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
Definition at line 29 of file v1729.c.
Referenced by v1729_PedestalRun(), and v1729_TimeCalibrationRun().
void v1729_ChannelSelect | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | value | |||
) |
void v1729_DataRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD * | pdest, | |||
int | nch, | |||
int | npt | |||
) |
void v1729_FrqSamplingSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | value | |||
) |
int v1729_isTrigger | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
Definition at line 206 of file v1729.c.
Referenced by v1729_PedestalRun(), and v1729_TimeCalibrationRun().
int v1729_NColsGet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v1729_NColsSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | value | |||
) |
int v1729_OrderData | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD * | srce, | |||
int * | dest, | |||
int | nch, | |||
int | chan, | |||
int | npt | |||
) |
Re-order given channel from srce to dest len is for now frozen to V1729_MAX_CHANNEL_SIZE Does pedestal subtraction if enabled (ped_ok) Doesn't correct for timing.
NOTE: destination cell index[k] computed as 2560+j+end_cell instead of manual formula [2] page 13 (2560+j-end_cell).
int v1729_PedestalRun | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | loop, | |||
int | flag | |||
) |
void v1729_PostTrigSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | value | |||
) |
void v1729_PreTrigSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | value | |||
) |
void v1729_Reset | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v1729_Setup | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | mode | |||
) |
Sets all the necessary paramters for a given configuration. The configuration is provided by the mode argument. Add your own configuration in the case statement. Let me know your setting if you want to include it in the distribution.
*mvme | VME structure | |
base | Module base address | |
mode | Configuration mode number | |
*nentry | number of entries requested and returned. |
Definition at line 63 of file v1729.c.
Referenced by v1729_PedestalRun(), and v1729_TimeCalibrationRun().
void v1729_SoftTrigger | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v1729_Status | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v1729_TimeCalibrationRun | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | flag | |||
) |
void v1729_TriggerTypeSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | value | |||
) |