v1740.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  Filename: V1740.h                                                      */
00004 /*                                                                         */
00005 /*  Function: headerfile for V1740                                         */
00006 /*                                                                         */
00007 /* ----------------------------------------------------------------------- */
00008 /*  $Id: v1740.h 4728 2010-05-12 05:34:44Z svn $                                                                   */
00009 /***************************************************************************/
00010 
00011 #ifndef  V1740_INCLUDE_H
00012 #define  V1740_INCLUDE_H
00013 
00014 #define V1740_EVENT_READOUT_BUFFER          0x0000
00015 
00016 #define V1740_GROUP_CONFIG                  0x8000      /* R/W       ; D32 */ 
00017 #define V1740_GROUP_CFG_BIT_SET             0x8004      /* write only  D32 */ 
00018 #define V1740_GROUP_CFG_BIT_CLR             0x8008      /* write only; D32 */ 
00019 #define V1740_BUFFER_ORGANIZATION           0x800C      /* R/W       ; D32 */ 
00020 #define V1740_BUFFER_FREE                   0x8010      /* R/W       ; D32 */ 
00021 #define V1740_CUSTOM_SIZE                   0x8020      /* R/W       ; D32 */ 
00022 #define V1740_ACQUISITION_CONTROL           0x8100      /* R/W       ; D32 */ 
00023 #define V1740_ACQUISITION_STATUS            0x8104      /* read  only; D32 */ 
00024 #define V1740_SOFTWARE_TRIGGER              0x8108      /* write only; D32 */ 
00025 #define V1740_TRIG_SRCE_EN_MASK             0x810C      /* R/W       ; D32 */ 
00026 #define V1740_FP_TRIGGER_OUT_EN_MASK        0x8110      /* R/W       ; D32 */ 
00027 #define V1740_POST_TRIGGER_SETTING          0x8114      /* R/W       ; D32 */ 
00028 #define V1740_FP_IO_DATA                    0x8118      /* R/W       ; D32 */ 
00029 #define V1740_FP_IO_CONTROL                 0x811C      /* R/W       ; D32 */  
00030 #define V1740_GROUP_EN_MASK                 0x8120      /* R/W       ; D32 */ 
00031 #define V1740_ROC_FPGA_FW_REV               0x8124      /* read  only; D32 */ 
00032 #define V1740_DOWNSAMPLE_FAC                0x8128      /* read only */
00033 #define V1740_EVENT_STORED                  0x812C      /* read  only; D32 */ 
00034 #define V1740_SET_MONITOR_DAC               0x8138      /* R/W       ; D32 */ 
00035 #define V1740_BOARD_INFO                    0x8140      /* read  only; D32 */ 
00036 #define V1740_MONITOR_MODE                  0x8144      /* R/W       ; D32 */ 
00037 #define V1740_EVENT_SIZE                    0x814C      /* read  only; D32 */ 
00038 #define V1740_VME_CONTROL                   0xEF00      /* R/W       ; D32 */ 
00039 #define V1740_VME_STATUS                    0xEF04      /* read  only; D32 */ 
00040 #define V1740_BOARD_ID                      0xEF08      /* R/W       ; D32 */ 
00041 #define V1740_MULTICAST_BASE_ADDCTL         0xEF0C      /* R/W       ; D32 */ 
00042 #define V1740_RELOC_ADDRESS                 0xEF10      /* R/W       ; D32 */ 
00043 #define V1740_INTERRUPT_STATUS_ID           0xEF14      /* R/W       ; D32 */ 
00044 #define V1740_INTERRUPT_EVT_NB              0xEF18      /* R/W       ; D32 */ 
00045 #define V1740_BLT_EVENT_NB                  0xEF1C      /* R/W       ; D32 */ 
00046 #define V1740_SCRATCH                       0xEF20      /* R/W       ; D32 */ 
00047 #define V1740_SW_RESET                      0xEF24      /* write only; D32 */ 
00048 #define V1740_SW_CLEAR                      0xEF28      /* write only; D32 */ 
00049 #define V1740_FLASH_ENABLE                  0xEF2C      /* R/W       ; D32 */ 
00050 #define V1740_FLASH_DATA                    0xEF30      /* R/W       ; D32 */ 
00051 #define V1740_CONFIG_RELOAD                 0xEF34      /* write only; D32 */ 
00052 #define V1740_CONFIG_ROM                    0xF000      /* read  only; D32 */ 
00053 
00054 #define V1740_GROUP_THRESHOLD               0x1080      /* For channeln 0x1n80 */
00055 #define V1740_GROUP_O_U_THRESHOLD           0x1084      /* For channel 0 */
00056 #define V1740_GROUP_STATUS                  0x1088      /* For channel 0 */
00057 #define V1740_GROUP_FW_REV                  0x108C      /* For channel 0 */
00058 #define V1740_GROUP_BUFFER_OCCUPANCY        0x1094      /* For channel 0 */
00059 #define V1740_GROUP_DAC                     0x1098      /* For channel 0 */
00060 #define V1740_GROUP_ADC_CONFIG              0x109C      /* For channel 0 */
00061 #define V1740_GROUP_CH_TRG_MASK             0x10B0      /* For channel 0 */
00062 
00063 #define V1740_RUN_START                           1
00064 #define V1740_RUN_STOP                            2
00065 #define V1740_REGISTER_RUN_MODE                   3
00066 #define V1740_SIN_RUN_MODE                        4
00067 #define V1740_SIN_GATE_RUN_MODE                   5
00068 #define V1740_MULTI_BOARD_SYNC_MODE               6
00069 #define V1740_COUNT_ACCEPTED_TRIGGER              7
00070 #define V1740_COUNT_ALL_TRIGGER                   8
00071 #define V1740_DOWNSAMPLE_ENABLE                   9
00072 #define V1740_DOWNSAMPLE_DISABLE                 10
00073 
00074 #define V1740_EVENT_CONFIG_ALL_ADC        0x01000000
00075 #define V1740_SOFT_TRIGGER                0x80000000
00076 #define V1740_EXTERNAL_TRIGGER            0x40000000
00077 
00078 #define V1740_DONE                          0
00079 
00080 #endif  //  V1740_INCLUDE_H
00081 
00082 

Midas DOC Version 3.0.0 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Exaos Lee - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk