00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef V1720_INCLUDE_H
00012 #define V1720_INCLUDE_H
00013
00014 #define V1720_EVENT_READOUT_BUFFER 0x0000
00015
00016 #define V1720_CHANNEL_CONFIG 0x8000
00017 #define V1720_CHANNEL_CFG_BIT_SET 0x8004
00018 #define V1720_CHANNEL_CFG_BIT_CLR 0x8008
00019 #define V1720_BUFFER_ORGANIZATION 0x800C
00020 #define V1720_BUFFER_FREE 0x8010
00021 #define V1720_CUSTOM_SIZE 0x8020
00022 #define V1720_ACQUISITION_CONTROL 0x8100
00023 #define V1720_ACQUISITION_STATUS 0x8104
00024 #define V1720_SW_TRIGGER 0x8108
00025 #define V1720_TRIG_SRCE_EN_MASK 0x810C
00026 #define V1720_FP_TRIGGER_OUT_EN_MASK 0x8110
00027 #define V1720_POST_TRIGGER_SETTING 0x8114
00028 #define V1720_FP_IO_DATA 0x8118
00029 #define V1720_FP_IO_CONTROL 0x811C
00030 #define V1720_CHANNEL_EN_MASK 0x8120
00031 #define V1720_ROC_FPGA_FW_REV 0x8124
00032 #define V1720_EVENT_STORED 0x812C
00033 #define V1720_SET_MONITOR_DAC 0x8138
00034 #define V1720_BOARD_INFO 0x8140
00035 #define V1720_MONITOR_MODE 0x8144
00036 #define V1720_EVENT_SIZE 0x814C
00037 #define V1720_VME_CONTROL 0xEF00
00038 #define V1720_VME_STATUS 0xEF04
00039 #define V1720_BOARD_ID 0xEF08
00040 #define V1720_MULTICAST_BASE_ADDCTL 0xEF0C
00041 #define V1720_RELOC_ADDRESS 0xEF10
00042 #define V1720_INTERRUPT_STATUS_ID 0xEF14
00043 #define V1720_INTERRUPT_EVT_NB 0xEF18
00044 #define V1720_BLT_EVENT_NB 0xEF1C
00045 #define V1720_SCRATCH 0xEF20
00046 #define V1720_SW_RESET 0xEF24
00047 #define V1720_SW_CLEAR 0xEF28
00048 #define V1720_FLASH_ENABLE 0xEF2C
00049 #define V1720_FLASH_DATA 0xEF30
00050 #define V1720_CONFIG_RELOAD 0xEF34
00051 #define V1720_CONFIG_ROM 0xF000
00052
00053 #define V1720_CHANNEL_THRESHOLD 0x1080
00054 #define V1720_CHANNEL_OUTHRESHOLD 0x1084
00055 #define V1720_CHANNEL_STATUS 0x1088
00056 #define V1720_BUFFER_OCCUPANCY 0x1094
00057 #define V1720_CHANNEL_DAC 0x1098
00058
00059 #define V1720_RUN_START 0x0001
00060 #define V1720_RUN_STOP 0x0002
00061 #define V1720_REGISTER_RUN_MODE 0x0003
00062 #define V1720_SIN_RUN_MODE 0x0004
00063 #define V1720_SIN_GATE_RUN_MODE 0x0005
00064 #define V1720_MULTI_BOARD_SYNC_MODE 0x0006
00065 #define V1720_COUNT_ACCEPTED_TRIGGER 0x0007
00066 #define V1720_COUNT_ALL_TRIGGER 0x0008
00067
00068 #define V1720_EVENT_CONFIG_ALL_ADC 0x01000000
00069 #define V1720_SOFT_TRIGGER 0x80000000
00070 #define V1720_EXTERNAL_TRIGGER 0x40000000
00071 #define V1720_ALIGN64 0x20
00072 #define V1720_DONE 0
00073
00074 #endif // V1720_INCLUDE_H
00075
00076