pci bus command protocol definition. More...
Go to the source code of this file.
Data Structures | |
struct | LLC200_INIT |
LLC200_INIT acq216 host side buffer for host side initialisation. More... | |
struct | STATUS_CHANGE_NOTIFICATION_REQUEST |
struct | HOST_REQUEST_DATA_RECORD |
struct | ACQ32_PULL_OUTPUT_DATA_RECORD |
struct | MESSAGE_HEADER |
struct | MESSAGE |
I2O message handling. More... | |
Defines | |
#define | BP_REV "$Revision: 1.85.2.28 $" |
#define | BP_MB_COMMAND 0 |
#define | BP_MB_A3 1 |
#define | BP_MB_A4 2 |
#define | BP_MB_STATUS 3 |
#define | BP_CI_ACK_BIT 31 |
#define | BP_CI_DONE_BIT 30 |
#define | BP_CI_COMMAND_BIT 29 |
#define | BP_CI_QUERY_BIT 28 |
#define | BP_CI_A3_BIT 27 |
#define | BP_CI_A4_BIT 26 |
#define | MASK(bit) (1U<<(bit)) |
#define | BP_CI_ACK MASK(BP_CI_ACK_BIT) |
#define | BP_CI_DONE MASK(BP_CI_DONE_BIT) |
#define | BP_CI_A3 MASK(BP_CI_A3_BIT) |
#define | BP_CI_A4 MASK(BP_CI_A4_BIT) |
#define | BP_CI_QUERY MASK(BP_CI_QUERY_BIT) |
#define | BP_CI_COMMAND MASK(BP_CI_COMMAND_BIT) |
#define | BP_GET_FUNCODE(command) (((command)>>16)&0x0ff) |
#define | BP_SET_FUNCODE(funcode) ((funcode)<<16) |
#define | BP_GET_A1(command) (((command)>>8)&0x0ff) |
#define | BP_SET_A1(a1) ((a1)<<8) |
#define | BP_GET_A2(command) ((command)&0x0ff) |
#define | BP_SET_A2(a2) (a2) |
#define | BP_GET_MODE(status) (((status)>>24)&0x07f) |
#define | BP_SET_MODE(mode) ((mode)<<24) |
#define | BP_GET_ERROR(status) ((status&0x80000000)!=0) |
#define | BP_SET_ERROR(status) ((status)<<31) |
#define | BP_GET_STATE(status) (((status)>>16)&0x0ff) |
#define | BP_SET_STATE(state) ((state)<<16) |
#define | BP_GET_CYCLE(status) (((status)>>12)&0xf) |
#define | BP_SET_CYCLE(status) ((status)<<12) |
#define | BP_GET_HEARTBEAT(status) ((status)&0x0fff) |
#define | BP_SET_HEARTBEAT(status) ((status)&0x0fff) |
#define | BP_FC_SET_DEBUG fcb |
#define | BP_FC_SET_INTERRUPTS FCI |
#define | BP_FC_SET_INTCLOCK fci |
#define | BP_FC_GET_INTCLOCK fci |
#define | BP_FC_SET_EXTCLOCK fce |
#define | BP_FC_GET_EXTCLOCK fce |
#define | BP_FC_SET_TAGGING FCT |
#define | BP_FC_SET_HOST_DMABUF FCB |
#define | BP_FC_SET_SPIN FCY |
#define | BP_FC_BIG_DUMP FCU |
#define | BP_FC_GET_FWREV FCR |
#define | BP_FC_GET_CONFIG FCV |
#define | BP_FC_GET_CALINFO FCW |
#define | BP_FC_GET_CAPTURESTATS FCE |
#define | BP_FC_DEBUG_GET_REGS FCQ |
#define | BP_FC_GET_NUMSAMPLES FCN |
#define | BP_FC_SET_ROUTE fcr |
#define | BP_FC_SET_MASK_RAW 'r' |
#define | BP_FC_SET_MASK_ROW 'R' |
#define | BP_FC_SET_MASK_CHAN 'C' |
#define | BP_FC_SET_CALDACS FCC |
#define | BP_FC_SET_DACPOT FCP |
#define | BP_FC_SET_DACPOT_UP BP_SET_A2( 'u' ) |
#define | BP_FC_SET_DACPOT_DN BP_SET_A2( 'd' ) |
#define | BP_FC_SET_MODE FCM |
#define | BP_FC_SET_MODE_GC FCG |
#define | BP_FC_SET_MODE_TC FCH |
#define | BP_FC_SM_FLAGS_DEB 0x80 |
#define | BP_FC_SM_FLAGS_NEM 0x40 |
#define | BP_FC_SET_ARM FCA |
#define | BP_FC_SET_ABORT FCZ |
#define | BP_FC_SET_MASK FCK |
#define | BP_FC_GET_MASK FCK |
#define | BPFC_GET_MODEL fck |
#define | BPFC_GET_NCHANNELS fcn |
#define | BPFC_GET_RANGE fcm |
#define | BP_FC_RESERVE_AO fca |
#define | BP_FC_QUERY_AO fca |
#define | BP_FC_SET_DACS FCD |
#define | BP_FC_SET_DO fcf |
#define | BP_FC_SET_XO_FUNCTION 'F' |
#define | BP_FC_SET_XO_CLEAR 0x80 |
#define | BP_FC_SET_XO_END 0x40 |
#define | BP_FC_SET_XO_DATA 0x02 |
#define | BP_FC_SET_XO_CYCLE 0x01 |
#define | BP_FC_SC_GET_DIO fcd |
#define | BP_FC_SC_SET_DIO fcd |
#define | BP_FC_SC_SET_CHANNEL fcc |
#define | BP_FC_SC_SET_CHANNEL_CH_LSB 24 |
#define | BP_FC_SC_SET_CHANNEL_G1_LSB 16 |
#define | BP_FC_SC_SET_CHANNEL_G2_LSB 8 |
#define | BP_FC_SC_SET_CHANNEL_V_EX_LSB 0 |
#define | BYTE_ENCODE_BIT(lsb, val) ((val)<<(lsb)) |
#define | BYTE_DECODE_BIT(lsb, val) (((val)>>(lsb))&0xff) |
#define | BP_FC_SC_POT fcp |
#define | BP_FC_SC_POT_BOARD0 0x00 |
#define | BP_FC_SC_POT_BOARD1 0x80 |
#define | BP_FC_SC_POT_1V 0x00 |
#define | BP_FC_SC_POT_2V 0x04 |
#define | BP_FC_SC_POT_5V 0x08 |
#define | BP_FC_SC_POT_10V 0x0c |
#define | BP_FC_SET_DISTRIBUTOR fcs |
#define | BP_FC_SET_DIST_NORMAL 0 |
#define | BP_FC_SET_DIST_ID 1 |
#define | BP_FC_SET_DIST_ID_ALL 2 |
#define | BP_FC_SET_DATA_TRIGGER 0x0d |
#define | BP_FC_SET_DATA_TRIGGER_MULTI 0x0e |
#define | BP_FC_SET_DATA_EDGE_TRIGGER 0x1d |
#define | BP_FC_SET_DATA_EDGE_TRIGGER_MULTI 0x1e |
#define | BP_FC_SET_DATA_FAST_TRIGGER_MULTI 0x1f |
#define | BP_FC_SELECT_CALSET fcl |
#define | BP_FC_GET_ATRIGGER fc80 |
#define | BP_FC_ADJUST_TRIGGER fc80 |
#define | BP_GUT_FC_FX_AI 0x80 |
#define | BP_GUT_FC_FX_AO 0x40 |
#define | BP_GUT_FC_FX_DO 0x20 |
#define | BP_GUT_FC_EV 0x10 |
#define | BP_GUT_FC_EPMASK 0x0f |
#define | BP_GUT_SETPHASE fc1 |
#define | BP_GUT_GETPHASE fc1 |
#define | BP_GUT_SETEVENT fc2 |
#define | BP_GUT_GETEVENT fc2 |
#define | BP_GUT_FIREEVENT fc3 |
#define | BP_GUT_SETCLOCK fc4 |
#define | BP_GUT_CLOCKNOW fc5 |
#define | BP_GUT_RESET fc6 |
#define | BP_FC_SET_DATA_THRESHOLD fct |
#define | BP_FC_USER fcu |
#define | BP_FC_USER_LED3_ON 0x1 |
#define | BP_FC_USER_LED3_OFF 0x2 |
#define | BP_FC_USER_LED3_FLIP 0x3 |
#define | BP_FC_USER_LED4_ON 0x4 |
#define | BP_FC_USER_LED4_OFF 0x8 |
#define | BP_FC_USER_LED4_FLIP 0xc |
#define | BP_FC_WAIT_EVENT fcw |
#define | BP_FC_FETCH_DATA FCF |
#define | BP_FC_TXDATA FCX |
#define | BP_FC_STREAM FCS |
#define | BP_FC_STREAM_MEAN 0x01 |
#define | BP_FC_STREAM_NPAIRS 0xf0 |
#define | BP_FC_STREAM_BURST 0x02 |
#define | BP_FC_GET_NPAIRS(f) (((f)&BP_FC_STREAM_NPAIRS)>>4) |
#define | BP_FC_SET_NPAIRS(p) (((p)<<4)&BP_FC_STREAM_NPAIRS) |
#define | BP_INT_COMMAND_ACK 0x0001 |
#define | BP_INT_STATUS_CHANGE 0x0002 |
#define | BP_INT_LLC_DMA_DONE 0x0004 |
#define | BP_INT_LLC_ERROR 0x0008 |
#define | BS_16K 0x4000 |
#define | BS_1K 0x400 |
#define | BP_A1_START_BS_16K 0x01 |
#define | BP_A1_LENGTH_BS_16K 0x02 |
#define | BP_A1_START_BS_1K 0x04 |
#define | BP_A1_LENGTH_BS_1K 0x08 |
#define | BP_A1_FETCH_PRETRIGGER 0x10 |
#define | MAX_START_CODING 0xffffU |
#define | MAX_LENGTH_CODING 0xffffU |
#define | SF0 0xfe |
#define | SF1 0xed |
#define | SUBFRAME_MASK 0x3f |
#define | NSUBFRAMES 0x40 |
#define | NID_BITS 0x30 |
#define | nX_bit 15 |
#define | T_bit 14 |
#define | s0_bit 8 |
#define | MFX_SF0 0 |
#define | MFX_SF1 1 |
#define | MFX_MF2 2 |
#define | MFX_MF3 3 |
#define | MFX_FNa 4 |
#define | MFX_FNb 5 |
#define | MFX_Ja 6 |
#define | MFX_Jb 7 |
#define | MFX_Jc 8 |
#define | MFX_Jd 9 |
#define | MFX_ESa 10 |
#define | MFX_ESb 11 |
#define | MFX_ESc 12 |
#define | MFX_ESd 13 |
#define | MFX_ESOFa 14 |
#define | MFX_ESOFb 15 |
#define | MFX_ESOFc 16 |
#define | MFX_DIO 17 |
#define | MFX_EDIOa 18 |
#define | MFX_EDIOb 19 |
#define | MFX_EDIOc 20 |
#define | MFX_EDIOd 21 |
#define | MFX_BLENa 22 |
#define | MFX_BLENb 23 |
#define | MFX_BDELa 24 |
#define | MFX_BDELb 25 |
#define | MFX_OVER 26 |
#define | MFX_MFNa 28 |
#define | MFX_MFNb 29 |
#define | MFX_MFNc 30 |
#define | MFX_MFNd 31 |
#define | MFX_TVSa 32 |
#define | MFX_TVSb 33 |
#define | MFX_TVSc 34 |
#define | MFX_TVSd 35 |
#define | MFX_TVUSa 36 |
#define | MFX_TVUSb 37 |
#define | MFX_TVUSc 38 |
#define | MFX_TVUSd 39 |
#define | MF_MF2 0xf0 |
#define | MF_MF3 0x01 |
#define | MF_FILLa 0xf1 |
#define | MF_FILLb 0x11 |
#define | MT_TYPE_SHIFT 24 |
#define | MT_TYPE_MASK (0xffU<<MT_TYPE_SHIFT) |
#define | MT_PRAM_MASK ~(MT_TYPE_MASK) |
#define | MT_ID(type) ((type)&MT_TYPE_MASK) |
#define | MT_PRAM(type) ((type)&MT_PRAM_MASK) |
#define | MT_STREAM (BP_FC_STREAM<<MT_TYPE_SHIFT) |
#define | MTP_STREAM_IS_TAGGED 0x800000 |
#define | MTP_STREAM_END_PACKET 0x400000 |
#define | MTP_STREAM_NCHAN_MASK 0x0000ff |
#define | MTP_STREAM_NSAM_MASK 0x00ff00 |
#define | MTP_STREAM_NCHAN(type) ((type)&MTP_STREAM_NCHAN_MASK) |
#define | MTP_STREAM_NSAM(type) (((type)&MTP_STREAM_NSAM_MASK)>>8) |
#define | MTP_STREAM_SLEN(type) ((MTP_STREAM_NCHAN(type)+(((type)&MTP_STREAM_IS_TAGGED)!=0?2:0))*2) |
#define | MT_FWREV (BP_FC_GET_FWREV<<MT_TYPE_SHIFT) |
#define | MT_BIGDUMP_COMPLETE (BP_FC_BIG_DUMP<<MT_TYPE_SHIFT) |
#define | MT_GETCONFIG BP_FC_GET_CONFIG |
#define | FLAVOR_KEY "FLAVOR" |
#define | MT_GETCALINFO (BP_FC_GET_CALINFO<<MT_TYPE_SHIFT) |
#define | MT_GETCAPTURESTATS (BP_FC_GET_CAPTURESTATS<<MT_TYPE_SHIFT) |
#define | BP_FC_SET_MODE_LLC FCL |
#define | BP_FC_SET_MODE_LLC_SOFTCLOCK 0x80 |
#define | BP_FC_SET_MODE_LLC_EXTCLOCK 0x40 |
#define | BP_FC_SET_MODE_LLC_CLKPOL_POS 0x20 |
#define | BP_FC_SET_MODE_LLC_TRPOL_POS 0x10 |
#define | BP_FC_SET_LLCV2_INIT 0x08 |
#define | BP_FC_SET_RTCLOCK_TIMING 0x04 |
#define | BP_FC_SET_MODE_LLC_INTSOFT_CLK 0x01 |
#define | BP_FC_SET_MODE_LLC_INTDIV_CLK 0x02 |
#define | BP_MB_LLC_CSR 0 |
#define | BP_MB_LLC_DATA_ADDR 1 |
#define | BP_MB_LLC_TADC 2 |
#define | BP_MB_LLC_TINST 3 |
#define | LLC_CSR_SACK 0x80000000 |
#define | LLC_CSR_SNACK 0x40000000 |
#define | LLC_CSR_READY 0x10000000 |
#define | LLC_CSR_S_IS_ARMED 0x08000000 |
#define | LLC_CSR_S_CTR_RUN 0x04000000 |
#define | LLC_CSR_S_DMA_DONE 0x02000000 |
#define | LLC_CSR_S_ERROR 0x01000000 |
#define | LLC_CSR_S_TCYCLE 0x00ff0000 |
#define | LLC_MAKE_TCYCLE(tc) ((tc)<<16) |
#define | LLC_GET_TCYCLE(csr) (((csr)&LLC_CSR_S_TCYCLE)>>16) |
#define | LLC_CSR_M_DECIM 0x00000f00 |
#define | LLC_MAKE_DECIM(decim) ((decim)<<8) |
#define | LLC_GET_DECIM(csr) (((csr)&LLC_CSR_M_DECIM)>>8) |
#define | LLC_CSR_M_LLC200_INIT 0x00000080 |
#define | LLC_CSR_M_AUTOINCR 0x00000020 |
#define | LLC_CSR_M_SETADDR 0x00000010 |
#define | LLC_CSR_M_READCTR 0x00000008 |
#define | LLC_CSR_M_ESC 0x00000004 |
#define | LLC_CSR_M_ARM 0x00000002 |
#define | LLC_CSR_M_SOFTCLOCK 0x00000001 |
#define | LLCV2_INIT_MAGIC_MARKER 0xfeedc0de |
LLCV2 ... | |
#define | LLCV2_INIT_MARKER 0 |
#define | LLCV2_INIT_AI_HSBT 1 |
#define | LLCV2_INIT_AO_HSBS 2 |
#define | LLCV2_INIT_DO_HSBS 3 |
#define | LLCV2_INIT_STATUS_HSBT 4 |
#define | LLCV2_INIT_LAST 5 |
#define | LLCV2_INIT_MAGIC_AO32 0xfeedcade |
LLCV2 ... | |
#define | LLCV2_INIT_AO32PA0 5 |
#define | LLCV2_INIT_AO32_MAX 8 |
#define | LLCV2_INIT_AO32_LAST 13 |
#define | LLC200_INIT_MAGIC_MARKER 0x200cafe0 |
#define | LLC200_INIT_MASK_DDS_FTW 0x0001 |
LLC200_INIT_MASK change the parameter when its mask is set. | |
#define | LLC200_INIT_MASK_RANGE 0x0002 |
#define | LLC200_INIT_MASK_OFFSETS 0x0004 |
#define | LLC200_INIT_MASK_TRIG 0x0008 |
#define | LLC200_INIT_MASK_CHANNEL 0x0010 |
#define | LLC200_INIT_MASK_INTCLK 0x0020 |
#define | LLC200_INIT_MASK_DDS_QDAC 0x0040 |
#define | LLC200_INIT_TRIG_EXTRIG 0x0010 |
#define | LLC200_INIT_TRIG_EXTLINE 0x000f |
#define | LLC200_INIT_TRIG_RISING 0x0020 |
#define | LLC200_INIT_CHANNEL_MASK_ANTIPHASE 0x80000000 |
#define | LLC200_INIT_CHANNEL_MASK_BLOCKLEN_MASK 0x0fff0000 |
#define | LLC200_INIT_CHANNEL_MASK_BLOCKLEN_SHIFT 16 |
#define | LLC200_INIT_CHANNEL_BLOCKLEN_1K 10 |
#define | LLCV2_STATUS_MBOX0 0 |
format of host side status area u32[index]. | |
#define | LLCV2_STATUS_MBOX1 1 |
#define | LLCV2_STATUS_MBOX2 2 |
#define | LLCV2_STATUS_MBOX3 3 |
#define | LLCV2_STATUS_DIO 4 |
#define | LLCV2_STATUS_TINST 5 |
#define | LLCV2_STATUS_TLATCH 6 |
#define | LLCV2_STATUS_BDR 7 |
#define | LLC_SYNC2V_DO 8 |
LLC SYNC2V - two vector case, standard offsets. | |
#define | LLC_SYNC2V_AO32 10 |
#define | AO32_VECLEN (32*sizeof(short)+8*sizeof(char)) |
#define | INDEX_OF_LLC_SYNC2V_AO32(icard) (LLC_SYNC2V_AO32 + (icard)*AO32_VECLEN/sizeof(u32)) |
#define | LLC_SYNC2V_IN_MBOX0 LLCV2_STATUS_MBOX0 |
#define | LLC_SYNC2V_IN_MBOX1 LLCV2_STATUS_MBOX1 |
#define | LLC_SYNC2V_IN_MBOX2 LLCV2_STATUS_MBOX2 |
#define | LLC_SYNC2V_IN_MBOX3 LLCV2_STATUS_MBOX3 |
#define | LLC_SYNC2V_IN_DIO6 LLCV2_STATUS_DIO |
#define | LLC_SYNC2V_IN_TINST LLCV2_STATUS_TINST |
#define | LLC_SYNC2V_IN_TLATCH LLCV2_STATUS_TLATCH |
#define | LLC_SYNC2V_IN_BDR LLCV2_STATUS_BDR |
#define | LLC_SYNC2V_IN_ITER (LLCV2_STATUS_BDR+1) |
#define | LLC_SYNC2V_IN_DI32 (LLCV2_STATUS_BDR+2) |
#define | LLC_SYNC2V_IN_LASTE (LLCV2_STATUS_BDR+3) |
#define | LLC_SYNC2V_IN_TLAT32 (LLCV2_STATUS_BDR+4) |
#define | LLC_SYNC2V_IN_VERID (LLCV2_STATUS_BDR+5) |
#define | LLC_SYNC2V_IN_SCOUNT (LLCV2_STATUS_BDR+6) |
#define | LLC_SYNC2V_IN_FIFSTA (LLCV2_STATUS_BDR+7) |
#define | LLC_SYNC2V_IN_LAST (LLCV2_STATUS_MBOX0+15) |
#define | LLC_SYNC2V_IDLE_PAT 0x2f2fc0de |
#define | BP_FC_SETMODE_HTM fch |
HTM HTM HTM HTM HTM. | |
#define | BP_FC_SETMODE_HTM_V2 0x80 |
#define | BP_FC_SETMODE_HTM_STATUSBUF 0x40 |
#define | BP_FC_SETMODE_HTM_HOFF 0x1f |
#define | HTM_V2_STATUS_OVERRUN 0x1 |
#define | HTM_V2_STATUS_COMPLETE 0x2 |
#define | BP_MB_HTM_CSR 0 |
#define | BP_MB_HTM_DATA_ADDR 1 |
#define | BP_MB_HTM_STATUS_ADDR 2 |
#define | BP_MB_HTM_CURRENT_ADDR 3 |
#define | HTM_CSR_SACK 0x80000000 |
#define | HTM_CSR_SNACK 0x40000000 |
#define | HTM_CSR_READY 0x10000000 |
#define | HTM_CSR_S_IS_ARMED 0x08000000 |
#define | HTM_CSR_S_OVERRUN 0x04000000 |
#define | HTM_CSR_S_COMPLETE 0x02000000 |
#define | HTM_CSR_M_SETADDR 0x00000010 |
#define | HTM_CSR_M_RECYCLE 0x00000020 |
#define | HTM_CSR_M_INTERRUPT 0x00000100 |
#define | HTM_HOSTBUF_MB 0x00fff000 |
#define | HTM_CSR_M_ESC 0x00000004 |
#define | HTM_CSR_M_ARM 0x00000002 |
#define | HTM_GET_BUFFLEN_BYTES(csr) ( ((csr)&HTM_HOSTBUF_MB)<<(20-12) ) |
#define | HTM_SET_BUFFLEN_BYTES(len) ( ((len)>>20)<<12 ) |
#define | MT_COMMAND_PACKET (fcz<<MT_TYPE_SHIFT) |
#define | MAKE_MT_COMMAND(subtype) (MT_COMMAND_PACKET|(subtype)) |
#define | HRD_CHAN_IS_FILE 0x8000 |
#define | HRD_CHAN_EOF 0x0400 |
#define | HRD_CHECKED 0x4000 |
#define | HRD_ABS_PCI 0x2000 |
#define | HRD_READ_NEXT 0x1000 |
#define | HRD_CHANNEL(hrd) (((hrd)->chan)&0x0ff) |
#define | HRD_SPCLID(hrd) (((hrd)->chan)&0x07f) |
#define | HRD_WAVETRACK 0x2000 |
#define | HRD_TRACK(chan) ((chan>>5)&0x7) |
#define | HRD_CHAN(chan) (((chan)&0x1f)+1) |
#define | HRD_SPCLID_BATCHTO 99 |
#define | HRD_SPCLID_BATCHOUT 100 |
#define | HRD_SPCLID_BATCHIO 101 |
#define | HRD_SPCLID_BATCHRSH 102 |
#define | HRD_SPCLID_ACQCMD 109 |
#define | REQUESTMAXBYTES(hrdr) ((hrdr).nsamples) |
#define | START_LATEST 0xFFFFFFFF |
#define | T_ISAMPLE_BIT 0x0040 |
#define | T_SUBFRAME_MASK 0x003f |
#define | T_CHANNEL_MASK 0x0f80 |
#define | T_TRIGGER_BIT 0x8000 |
#define | T_RAMP_MASK 0x7000 |
#define | BP_FC_CPCI_SET_ROUTE fcy |
#define | BP_FC_CPCI_GETROUTE_STATUS fcy |
#define | MAKE_ID_DTACQ(n) (((n)&0x7f)<<8|0xDC) |
#define | IS_ID_DTACQ(id) (((id)&0xff)==0xDC) |
#define | GET_IDN(id) ((id)>>8) |
#define | MID_NOT_VALID 0x8000 |
#define | MESSAGE_HEADER_SIZE (sizeof(MessageHeader)) |
#define | MESSAGE_LEN (0x400) |
#define | MESSAGE_DATA_LEN (MESSAGE_LEN-MESSAGE_HEADER_SIZE) |
#define | HRDR_SZ (sizeof(struct HOST_REQUEST_DATA_RECORD)) |
#define | MESSAGE_HRDR_LEN (MESSAGE_DATA_LEN/HRDR_SZ) |
#define | MESSAGE_ACTUAL_LEN(message) (sizeof(MessageHeader) + (message)->header.length) |
Typedefs | |
typedef struct STATUS_CHANGE_NOTIFICATION_REQUEST | StatusChangeNotificationRequest |
typedef struct HOST_REQUEST_DATA_RECORD | HostRequestDataRecord |
typedef struct ACQ32_PULL_OUTPUT_DATA_RECORD | Acq32PullOutputDataRecord |
typedef struct MESSAGE_HEADER | MessageHeader |
typedef struct MESSAGE | Message |
I2O message handling. | |
Enumerations | |
enum | FUNCODES { FCA = 'A', FCB = 'B', FCC = 'C', FCD = 'D', FCE = 'E', FCF = 'F', FCG = 'G', FCH = 'H', FCI = 'I', FCK = 'K', FCL = 'L', FCM = 'M', FCN = 'N', FCP = 'P', FCQ = 'Q', FCR = 'R', FCS = 'S', FCT = 'T', FCU = 'U', FCV = 'V', FCW = 'W', FCX = 'X', FCY = 'Y', FCZ = 'Z', fca = 'a', fcb = 'b', fcc = 'c', fcd = 'd', fce = 'e', fcf = 'f', fch = 'h', fci = 'i', fck = 'k', fcl = 'l', fcm = 'm', fcn = 'n', fcp = 'p', fcr = 'r', fcs = 's', fct = 't', fcu = 'u', fcw = 'w', fcy = 'y', fcz = 'z', fc1 = '1', fc2 = '2', fc3 = '3', fc4 = '4', fc5 = '5', fc6 = '6', fc80 = '\x80', keep_arm_sdt_happy = 0xdead } |
enum | ACQXX_FLAVOR { ACQXX_FLAVOR32 = 32, ACQXX_FLAVOR16 = 16, ACQXX_FLAVOR_NOT_FOUND } |
enum | ACQ32_DIOSELECT { ACQ32_DIO_NONE = 0, ACQ32_DI_0 = MASK(0), ACQ32_DI_1 = MASK(1), ACQ32_DI_2 = MASK(2), ACQ32_DI_3 = MASK(3), ACQ32_DI_4 = MASK(4), ACQ32_DI_5 = MASK(5), ACQ32_DO_0 = MASK(0), ACQ32_DO_1 = MASK(1), ACQ32_DO_2 = MASK(2), ACQ32_DO_3 = MASK(3), ACQ32_DO_4 = MASK(4), ACQ32_DO_5 = MASK(5) } |
enum | BPFC_RANGE { BPFC_RANGE_UNKNOWN = 0, BPFC_RANGE_10_10 = 1, BPFC_RANGE_05_05, BPFC_RANGE_02_02, BPFC_RANGE_01_01, BPFC_RANGE_2p5_2p5 } |
enum | PHASE_PROPERTY { PP_REQUESTED_SAMPLES = 1, PP_ACTUAL_SAMPLES, PP_STATE } |
enum | EVENT_CONDITION { EC_NONE, EC_TRUE, EC_SOFT, EC_TRIGGER_RISING, EC_TRIGGER_FALLING, EC_DATA_ABOVE, EC_DATA_BELOW } |
enum | CLOCK_SOURCE { CS_DI0, CS_DI1, CS_DI2, CS_DI3, CS_DI4, CS_DI5, CS_SOFT_CLOCK, CS_INT_CLOCK } |
enum | MTC_SUBTYPES { MTC_TEST, MTC_HOST_REQUEST_DATA, MTC_LOAD_AO, MTC_LOAD_DO, MTC_DEBUG_TEXT, MTC_HOST_REQUEST_X_DATA, MTC_REQUEST_STATUS_CHANGE_NOTIFICATION, MTC_HOST_REQUEST_DATA_HOSTBOUND, MTC_HOST_REQUEST_DATA_ACQBOUND, MTC_LAST } |
enum | Q32C_SR_FUNC { Q32C_SR_FUNC_DI0, Q32C_SR_FUNC_DI1, Q32C_SR_FUNC_DI2, Q32C_SR_FUNC_DI3, Q32C_SR_FUNC_DI4, Q32C_SR_FUNC_DI5, Q32C_SR_FUNC_AICLK = 0, Q32C_SR_FUNC_AITRIG, Q32C_SR_FUNC_AOCLK, Q32C_SR_FUNC_AOTRIG, Q32C_SR_FUNC_DOCLK, Q32C_SR_FUNC_DOTRIG } |
enum | Q32C_SR_DEST { Q32C_SR_DEST_NONE = 0x00, Q32C_SR_DEST_MIx = 0x01, Q32C_SR_DEST_MOx = 0x02, Q32C_SR_DEST_J50 = 0x04, Q32C_SR_DEST_J51 = 0x04, Q32C_SR_DEST_J52 = 0x04, Q32C_SR_DEST_J53 = 0x04, Q32C_SR_DEST_J34 = 0x04, Q32C_SR_DEST_J35 = 0x04, Q32C_SR_DEST_PXI_TRIG0 = 0x08, Q32C_SR_DEST_PXI_TRIG1 = 0x08, Q32C_SR_DEST_PXI_TRIG2 = 0x08, Q32C_SR_DEST_PXI_TRIG3 = 0x08, Q32C_SR_DEST_PXI_TRIG4 = 0x08, Q32C_SR_DEST_PXI_TRIG5 = 0x08, Q32C_SR_DEST_PXI_TRIG6 = 0x10, Q32C_SR_DEST_PXI_TRIG7 = 0x10, Q32C_SR_DEST_PXI_STAR = 0x10, Q32C_SR_DEST_PXI_CLK10 = 0x10 } |
Functions | |
struct LLC200_INIT | __attribute__ ((packed)) |
LLC200_INIT acq216 host side buffer for host side initialisation. | |
Variables | |
unsigned | marker |
unsigned | mask |
LLC200_INIT_MAGIC_MARKER. | |
unsigned char | dds_ftw [8] |
indicates the fields to change. | |
union { | |
unsigned long long ull | |
unsigned short w [4] | |
} | vranges |
6 byte ftw, 2 byte QDAC | |
unsigned short | offsets [16] |
unsigned | trig |
channels 1..16. | |
unsigned | channel_mask |
trigger definition | |
unsigned | int_clk |
0xf,0xff,0xfff,0xffff {4m,8,12,16} | |
enum MTC_SUBTYPES | __attribute__ |
pci bus command protocol definition.
Applies to all D-TACQ pci/CompactPCI products
The Host PC is the Master, ACQ32 is the Slave
can be cleared by S to validate COMMAND
Definition in file acq32busprot.h.
#define AO32_VECLEN (32*sizeof(short)+8*sizeof(char)) |
Definition at line 1182 of file acq32busprot.h.
#define BP_A1_FETCH_PRETRIGGER 0x10 |
Definition at line 829 of file acq32busprot.h.
#define BP_A1_LENGTH_BS_16K 0x02 |
Definition at line 825 of file acq32busprot.h.
#define BP_A1_LENGTH_BS_1K 0x08 |
Definition at line 827 of file acq32busprot.h.
#define BP_A1_START_BS_16K 0x01 |
Definition at line 824 of file acq32busprot.h.
#define BP_A1_START_BS_1K 0x04 |
Definition at line 826 of file acq32busprot.h.
#define BP_CI_A3 MASK(BP_CI_A3_BIT) |
Definition at line 491 of file acq32busprot.h.
#define BP_CI_A3_BIT 27 |
Definition at line 409 of file acq32busprot.h.
#define BP_CI_A4 MASK(BP_CI_A4_BIT) |
Definition at line 492 of file acq32busprot.h.
#define BP_CI_A4_BIT 26 |
Definition at line 410 of file acq32busprot.h.
#define BP_CI_ACK MASK(BP_CI_ACK_BIT) |
Definition at line 489 of file acq32busprot.h.
#define BP_CI_ACK_BIT 31 |
Definition at line 404 of file acq32busprot.h.
Referenced by pollAck().
#define BP_CI_COMMAND MASK(BP_CI_COMMAND_BIT) |
Definition at line 494 of file acq32busprot.h.
#define BP_CI_COMMAND_BIT 29 |
Definition at line 406 of file acq32busprot.h.
Referenced by enterLLC().
#define BP_CI_DONE MASK(BP_CI_DONE_BIT) |
Definition at line 490 of file acq32busprot.h.
#define BP_CI_DONE_BIT 30 |
Definition at line 405 of file acq32busprot.h.
Referenced by enterLLC().
#define BP_CI_QUERY MASK(BP_CI_QUERY_BIT) |
Definition at line 493 of file acq32busprot.h.
#define BP_CI_QUERY_BIT 28 |
Definition at line 407 of file acq32busprot.h.
#define BP_FC_ADJUST_TRIGGER fc80 |
Definition at line 713 of file acq32busprot.h.
#define BP_FC_BIG_DUMP FCU |
Definition at line 561 of file acq32busprot.h.
#define BP_FC_CPCI_GETROUTE_STATUS fcy |
Definition at line 1407 of file acq32busprot.h.
#define BP_FC_CPCI_SET_ROUTE fcy |
Definition at line 1405 of file acq32busprot.h.
#define BP_FC_DEBUG_GET_REGS FCQ |
Definition at line 567 of file acq32busprot.h.
#define BP_FC_FETCH_DATA FCF |
Definition at line 798 of file acq32busprot.h.
#define BP_FC_GET_ATRIGGER fc80 |
Definition at line 712 of file acq32busprot.h.
#define BP_FC_GET_CALINFO FCW |
Definition at line 565 of file acq32busprot.h.
#define BP_FC_GET_CAPTURESTATS FCE |
Definition at line 566 of file acq32busprot.h.
#define BP_FC_GET_CONFIG FCV |
Definition at line 564 of file acq32busprot.h.
#define BP_FC_GET_EXTCLOCK fce |
Definition at line 553 of file acq32busprot.h.
#define BP_FC_GET_FWREV FCR |
Definition at line 563 of file acq32busprot.h.
#define BP_FC_GET_INTCLOCK fci |
Definition at line 549 of file acq32busprot.h.
#define BP_FC_GET_MASK FCK |
Definition at line 602 of file acq32busprot.h.
#define BP_FC_GET_NPAIRS | ( | f | ) | (((f)&BP_FC_STREAM_NPAIRS)>>4) |
Definition at line 807 of file acq32busprot.h.
#define BP_FC_GET_NUMSAMPLES FCN |
Definition at line 569 of file acq32busprot.h.
#define BP_FC_QUERY_AO fca |
Definition at line 625 of file acq32busprot.h.
#define BP_FC_RESERVE_AO fca |
Definition at line 624 of file acq32busprot.h.
#define BP_FC_SC_GET_DIO fcd |
Definition at line 648 of file acq32busprot.h.
#define BP_FC_SC_POT fcp |
Definition at line 667 of file acq32busprot.h.
#define BP_FC_SC_POT_10V 0x0c |
Definition at line 678 of file acq32busprot.h.
#define BP_FC_SC_POT_1V 0x00 |
Definition at line 675 of file acq32busprot.h.
#define BP_FC_SC_POT_2V 0x04 |
Definition at line 676 of file acq32busprot.h.
#define BP_FC_SC_POT_5V 0x08 |
Definition at line 677 of file acq32busprot.h.
#define BP_FC_SC_POT_BOARD0 0x00 |
Definition at line 672 of file acq32busprot.h.
#define BP_FC_SC_POT_BOARD1 0x80 |
Definition at line 673 of file acq32busprot.h.
#define BP_FC_SC_SET_CHANNEL fcc |
Definition at line 651 of file acq32busprot.h.
#define BP_FC_SC_SET_CHANNEL_CH_LSB 24 |
Definition at line 656 of file acq32busprot.h.
#define BP_FC_SC_SET_CHANNEL_G1_LSB 16 |
Definition at line 657 of file acq32busprot.h.
#define BP_FC_SC_SET_CHANNEL_G2_LSB 8 |
Definition at line 658 of file acq32busprot.h.
#define BP_FC_SC_SET_CHANNEL_V_EX_LSB 0 |
Definition at line 659 of file acq32busprot.h.
#define BP_FC_SC_SET_DIO fcd |
Definition at line 649 of file acq32busprot.h.
#define BP_FC_SELECT_CALSET fcl |
Definition at line 701 of file acq32busprot.h.
#define BP_FC_SET_ABORT FCZ |
Definition at line 600 of file acq32busprot.h.
#define BP_FC_SET_ARM FCA |
Definition at line 599 of file acq32busprot.h.
#define BP_FC_SET_CALDACS FCC |
Definition at line 585 of file acq32busprot.h.
#define BP_FC_SET_DACPOT FCP |
Definition at line 587 of file acq32busprot.h.
#define BP_FC_SET_DACPOT_DN BP_SET_A2( 'd' ) |
Definition at line 589 of file acq32busprot.h.
#define BP_FC_SET_DACPOT_UP BP_SET_A2( 'u' ) |
Definition at line 588 of file acq32busprot.h.
#define BP_FC_SET_DACS FCD |
Definition at line 627 of file acq32busprot.h.
#define BP_FC_SET_DATA_EDGE_TRIGGER 0x1d |
Definition at line 693 of file acq32busprot.h.
#define BP_FC_SET_DATA_EDGE_TRIGGER_MULTI 0x1e |
Definition at line 694 of file acq32busprot.h.
#define BP_FC_SET_DATA_FAST_TRIGGER_MULTI 0x1f |
Definition at line 695 of file acq32busprot.h.
#define BP_FC_SET_DATA_THRESHOLD fct |
Definition at line 758 of file acq32busprot.h.
#define BP_FC_SET_DATA_TRIGGER 0x0d |
Definition at line 691 of file acq32busprot.h.
#define BP_FC_SET_DATA_TRIGGER_MULTI 0x0e |
Definition at line 692 of file acq32busprot.h.
#define BP_FC_SET_DEBUG fcb |
Definition at line 527 of file acq32busprot.h.
#define BP_FC_SET_DIST_ID 1 |
Definition at line 689 of file acq32busprot.h.
#define BP_FC_SET_DIST_ID_ALL 2 |
Definition at line 690 of file acq32busprot.h.
#define BP_FC_SET_DIST_NORMAL 0 |
Definition at line 688 of file acq32busprot.h.
#define BP_FC_SET_DISTRIBUTOR fcs |
Definition at line 687 of file acq32busprot.h.
#define BP_FC_SET_DO fcf |
Definition at line 628 of file acq32busprot.h.
#define BP_FC_SET_EXTCLOCK fce |
Definition at line 551 of file acq32busprot.h.
#define BP_FC_SET_HOST_DMABUF FCB |
Definition at line 557 of file acq32busprot.h.
#define BP_FC_SET_INTCLOCK fci |
Definition at line 547 of file acq32busprot.h.
#define BP_FC_SET_INTERRUPTS FCI |
Definition at line 529 of file acq32busprot.h.
#define BP_FC_SET_LLCV2_INIT 0x08 |
Definition at line 1012 of file acq32busprot.h.
Referenced by appEnterLLC_SYNC_2VAO32(), and enterLLC_SYNC_ECM().
#define BP_FC_SET_MASK FCK |
Definition at line 601 of file acq32busprot.h.
#define BP_FC_SET_MASK_CHAN 'C' |
Definition at line 582 of file acq32busprot.h.
#define BP_FC_SET_MASK_RAW 'r' |
Definition at line 580 of file acq32busprot.h.
#define BP_FC_SET_MASK_ROW 'R' |
Definition at line 581 of file acq32busprot.h.
#define BP_FC_SET_MODE FCM |
Definition at line 592 of file acq32busprot.h.
#define BP_FC_SET_MODE_GC FCG |
Definition at line 593 of file acq32busprot.h.
#define BP_FC_SET_MODE_LLC FCL |
Definition at line 1005 of file acq32busprot.h.
Referenced by enterLLC().
#define BP_FC_SET_MODE_LLC_CLKPOL_POS 0x20 |
Definition at line 1010 of file acq32busprot.h.
Referenced by enterLLC().
#define BP_FC_SET_MODE_LLC_EXTCLOCK 0x40 |
Definition at line 1008 of file acq32busprot.h.
#define BP_FC_SET_MODE_LLC_INTDIV_CLK 0x02 |
Definition at line 1016 of file acq32busprot.h.
#define BP_FC_SET_MODE_LLC_INTSOFT_CLK 0x01 |
Definition at line 1015 of file acq32busprot.h.
#define BP_FC_SET_MODE_LLC_SOFTCLOCK 0x80 |
Definition at line 1007 of file acq32busprot.h.
#define BP_FC_SET_MODE_LLC_TRPOL_POS 0x10 |
Definition at line 1011 of file acq32busprot.h.
Referenced by enterLLC().
#define BP_FC_SET_MODE_TC FCH |
Definition at line 594 of file acq32busprot.h.
#define BP_FC_SET_NPAIRS | ( | p | ) | (((p)<<4)&BP_FC_STREAM_NPAIRS) |
Definition at line 808 of file acq32busprot.h.
#define BP_FC_SET_ROUTE fcr |
Definition at line 573 of file acq32busprot.h.
#define BP_FC_SET_RTCLOCK_TIMING 0x04 |
Definition at line 1013 of file acq32busprot.h.
#define BP_FC_SET_SPIN FCY |
Definition at line 559 of file acq32busprot.h.
#define BP_FC_SET_TAGGING FCT |
Definition at line 555 of file acq32busprot.h.
#define BP_FC_SET_XO_CLEAR 0x80 |
Definition at line 639 of file acq32busprot.h.
#define BP_FC_SET_XO_CYCLE 0x01 |
Definition at line 642 of file acq32busprot.h.
#define BP_FC_SET_XO_DATA 0x02 |
Definition at line 641 of file acq32busprot.h.
#define BP_FC_SET_XO_END 0x40 |
Definition at line 640 of file acq32busprot.h.
#define BP_FC_SET_XO_FUNCTION 'F' |
Definition at line 637 of file acq32busprot.h.
#define BP_FC_SETMODE_HTM fch |
HTM HTM HTM HTM HTM.
High thruput streaming modes
Works like this:
prams for setup command BP_FC_SETMODE_HTM A1 = prams
Definition at line 1221 of file acq32busprot.h.
#define BP_FC_SETMODE_HTM_HOFF 0x1f |
Definition at line 1229 of file acq32busprot.h.
#define BP_FC_SETMODE_HTM_STATUSBUF 0x40 |
Definition at line 1228 of file acq32busprot.h.
#define BP_FC_SETMODE_HTM_V2 0x80 |
Definition at line 1227 of file acq32busprot.h.
#define BP_FC_SM_FLAGS_DEB 0x80 |
Definition at line 596 of file acq32busprot.h.
#define BP_FC_SM_FLAGS_NEM 0x40 |
Definition at line 597 of file acq32busprot.h.
#define BP_FC_STREAM FCS |
Definition at line 801 of file acq32busprot.h.
#define BP_FC_STREAM_BURST 0x02 |
Definition at line 805 of file acq32busprot.h.
#define BP_FC_STREAM_MEAN 0x01 |
Definition at line 803 of file acq32busprot.h.
#define BP_FC_STREAM_NPAIRS 0xf0 |
Definition at line 804 of file acq32busprot.h.
#define BP_FC_TXDATA FCX |
Definition at line 799 of file acq32busprot.h.
#define BP_FC_USER fcu |
Definition at line 767 of file acq32busprot.h.
#define BP_FC_USER_LED3_FLIP 0x3 |
Definition at line 770 of file acq32busprot.h.
#define BP_FC_USER_LED3_OFF 0x2 |
Definition at line 769 of file acq32busprot.h.
#define BP_FC_USER_LED3_ON 0x1 |
Definition at line 768 of file acq32busprot.h.
#define BP_FC_USER_LED4_FLIP 0xc |
Definition at line 773 of file acq32busprot.h.
#define BP_FC_USER_LED4_OFF 0x8 |
Definition at line 772 of file acq32busprot.h.
#define BP_FC_USER_LED4_ON 0x4 |
Definition at line 771 of file acq32busprot.h.
#define BP_FC_WAIT_EVENT fcw |
Definition at line 780 of file acq32busprot.h.
#define BP_GET_A1 | ( | command | ) | (((command)>>8)&0x0ff) |
Definition at line 499 of file acq32busprot.h.
#define BP_GET_A2 | ( | command | ) | ((command)&0x0ff) |
Definition at line 502 of file acq32busprot.h.
#define BP_GET_CYCLE | ( | status | ) | (((status)>>12)&0xf) |
Definition at line 517 of file acq32busprot.h.
#define BP_GET_ERROR | ( | status | ) | ((status&0x80000000)!=0) |
Definition at line 508 of file acq32busprot.h.
#define BP_GET_FUNCODE | ( | command | ) | (((command)>>16)&0x0ff) |
Definition at line 496 of file acq32busprot.h.
#define BP_GET_HEARTBEAT | ( | status | ) | ((status)&0x0fff) |
Definition at line 520 of file acq32busprot.h.
#define BP_GET_MODE | ( | status | ) | (((status)>>24)&0x07f) |
Definition at line 505 of file acq32busprot.h.
#define BP_GET_STATE | ( | status | ) | (((status)>>16)&0x0ff) |
Definition at line 511 of file acq32busprot.h.
#define BP_GUT_CLOCKNOW fc5 |
Definition at line 751 of file acq32busprot.h.
#define BP_GUT_FC_EPMASK 0x0f |
Definition at line 738 of file acq32busprot.h.
#define BP_GUT_FC_EV 0x10 |
Definition at line 737 of file acq32busprot.h.
#define BP_GUT_FC_FX_AI 0x80 |
Definition at line 734 of file acq32busprot.h.
#define BP_GUT_FC_FX_AO 0x40 |
Definition at line 735 of file acq32busprot.h.
#define BP_GUT_FC_FX_DO 0x20 |
Definition at line 736 of file acq32busprot.h.
#define BP_GUT_FIREEVENT fc3 |
Definition at line 744 of file acq32busprot.h.
#define BP_GUT_GETEVENT fc2 |
Definition at line 743 of file acq32busprot.h.
#define BP_GUT_GETPHASE fc1 |
Definition at line 741 of file acq32busprot.h.
#define BP_GUT_RESET fc6 |
Definition at line 752 of file acq32busprot.h.
#define BP_GUT_SETCLOCK fc4 |
Definition at line 750 of file acq32busprot.h.
#define BP_GUT_SETEVENT fc2 |
Definition at line 742 of file acq32busprot.h.
#define BP_GUT_SETPHASE fc1 |
Definition at line 740 of file acq32busprot.h.
#define BP_INT_COMMAND_ACK 0x0001 |
Definition at line 812 of file acq32busprot.h.
#define BP_INT_LLC_DMA_DONE 0x0004 |
Definition at line 814 of file acq32busprot.h.
#define BP_INT_LLC_ERROR 0x0008 |
Definition at line 815 of file acq32busprot.h.
#define BP_INT_STATUS_CHANGE 0x0002 |
Definition at line 813 of file acq32busprot.h.
#define BP_MB_A3 1 |
Definition at line 399 of file acq32busprot.h.
Referenced by enterLLC().
#define BP_MB_A4 2 |
Definition at line 400 of file acq32busprot.h.
Referenced by enterLLC_SYNC_ECM(), and runSCM216().
#define BP_MB_COMMAND 0 |
Definition at line 398 of file acq32busprot.h.
Referenced by enterLLC(), and pollAck().
#define BP_MB_HTM_CSR 0 |
Definition at line 1250 of file acq32busprot.h.
#define BP_MB_HTM_CURRENT_ADDR 3 |
Definition at line 1253 of file acq32busprot.h.
#define BP_MB_HTM_DATA_ADDR 1 |
Definition at line 1251 of file acq32busprot.h.
#define BP_MB_HTM_STATUS_ADDR 2 |
Definition at line 1252 of file acq32busprot.h.
#define BP_MB_LLC_CSR 0 |
Definition at line 1025 of file acq32busprot.h.
Referenced by llGetCsr(), llPollSack(), llSetCmd(), and v2_updateTstats().
#define BP_MB_LLC_DATA_ADDR 1 |
Definition at line 1026 of file acq32busprot.h.
Referenced by llSetAddr().
#define BP_MB_LLC_TADC 2 |
Definition at line 1027 of file acq32busprot.h.
Referenced by llGetTlatch(), llSetTlatch(), llv2WaitDmaDone(), and llWaitDmaDone().
#define BP_MB_LLC_TINST 3 |
Definition at line 1028 of file acq32busprot.h.
Referenced by llGetTinst(), and v2_updateTstats().
#define BP_MB_STATUS 3 |
Definition at line 401 of file acq32busprot.h.
#define BP_REV "$Revision: 1.85.2.28 $" |
Definition at line 396 of file acq32busprot.h.
#define BP_SET_A1 | ( | a1 | ) | ((a1)<<8) |
Definition at line 500 of file acq32busprot.h.
Referenced by enterLLC(), enterLLCExtClock(), and enterLLCSoftClock().
#define BP_SET_A2 | ( | a2 | ) | (a2) |
Definition at line 503 of file acq32busprot.h.
#define BP_SET_CYCLE | ( | status | ) | ((status)<<12) |
Definition at line 518 of file acq32busprot.h.
#define BP_SET_ERROR | ( | status | ) | ((status)<<31) |
Definition at line 509 of file acq32busprot.h.
#define BP_SET_FUNCODE | ( | funcode | ) | ((funcode)<<16) |
Definition at line 497 of file acq32busprot.h.
Referenced by enterLLC().
#define BP_SET_HEARTBEAT | ( | status | ) | ((status)&0x0fff) |
Definition at line 521 of file acq32busprot.h.
#define BP_SET_MODE | ( | mode | ) | ((mode)<<24) |
Definition at line 506 of file acq32busprot.h.
#define BP_SET_STATE | ( | state | ) | ((state)<<16) |
Definition at line 512 of file acq32busprot.h.
#define BPFC_GET_MODEL fck |
Definition at line 606 of file acq32busprot.h.
#define BPFC_GET_NCHANNELS fcn |
Definition at line 607 of file acq32busprot.h.
#define BPFC_GET_RANGE fcm |
Definition at line 608 of file acq32busprot.h.
#define BS_16K 0x4000 |
Definition at line 821 of file acq32busprot.h.
#define BS_1K 0x400 |
Definition at line 822 of file acq32busprot.h.
#define BYTE_DECODE_BIT | ( | lsb, | ||
val | ||||
) | (((val)>>(lsb))&0xff) |
Definition at line 662 of file acq32busprot.h.
#define BYTE_ENCODE_BIT | ( | lsb, | ||
val | ||||
) | ((val)<<(lsb)) |
Definition at line 661 of file acq32busprot.h.
#define FLAVOR_KEY "FLAVOR" |
Definition at line 981 of file acq32busprot.h.
#define GET_IDN | ( | id | ) | ((id)>>8) |
Definition at line 1465 of file acq32busprot.h.
#define HRD_ABS_PCI 0x2000 |
Definition at line 1338 of file acq32busprot.h.
#define HRD_CHAN | ( | chan | ) | (((chan)&0x1f)+1) |
Definition at line 1346 of file acq32busprot.h.
#define HRD_CHAN_EOF 0x0400 |
Definition at line 1336 of file acq32busprot.h.
#define HRD_CHAN_IS_FILE 0x8000 |
Definition at line 1335 of file acq32busprot.h.
#define HRD_CHANNEL | ( | hrd | ) | (((hrd)->chan)&0x0ff) |
Definition at line 1341 of file acq32busprot.h.
#define HRD_CHECKED 0x4000 |
Definition at line 1337 of file acq32busprot.h.
#define HRD_READ_NEXT 0x1000 |
Definition at line 1339 of file acq32busprot.h.
#define HRD_SPCLID | ( | hrd | ) | (((hrd)->chan)&0x07f) |
Definition at line 1342 of file acq32busprot.h.
#define HRD_SPCLID_ACQCMD 109 |
Definition at line 1355 of file acq32busprot.h.
#define HRD_SPCLID_BATCHIO 101 |
Definition at line 1351 of file acq32busprot.h.
#define HRD_SPCLID_BATCHOUT 100 |
Definition at line 1350 of file acq32busprot.h.
#define HRD_SPCLID_BATCHRSH 102 |
Definition at line 1352 of file acq32busprot.h.
#define HRD_SPCLID_BATCHTO 99 |
Definition at line 1349 of file acq32busprot.h.
#define HRD_TRACK | ( | chan | ) | ((chan>>5)&0x7) |
Definition at line 1345 of file acq32busprot.h.
#define HRD_WAVETRACK 0x2000 |
Definition at line 1343 of file acq32busprot.h.
#define HRDR_SZ (sizeof(struct HOST_REQUEST_DATA_RECORD)) |
Definition at line 1479 of file acq32busprot.h.
#define HTM_CSR_M_ARM 0x00000002 |
Definition at line 1272 of file acq32busprot.h.
#define HTM_CSR_M_ESC 0x00000004 |
Definition at line 1271 of file acq32busprot.h.
#define HTM_CSR_M_INTERRUPT 0x00000100 |
Definition at line 1268 of file acq32busprot.h.
#define HTM_CSR_M_RECYCLE 0x00000020 |
Definition at line 1267 of file acq32busprot.h.
#define HTM_CSR_M_SETADDR 0x00000010 |
Definition at line 1266 of file acq32busprot.h.
#define HTM_CSR_READY 0x10000000 |
Definition at line 1261 of file acq32busprot.h.
#define HTM_CSR_S_COMPLETE 0x02000000 |
Definition at line 1264 of file acq32busprot.h.
#define HTM_CSR_S_IS_ARMED 0x08000000 |
Definition at line 1262 of file acq32busprot.h.
#define HTM_CSR_S_OVERRUN 0x04000000 |
Definition at line 1263 of file acq32busprot.h.
#define HTM_CSR_SACK 0x80000000 |
Definition at line 1258 of file acq32busprot.h.
#define HTM_CSR_SNACK 0x40000000 |
Definition at line 1259 of file acq32busprot.h.
#define HTM_GET_BUFFLEN_BYTES | ( | csr | ) | ( ((csr)&HTM_HOSTBUF_MB)<<(20-12) ) |
Definition at line 1274 of file acq32busprot.h.
#define HTM_HOSTBUF_MB 0x00fff000 |
Definition at line 1269 of file acq32busprot.h.
Definition at line 1275 of file acq32busprot.h.
#define HTM_V2_STATUS_COMPLETE 0x2 |
Definition at line 1241 of file acq32busprot.h.
#define HTM_V2_STATUS_OVERRUN 0x1 |
Definition at line 1240 of file acq32busprot.h.
#define INDEX_OF_LLC_SYNC2V_AO32 | ( | icard | ) | (LLC_SYNC2V_AO32 + (icard)*AO32_VECLEN/sizeof(u32)) |
Definition at line 1185 of file acq32busprot.h.
#define IS_ID_DTACQ | ( | id | ) | (((id)&0xff)==0xDC) |
Definition at line 1464 of file acq32busprot.h.
#define LLC200_INIT_CHANNEL_BLOCKLEN_1K 10 |
Definition at line 1154 of file acq32busprot.h.
#define LLC200_INIT_CHANNEL_MASK_ANTIPHASE 0x80000000 |
Definition at line 1149 of file acq32busprot.h.
#define LLC200_INIT_CHANNEL_MASK_BLOCKLEN_MASK 0x0fff0000 |
Definition at line 1152 of file acq32busprot.h.
#define LLC200_INIT_CHANNEL_MASK_BLOCKLEN_SHIFT 16 |
Definition at line 1153 of file acq32busprot.h.
#define LLC200_INIT_MAGIC_MARKER 0x200cafe0 |
Definition at line 1107 of file acq32busprot.h.
#define LLC200_INIT_MASK_CHANNEL 0x0010 |
Definition at line 1116 of file acq32busprot.h.
Referenced by initPrams().
#define LLC200_INIT_MASK_DDS_FTW 0x0001 |
LLC200_INIT_MASK change the parameter when its mask is set.
Definition at line 1112 of file acq32busprot.h.
#define LLC200_INIT_MASK_DDS_QDAC 0x0040 |
Definition at line 1118 of file acq32busprot.h.
#define LLC200_INIT_MASK_INTCLK 0x0020 |
Definition at line 1117 of file acq32busprot.h.
#define LLC200_INIT_MASK_OFFSETS 0x0004 |
Definition at line 1114 of file acq32busprot.h.
#define LLC200_INIT_MASK_RANGE 0x0002 |
Definition at line 1113 of file acq32busprot.h.
#define LLC200_INIT_MASK_TRIG 0x0008 |
Definition at line 1115 of file acq32busprot.h.
#define LLC200_INIT_TRIG_EXTLINE 0x000f |
Definition at line 1121 of file acq32busprot.h.
#define LLC200_INIT_TRIG_EXTRIG 0x0010 |
Definition at line 1120 of file acq32busprot.h.
#define LLC200_INIT_TRIG_RISING 0x0020 |
Definition at line 1122 of file acq32busprot.h.
#define LLC_CSR_M_ARM 0x00000002 |
Definition at line 1071 of file acq32busprot.h.
Referenced by do_run(), runSCM216(), runSYNC_2V(), runSYNC_2VAO32(), and runSYNC_ECM().
#define LLC_CSR_M_AUTOINCR 0x00000020 |
Definition at line 1064 of file acq32busprot.h.
#define LLC_CSR_M_DECIM 0x00000f00 |
Definition at line 1052 of file acq32busprot.h.
#define LLC_CSR_M_ESC 0x00000004 |
Definition at line 1070 of file acq32busprot.h.
Referenced by leaveLLC().
#define LLC_CSR_M_LLC200_INIT 0x00000080 |
Definition at line 1058 of file acq32busprot.h.
#define LLC_CSR_M_READCTR 0x00000008 |
Definition at line 1069 of file acq32busprot.h.
Referenced by do_run(), llCounterRunning(), and mbox_updateTstats().
#define LLC_CSR_M_SETADDR 0x00000010 |
Definition at line 1068 of file acq32busprot.h.
Referenced by llSetAddr().
#define LLC_CSR_M_SOFTCLOCK 0x00000001 |
Definition at line 1072 of file acq32busprot.h.
Referenced by do_run(), runSCM216(), runSYNC_2V(), runSYNC_2VAO32(), and runSYNC_ECM().
#define LLC_CSR_READY 0x10000000 |
Definition at line 1040 of file acq32busprot.h.
Referenced by enterLLC().
#define LLC_CSR_S_CTR_RUN 0x04000000 |
Definition at line 1042 of file acq32busprot.h.
Referenced by llCounterRunning().
#define LLC_CSR_S_DMA_DONE 0x02000000 |
Definition at line 1043 of file acq32busprot.h.
#define LLC_CSR_S_ERROR 0x01000000 |
Definition at line 1044 of file acq32busprot.h.
#define LLC_CSR_S_IS_ARMED 0x08000000 |
Definition at line 1041 of file acq32busprot.h.
#define LLC_CSR_S_TCYCLE 0x00ff0000 |
Definition at line 1046 of file acq32busprot.h.
#define LLC_CSR_SACK 0x80000000 |
Definition at line 1037 of file acq32busprot.h.
Referenced by llPollSack(), and llSetCmd().
#define LLC_CSR_SNACK 0x40000000 |
Definition at line 1038 of file acq32busprot.h.
Referenced by llPollSack().
#define LLC_GET_DECIM | ( | csr | ) | (((csr)&LLC_CSR_M_DECIM)>>8) |
Definition at line 1055 of file acq32busprot.h.
#define LLC_GET_TCYCLE | ( | csr | ) | (((csr)&LLC_CSR_S_TCYCLE)>>16) |
Definition at line 1049 of file acq32busprot.h.
Referenced by llGetTprocess(), sync_2v_updateTstats(), and v2_updateTstats().
#define LLC_MAKE_DECIM | ( | decim | ) | ((decim)<<8) |
Definition at line 1054 of file acq32busprot.h.
Referenced by do_run(), runSCM216(), runSYNC_2V(), runSYNC_2VAO32(), runSYNC_2VRFM(), and runSYNC_ECM().
#define LLC_MAKE_TCYCLE | ( | tc | ) | ((tc)<<16) |
Definition at line 1048 of file acq32busprot.h.
#define LLC_SYNC2V_AO32 10 |
Definition at line 1179 of file acq32busprot.h.
#define LLC_SYNC2V_DO 8 |
LLC SYNC2V - two vector case, standard offsets.
Definition at line 1174 of file acq32busprot.h.
#define LLC_SYNC2V_IDLE_PAT 0x2f2fc0de |
Definition at line 1208 of file acq32busprot.h.
#define LLC_SYNC2V_IN_BDR LLCV2_STATUS_BDR |
Definition at line 1199 of file acq32busprot.h.
#define LLC_SYNC2V_IN_DI32 (LLCV2_STATUS_BDR+2) |
Definition at line 1201 of file acq32busprot.h.
#define LLC_SYNC2V_IN_DIO6 LLCV2_STATUS_DIO |
Definition at line 1196 of file acq32busprot.h.
#define LLC_SYNC2V_IN_FIFSTA (LLCV2_STATUS_BDR+7) |
Definition at line 1206 of file acq32busprot.h.
#define LLC_SYNC2V_IN_ITER (LLCV2_STATUS_BDR+1) |
Definition at line 1200 of file acq32busprot.h.
#define LLC_SYNC2V_IN_LAST (LLCV2_STATUS_MBOX0+15) |
Definition at line 1207 of file acq32busprot.h.
Referenced by llv2WaitDmaDone_2v().
#define LLC_SYNC2V_IN_LASTE (LLCV2_STATUS_BDR+3) |
Definition at line 1202 of file acq32busprot.h.
#define LLC_SYNC2V_IN_MBOX0 LLCV2_STATUS_MBOX0 |
Definition at line 1192 of file acq32busprot.h.
Referenced by sync_2v_updateTstats().
#define LLC_SYNC2V_IN_MBOX1 LLCV2_STATUS_MBOX1 |
Definition at line 1193 of file acq32busprot.h.
#define LLC_SYNC2V_IN_MBOX2 LLCV2_STATUS_MBOX2 |
Definition at line 1194 of file acq32busprot.h.
Referenced by sync_2v_updateTstats().
#define LLC_SYNC2V_IN_MBOX3 LLCV2_STATUS_MBOX3 |
Definition at line 1195 of file acq32busprot.h.
#define LLC_SYNC2V_IN_SCOUNT (LLCV2_STATUS_BDR+6) |
Definition at line 1205 of file acq32busprot.h.
#define LLC_SYNC2V_IN_TINST LLCV2_STATUS_TINST |
Definition at line 1197 of file acq32busprot.h.
Referenced by sync_2v_updateTstats().
#define LLC_SYNC2V_IN_TLAT32 (LLCV2_STATUS_BDR+4) |
Definition at line 1203 of file acq32busprot.h.
#define LLC_SYNC2V_IN_TLATCH LLCV2_STATUS_TLATCH |
Definition at line 1198 of file acq32busprot.h.
#define LLC_SYNC2V_IN_VERID (LLCV2_STATUS_BDR+5) |
Definition at line 1204 of file acq32busprot.h.
#define LLCV2_INIT_AI_HSBT 1 |
Definition at line 1082 of file acq32busprot.h.
Referenced by initV2Stats().
#define LLCV2_INIT_AO32_LAST 13 |
Definition at line 1105 of file acq32busprot.h.
#define LLCV2_INIT_AO32_MAX 8 |
Definition at line 1103 of file acq32busprot.h.
#define LLCV2_INIT_AO32PA0 5 |
Definition at line 1102 of file acq32busprot.h.
Referenced by appEnterLLC_SYNC_2VAO32().
#define LLCV2_INIT_AO_HSBS 2 |
Definition at line 1083 of file acq32busprot.h.
Referenced by initV2Stats().
#define LLCV2_INIT_DO_HSBS 3 |
Definition at line 1084 of file acq32busprot.h.
Referenced by initV2Stats().
#define LLCV2_INIT_LAST 5 |
Definition at line 1087 of file acq32busprot.h.
#define LLCV2_INIT_MAGIC_AO32 0xfeedcade |
LLCV2 ...
host side buffer for host side initialization treat as u32[index] allows up to 8 x AO32 cards each AO32 is represented by a non-zero PA AO32/DO6 values are presented in the AO vector ..
Definition at line 1095 of file acq32busprot.h.
#define LLCV2_INIT_MAGIC_MARKER 0xfeedc0de |
LLCV2 ...
host side buffer for host side initialization treat as u32[index]
Definition at line 1079 of file acq32busprot.h.
Referenced by commandModifiers().
#define LLCV2_INIT_MARKER 0 |
Definition at line 1081 of file acq32busprot.h.
Referenced by commandModifiers(), and initV2Stats().
#define LLCV2_INIT_STATUS_HSBT 4 |
Definition at line 1085 of file acq32busprot.h.
Referenced by initV2Stats().
#define LLCV2_STATUS_BDR 7 |
Definition at line 1168 of file acq32busprot.h.
Referenced by llv2WaitDmaDone().
#define LLCV2_STATUS_DIO 4 |
Definition at line 1165 of file acq32busprot.h.
#define LLCV2_STATUS_MBOX0 0 |
format of host side status area u32[index].
Definition at line 1161 of file acq32busprot.h.
#define LLCV2_STATUS_MBOX1 1 |
Definition at line 1162 of file acq32busprot.h.
#define LLCV2_STATUS_MBOX2 2 |
Definition at line 1163 of file acq32busprot.h.
#define LLCV2_STATUS_MBOX3 3 |
Definition at line 1164 of file acq32busprot.h.
#define LLCV2_STATUS_TINST 5 |
Definition at line 1166 of file acq32busprot.h.
Referenced by v2_updateTstats().
#define LLCV2_STATUS_TLATCH 6 |
Definition at line 1167 of file acq32busprot.h.
Referenced by llv2WaitDmaDone(), and llv2WaitDmaDone_2v().
#define MAKE_ID_DTACQ | ( | n | ) | (((n)&0x7f)<<8|0xDC) |
Definition at line 1463 of file acq32busprot.h.
#define MAKE_MT_COMMAND | ( | subtype | ) | (MT_COMMAND_PACKET|(subtype)) |
Definition at line 1289 of file acq32busprot.h.
#define MASK | ( | bit | ) | (1U<<(bit)) |
Definition at line 487 of file acq32busprot.h.
Referenced by enterLLC(), and pollAck().
#define MAX_LENGTH_CODING 0xffffU |
Definition at line 832 of file acq32busprot.h.
#define MAX_START_CODING 0xffffU |
Definition at line 831 of file acq32busprot.h.
#define MESSAGE_ACTUAL_LEN | ( | message | ) | (sizeof(MessageHeader) + (message)->header.length) |
Definition at line 1482 of file acq32busprot.h.
#define MESSAGE_DATA_LEN (MESSAGE_LEN-MESSAGE_HEADER_SIZE) |
Definition at line 1478 of file acq32busprot.h.
#define MESSAGE_HEADER_SIZE (sizeof(MessageHeader)) |
Definition at line 1476 of file acq32busprot.h.
#define MESSAGE_HRDR_LEN (MESSAGE_DATA_LEN/HRDR_SZ) |
Definition at line 1480 of file acq32busprot.h.
#define MESSAGE_LEN (0x400) |
Definition at line 1477 of file acq32busprot.h.
#define MF_FILLa 0xf1 |
Definition at line 925 of file acq32busprot.h.
#define MF_FILLb 0x11 |
Definition at line 926 of file acq32busprot.h.
#define MF_MF2 0xf0 |
Definition at line 922 of file acq32busprot.h.
#define MF_MF3 0x01 |
Definition at line 923 of file acq32busprot.h.
#define MFX_BDELa 24 |
Definition at line 902 of file acq32busprot.h.
#define MFX_BDELb 25 |
Definition at line 903 of file acq32busprot.h.
#define MFX_BLENa 22 |
Definition at line 900 of file acq32busprot.h.
#define MFX_BLENb 23 |
Definition at line 901 of file acq32busprot.h.
#define MFX_DIO 17 |
Definition at line 895 of file acq32busprot.h.
#define MFX_EDIOa 18 |
Definition at line 896 of file acq32busprot.h.
#define MFX_EDIOb 19 |
Definition at line 897 of file acq32busprot.h.
#define MFX_EDIOc 20 |
Definition at line 898 of file acq32busprot.h.
#define MFX_EDIOd 21 |
Definition at line 899 of file acq32busprot.h.
#define MFX_ESa 10 |
Definition at line 888 of file acq32busprot.h.
#define MFX_ESb 11 |
Definition at line 889 of file acq32busprot.h.
#define MFX_ESc 12 |
Definition at line 890 of file acq32busprot.h.
#define MFX_ESd 13 |
Definition at line 891 of file acq32busprot.h.
#define MFX_ESOFa 14 |
Definition at line 892 of file acq32busprot.h.
#define MFX_ESOFb 15 |
Definition at line 893 of file acq32busprot.h.
#define MFX_ESOFc 16 |
Definition at line 894 of file acq32busprot.h.
#define MFX_FNa 4 |
Definition at line 882 of file acq32busprot.h.
#define MFX_FNb 5 |
Definition at line 883 of file acq32busprot.h.
#define MFX_Ja 6 |
Definition at line 884 of file acq32busprot.h.
#define MFX_Jb 7 |
Definition at line 885 of file acq32busprot.h.
#define MFX_Jc 8 |
Definition at line 886 of file acq32busprot.h.
#define MFX_Jd 9 |
Definition at line 887 of file acq32busprot.h.
#define MFX_MF2 2 |
Definition at line 880 of file acq32busprot.h.
#define MFX_MF3 3 |
Definition at line 881 of file acq32busprot.h.
#define MFX_MFNa 28 |
Definition at line 906 of file acq32busprot.h.
#define MFX_MFNb 29 |
Definition at line 907 of file acq32busprot.h.
#define MFX_MFNc 30 |
Definition at line 908 of file acq32busprot.h.
#define MFX_MFNd 31 |
Definition at line 909 of file acq32busprot.h.
#define MFX_OVER 26 |
Definition at line 904 of file acq32busprot.h.
#define MFX_SF0 0 |
Definition at line 878 of file acq32busprot.h.
#define MFX_SF1 1 |
Definition at line 879 of file acq32busprot.h.
#define MFX_TVSa 32 |
Definition at line 910 of file acq32busprot.h.
#define MFX_TVSb 33 |
Definition at line 911 of file acq32busprot.h.
#define MFX_TVSc 34 |
Definition at line 912 of file acq32busprot.h.
#define MFX_TVSd 35 |
Definition at line 913 of file acq32busprot.h.
#define MFX_TVUSa 36 |
Definition at line 914 of file acq32busprot.h.
#define MFX_TVUSb 37 |
Definition at line 915 of file acq32busprot.h.
#define MFX_TVUSc 38 |
Definition at line 916 of file acq32busprot.h.
#define MFX_TVUSd 39 |
Definition at line 917 of file acq32busprot.h.
#define MID_NOT_VALID 0x8000 |
Definition at line 1474 of file acq32busprot.h.
#define MT_BIGDUMP_COMPLETE (BP_FC_BIG_DUMP<<MT_TYPE_SHIFT) |
Definition at line 975 of file acq32busprot.h.
#define MT_COMMAND_PACKET (fcz<<MT_TYPE_SHIFT) |
Definition at line 1283 of file acq32busprot.h.
#define MT_FWREV (BP_FC_GET_FWREV<<MT_TYPE_SHIFT) |
Definition at line 971 of file acq32busprot.h.
#define MT_GETCALINFO (BP_FC_GET_CALINFO<<MT_TYPE_SHIFT) |
Definition at line 985 of file acq32busprot.h.
#define MT_GETCAPTURESTATS (BP_FC_GET_CAPTURESTATS<<MT_TYPE_SHIFT) |
Definition at line 989 of file acq32busprot.h.
#define MT_GETCONFIG BP_FC_GET_CONFIG |
Definition at line 979 of file acq32busprot.h.
#define MT_ID | ( | type | ) | ((type)&MT_TYPE_MASK) |
Definition at line 942 of file acq32busprot.h.
#define MT_PRAM | ( | type | ) | ((type)&MT_PRAM_MASK) |
Definition at line 943 of file acq32busprot.h.
#define MT_PRAM_MASK ~(MT_TYPE_MASK) |
Definition at line 940 of file acq32busprot.h.
#define MT_STREAM (BP_FC_STREAM<<MT_TYPE_SHIFT) |
Definition at line 950 of file acq32busprot.h.
#define MT_TYPE_MASK (0xffU<<MT_TYPE_SHIFT) |
Definition at line 939 of file acq32busprot.h.
#define MT_TYPE_SHIFT 24 |
Definition at line 938 of file acq32busprot.h.
#define MTP_STREAM_END_PACKET 0x400000 |
Definition at line 953 of file acq32busprot.h.
#define MTP_STREAM_IS_TAGGED 0x800000 |
Definition at line 952 of file acq32busprot.h.
#define MTP_STREAM_NCHAN | ( | type | ) | ((type)&MTP_STREAM_NCHAN_MASK) |
Definition at line 958 of file acq32busprot.h.
#define MTP_STREAM_NCHAN_MASK 0x0000ff |
Definition at line 955 of file acq32busprot.h.
#define MTP_STREAM_NSAM | ( | type | ) | (((type)&MTP_STREAM_NSAM_MASK)>>8) |
Definition at line 959 of file acq32busprot.h.
#define MTP_STREAM_NSAM_MASK 0x00ff00 |
Definition at line 956 of file acq32busprot.h.
#define MTP_STREAM_SLEN | ( | type | ) | ((MTP_STREAM_NCHAN(type)+(((type)&MTP_STREAM_IS_TAGGED)!=0?2:0))*2) |
Definition at line 961 of file acq32busprot.h.
#define NID_BITS 0x30 |
Definition at line 869 of file acq32busprot.h.
#define NSUBFRAMES 0x40 |
Definition at line 868 of file acq32busprot.h.
#define nX_bit 15 |
Definition at line 871 of file acq32busprot.h.
#define REQUESTMAXBYTES | ( | hrdr | ) | ((hrdr).nsamples) |
Definition at line 1363 of file acq32busprot.h.
#define s0_bit 8 |
Definition at line 873 of file acq32busprot.h.
#define SF0 0xfe |
Definition at line 861 of file acq32busprot.h.
#define SF1 0xed |
Definition at line 862 of file acq32busprot.h.
#define START_LATEST 0xFFFFFFFF |
Definition at line 1365 of file acq32busprot.h.
#define SUBFRAME_MASK 0x3f |
Definition at line 867 of file acq32busprot.h.
#define T_bit 14 |
Definition at line 872 of file acq32busprot.h.
#define T_CHANNEL_MASK 0x0f80 |
Definition at line 1397 of file acq32busprot.h.
#define T_ISAMPLE_BIT 0x0040 |
Definition at line 1395 of file acq32busprot.h.
#define T_RAMP_MASK 0x7000 |
Definition at line 1399 of file acq32busprot.h.
#define T_SUBFRAME_MASK 0x003f |
Definition at line 1396 of file acq32busprot.h.
#define T_TRIGGER_BIT 0x8000 |
Definition at line 1398 of file acq32busprot.h.
typedef struct ACQ32_PULL_OUTPUT_DATA_RECORD Acq32PullOutputDataRecord |
typedef struct HOST_REQUEST_DATA_RECORD HostRequestDataRecord |
typedef struct MESSAGE_HEADER MessageHeader |
enum ACQ32_DIOSELECT |
ACQ32_DIO_NONE | |
ACQ32_DI_0 | |
ACQ32_DI_1 | |
ACQ32_DI_2 | |
ACQ32_DI_3 | |
ACQ32_DI_4 | |
ACQ32_DI_5 | |
ACQ32_DO_0 | |
ACQ32_DO_1 | |
ACQ32_DO_2 | |
ACQ32_DO_3 | |
ACQ32_DO_4 | |
ACQ32_DO_5 |
Definition at line 531 of file acq32busprot.h.
enum ACQXX_FLAVOR |
Definition at line 479 of file acq32busprot.h.
enum BPFC_RANGE |
BPFC_RANGE_UNKNOWN | |
BPFC_RANGE_10_10 | |
BPFC_RANGE_05_05 | |
BPFC_RANGE_02_02 | |
BPFC_RANGE_01_01 | |
BPFC_RANGE_2p5_2p5 |
Definition at line 610 of file acq32busprot.h.
enum CLOCK_SOURCE |
Definition at line 746 of file acq32busprot.h.
enum EVENT_CONDITION |
EC_NONE | |
EC_TRUE | |
EC_SOFT | |
EC_TRIGGER_RISING | |
EC_TRIGGER_FALLING | |
EC_DATA_ABOVE | |
EC_DATA_BELOW |
Definition at line 724 of file acq32busprot.h.
enum FUNCODES |
Definition at line 415 of file acq32busprot.h.
enum MTC_SUBTYPES |
Definition at line 1291 of file acq32busprot.h.
enum PHASE_PROPERTY |
Definition at line 718 of file acq32busprot.h.
enum Q32C_SR_DEST |
Definition at line 1429 of file acq32busprot.h.
enum Q32C_SR_FUNC |
Definition at line 1412 of file acq32busprot.h.
struct LLC200_INIT __attribute__ | ( | (packed) | ) |
LLC200_INIT acq216 host side buffer for host side initialisation.
we use a struct else it's just too tedious, but enforce a u32 alignment between fields
enum MTC_SUBTYPES __attribute__ |
unsigned channel_mask |
unsigned char dds_ftw[8] |
indicates the fields to change.
Definition at line 1149 of file acq32busprot.h.
Referenced by QdacHandler::handleLine(), and FtwHandler::handleLine().
unsigned int_clk |
0xf,0xff,0xfff,0xffff {4m,8,12,16}
Definition at line 1157 of file acq32busprot.h.
Referenced by IntclkHandler::handleLine().
unsigned marker |
Definition at line 1147 of file acq32busprot.h.
Referenced by hbPoll(), and hbPrimePoll().
unsigned mask |
LLC200_INIT_MAGIC_MARKER.
Definition at line 1148 of file acq32busprot.h.
Referenced by llv2WaitDmaDone(), and llv2WaitDmaDone_2v().
Definition at line 1154 of file acq32busprot.h.
unsigned trig |
channels 1..16.
Definition at line 1155 of file acq32busprot.h.
unsigned long long ull |
Definition at line 1151 of file acq32busprot.h.
union { ... } vranges |
6 byte ftw, 2 byte QDAC
Definition at line 1152 of file acq32busprot.h.