Go to the source code of this file.
Data Structures | |
union | v792_Data |
struct | v792_Data::Entry |
struct | v792_Data::Header |
struct | v792_Data::Footer |
union | v792_StatusRegister1 |
union | v792_StatusRegister2 |
union | v792_ControlRegister1 |
union | v792_BitSet2Register |
Functions | |
int | v792_ThresholdWrite (MVME_INTERFACE *mvme, DWORD base, WORD *threshold) |
int | v792_ThresholdRead (MVME_INTERFACE *mvme, DWORD base, WORD *threshold) |
int | v792_Setup (MVME_INTERFACE *mvme, DWORD base, int mode) |
void | v792_ControlRegister1Write (MVME_INTERFACE *mvme, DWORD base, WORD pat) |
WORD | v792_ControlRegister1Read (MVME_INTERFACE *mvme, DWORD base) |
void | v792_Trigger (MVME_INTERFACE *mvme, DWORD base) |
void | v792_printEntry (const v792_Data *v) |
#define V792_BIT_CLEAR1_WO (DWORD) (0x1008) |
Definition at line 32 of file v792.h.
Referenced by v792_BitSet2Clear(), v792_BitSet2Set(), and v792_SoftReset().
#define V792_BIT_CLEAR2_WO (DWORD) (0x1034) |
Definition at line 47 of file v792.h.
Referenced by v792_DataClear(), v792_LowThEnable(), and v792_OnlineSet().
#define V792_BIT_SET1_RW (DWORD) (0x1006) |
Definition at line 31 of file v792.h.
Referenced by v792_BitSet2Clear(), v792_BitSet2Set(), and v792_SoftReset().
#define V792_BIT_SET2_RW (DWORD) (0x1032) |
Definition at line 46 of file v792.h.
Referenced by v792_BitSet2Read(), v792_DataClear(), v792_EmptyEnable(), and v792_LowThDisable().
#define V792_CR1_RW (DWORD) (0x1010) |
Definition at line 37 of file v792.h.
Referenced by v792_ControlRegister1Read(), and v792_ControlRegister1Write().
#define V792_CSR1_RO (DWORD) (0x100E) |
Definition at line 36 of file v792.h.
Referenced by v792_CSR1Read(), v792_DataReady(), and v792_isBusy().
#define V792_CSR2_RO (DWORD) (0x1022) |
#define V792_EVT_CNT_H_RO (DWORD) (0x1026) |
#define V792_EVT_CNT_L_RO (DWORD) (0x1024) |
#define V792_EVT_CNT_RST_WO (DWORD) (0x1040) |
#define V792_EVTRIG_REG_RW (DWORD) (0x1020) |
Definition at line 39 of file v792.h.
Referenced by v792_EvtTriggerSet(), v792_IntDisable(), and v792_IntEnable().
#define V792_FIRM_REV (DWORD) (0x1000) |
#define V792_INT_LEVEL_WO (DWORD) (0x100A) |
#define V792_INT_VECTOR_WO (DWORD) (0x100C) |
#define V792_IPED_RW (DWORD) (0x1060) |
#define V792_MAX_CHANNELS (DWORD) 32 |
Definition at line 27 of file v792.h.
Referenced by v792_Status(), v792_ThresholdRead(), and v792_ThresholdWrite().
#define V792_SINGLE_RST_WO (DWORD) (0x1016) |
#define V792_SWCOMM_WO (DWORD) (0x1068) |
#define V792_THRES_BASE (DWORD) (0x1080) |
Definition at line 53 of file v792.h.
Referenced by v792_ThresholdRead(), and v792_ThresholdWrite().
enum v792_DataType |
void v792_BitSet2Clear | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD | pat | |||
) |
int v792_BitSet2Read | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_BitSet2Set | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD | pat | |||
) |
WORD v792_ControlRegister1Read | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_ControlRegister1Write | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD | pat | |||
) |
void v792_CrateSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD * | evtcnt | |||
) |
int v792_CSR1Read | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v792_CSR2Read | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_DataClear | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v792_DataRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD * | pdest, | |||
int * | nentry | |||
) |
int v792_DataReady | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_DelayClearSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | delay | |||
) |
void v792_EmptyEnable | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v792_EventRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD * | pdest, | |||
int * | nentry | |||
) |
void v792_EvtCntRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD * | evtcnt | |||
) |
void v792_EvtCntReset | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_EvtTriggerSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | count | |||
) |
void v792_IntDisable | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_IntEnable | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | level | |||
) |
void v792_IntSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | level, | |||
int | vector | |||
) |
int v792_isEvtReady | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v792_isPresent | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_LowThDisable | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_LowThEnable | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_OnlineSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_printEntry | ( | const v792_Data * | v | ) |
WORD v792_Read16 | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | offset | |||
) |
int v792_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. |
void v792_SingleShotReset | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_SoftReset | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_Status | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v792_ThresholdRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD * | threshold | |||
) |
int v792_ThresholdWrite | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD * | threshold | |||
) |
void v792_Trigger | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v792_Write16 | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | offset, | |||
WORD | value | |||
) |