
- Refactored site specific stuff into a site module - PSI specific stuff is now in the PSI directory. - The old version has been tagged with pre-ansto
109 lines
4.7 KiB
C
109 lines
4.7 KiB
C
/*
|
|
** TAS_SRC:[LIB]SINQ_DEFS.H
|
|
**
|
|
** Include file generated from SINQ_DEFS.OBJ
|
|
**
|
|
** 29-AUG-2000 09:49:31.72
|
|
*/
|
|
|
|
#define SS__NORMAL 0x1
|
|
#define SS__WASSET 0x9
|
|
#define SS__ILLEFC 0xEC
|
|
#define SS__UNASEFC 0x234
|
|
#define SEM_BIT 0x0
|
|
#define SEM_PID 0x4
|
|
#define SEM_WFLG 0x8
|
|
#define SEM_IDNT 0xC
|
|
#define SEM_CNT0 0x1C
|
|
#define SEM_CNT1 0x20
|
|
#define SEM_CNT2 0x24
|
|
#define SEM_CNT3 0x28
|
|
#define SEM_SUB_PID 0x2C
|
|
#define SEM_SIZE 0x40
|
|
#define SEM__CAMAC_CSR 0x0
|
|
#define SEM__CAMAC_IVG 0x40
|
|
#define SEM__CAMAC_GPIB 0x80
|
|
#define SEM__CAMAC_3344 0xC0
|
|
#define MAP__CAMAC_FIELD_0 0x0
|
|
#define MAP__CAMAC_FIELD_1 0x1
|
|
#define MAP__CAMAC_FIELD_2 0x2
|
|
#define MAP__CAMAC_FIELD_CSR 0x3
|
|
#define MAP__CAMAC_SEMAPHORE 0x4
|
|
#define MAP__DELTAT_CB 0x5
|
|
#define MAP__DELTAT_SCALERS 0x6
|
|
#define CAMIF__JCC 0x1
|
|
#define CAMIF__GEC0 0x3
|
|
#define CAMIF__CES 0x4
|
|
#define CAMIF__BIRA 0x5
|
|
#define CAMIF__GEC1 0x6
|
|
#define CAMIF__GEC2 0x7
|
|
#define CAMIF__GEC3 0x8
|
|
#define CAMIF__CCP 0x9
|
|
#define CAMIF__OS9 0xA
|
|
#define CAMIF__KCBD 0xB
|
|
#define CAMIF__VAN 0xC
|
|
#define CAMIF__KVCC 0xD
|
|
#define CAMIF__M_XQ 0x3
|
|
#define CAMIF__X_Q 0x0
|
|
#define CAMIF__X_NOQ 0x1
|
|
#define CAMIF__NOX_Q 0x2
|
|
#define CAMIF__NOX_NOQ 0x3
|
|
#define CAMIF__NO_CAMIF 0x4
|
|
#define CAMIF__TMOUT 0x8
|
|
#define CAMIF__ILLPAR 0xC
|
|
#define CAMIF__RPTFAIL 0x14
|
|
#define CAMIF__SEMTMO 0x18
|
|
#define MSR__BUSY 0x1
|
|
#define MSR__OK 0x2
|
|
#define MSR__REF_OK 0x4
|
|
#define MSR__STOPPED 0x8
|
|
#define MSR__LO_LIM 0x10
|
|
#define MSR__HI_LIM 0x20
|
|
#define MSR__HALT 0x40
|
|
#define MSR__RUN_FAULT 0x80
|
|
#define MSR__RUN_FAIL 0x100
|
|
#define MSR__POS_FAULT 0x200
|
|
#define MSR__POS_FAIL 0x400
|
|
#define MSR__REF_FAIL 0x800
|
|
#define MSR__AC_FAIL 0x1000
|
|
#define MSR__LIM_ERR 0x2000
|
|
#define SS__HALT 0x1
|
|
#define SS__CCW 0x2
|
|
#define SS__STP 0x4
|
|
#define SS__LS1 0x8
|
|
#define SS__LS2 0x10
|
|
#define SS__LSX 0x20
|
|
#define EL737_STATE_UNKNOWN 0xFFFFFFFE
|
|
#define EL737_STATE_OFFLINE 0xFFFFFFFF
|
|
#define EL737_STATE_MS 0x0
|
|
#define EL737_STATE_PTS 0x1
|
|
#define EL737_STATE_PCS 0x2
|
|
#define EL737_STATE_LRTS 0x5
|
|
#define EL737_STATE_LRCS 0x6
|
|
#define EL737_STATE_PTSP 0x9
|
|
#define EL737_STATE_PCSP 0xA
|
|
#define EL737_STATE_LRTSP 0xD
|
|
#define EL737_STATE_LRCSP 0xE
|
|
#define SINQHM_CNCT 0x1
|
|
#define SINQHM_CONFIG 0x2
|
|
#define SINQHM_DECONFIG 0x3
|
|
#define SINQHM_EXIT 0x4
|
|
#define SINQHM_STATUS 0x5
|
|
#define SINQHM_DBG 0x6
|
|
#define SINQHM_CLOSE 0x101
|
|
#define SINQHM_INH 0x102
|
|
#define SINQHM_IOREG 0x103
|
|
#define SINQHM_READ 0x104
|
|
#define SINQHM_SET_TDC 0x105
|
|
#define SINQHM_SHOW 0x106
|
|
#define SINQHM_WRITE 0x107
|
|
#define SINQHM_ZERO 0x108
|
|
#define INH_SET 0x1
|
|
#define INH_CLR 0x2
|
|
#define INH_TST 0x3
|
|
#define IO_SET 0x1
|
|
#define IO_CLR 0x2
|
|
#define IO_PULSE 0x3
|
|
#define TT_PORT__NO_RETRY 0x1
|
|
#define TT_PORT__NO_SIG 0x2
|