Go to the source code of this file.
Functions | |
int | v1190_EventRead (MVME_INTERFACE *mvme, DWORD base, DWORD *pdest, int *nentry) |
int | v1190_DataRead (MVME_INTERFACE *mvme, DWORD base, DWORD *pdest, int nentry) |
void | v1190_WidthSet (MVME_INTERFACE *mvme, DWORD base, WORD width) |
void | v1190_OffsetSet (MVME_INTERFACE *mvme, DWORD base, WORD offset) |
int | v1190_Setup (MVME_INTERFACE *mvme, DWORD base, int mode) |
int | v1190_Status (MVME_INTERFACE *mvme, DWORD base) |
#define LE_RESOLUTION_100 (WORD) (0x10) |
#define LE_RESOLUTION_200 (WORD) (0x01) |
#define LE_RESOLUTION_800 (WORD) (0x00) |
#define V1190_ACQ_MODE_RO (WORD) (0x0200) |
#define V1190_CONTINUOUS_WO (WORD) (0x0100) |
#define V1190_DATA_READY (DWORD) (0x0001) |
#define V1190_EDGE_DETECTION_WO (WORD) (0x2200) |
#define V1190_EVT_CNT_RO (DWORD) (0x101C) |
#define V1190_EVT_STORED_RO (DWORD) (0x1020) |
#define V1190_GEO_REG_RW (DWORD) (0x001E) |
#define V1190_LE_RESOLUTION_WO (WORD) (0x2400) |
#define V1190_MICRO_HAND_RO (DWORD) (0x1030) |
#define V1190_MICRO_RD_OK (WORD) (0x0002) |
#define V1190_MICRO_RW (DWORD) (0x102E) |
#define V1190_MICRO_TDCID (WORD) (0x6000) |
#define V1190_MICRO_WR_OK (WORD) (0x0001) |
#define V1190_MODULE_RESET_WO (DWORD) (0x1014) |
#define V1190_RESOLUTION_RO (WORD) (0x2600) |
#define V1190_SOFT_CLEAR_WO (DWORD) (0x1016) |
#define V1190_SOFT_TRIGGER_WO (DWORD) (0x101A) |
#define V1190_SR_RO (DWORD) (0x1002) |
#define V1190_TRIGGER_MATCH_WO (WORD) (0x0000) |
#define V1190_WINDOW_OFFSET_WO (WORD) (0x1100) |
#define V1190_WINDOW_WIDTH_WO (WORD) (0x1000) |
void v1190_AcqModeRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v1190_ContinuousSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v1190_DataRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD * | pdest, | |||
int | nentry | |||
) |
int v1190_DataReady | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v1190_DataReset | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v1190_EventRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
DWORD * | pdest, | |||
int * | nentry | |||
) |
int v1190_EvtCounter | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v1190_EvtStored | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v1190_GeoWrite | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | geo | |||
) |
void v1190_LEResolutionSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD | le | |||
) |
void v1190_LEWResolutionSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD | le, | |||
WORD | width | |||
) |
int v1190_MicroCheck | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base, | |||
int | what | |||
) |
int v1190_MicroFlush | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base | |||
) |
int v1190_MicroRead | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base | |||
) |
Definition at line 388 of file v1190B.c.
Referenced by v1190_AcqModeRead(), v1190_MicroFlush(), v1190_ResolutionRead(), v1190_Status(), and v1190_TdcIdList().
int v1190_MicroWrite | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD | data | |||
) |
Definition at line 364 of file v1190B.c.
Referenced by v1190_AcqModeRead(), v1190_ContinuousSet(), v1190_LEResolutionSet(), v1190_OffsetSet(), v1190_ResolutionRead(), v1190_SetEdgeDetection(), v1190_Setup(), v1190_Status(), v1190_TdcIdList(), v1190_TriggerMatchingSet(), and v1190_WidthSet().
void v1190_OffsetSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD | offset | |||
) |
Set the offset of the matching window with respect to the trigger. The offset parameter should be in 25ns units. The range is from -2048(0x800) to +40(0x28). Example 0xFE8 == 600ns.
*mvme | VME structure | |
base | Module base address | |
offset | offset in ns units |
int v1190_ResolutionRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v1190_SetEdgeDetection | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | eLeading, | |||
int | eTrailing | |||
) |
int v1190_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 v1190_SoftClear | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v1190_SoftReset | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v1190_SoftTrigger | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
int v1190_Status | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
Read and display the curent status of the TDC.
*mvme | VME structure | |
base | Module base address |
Definition at line 490 of file v1190B.c.
Referenced by v1190_Setup().
void v1190_TdcIdList | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v1190_TriggerMatchingSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v1190_WidthSet | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
WORD | width | |||
) |