Low-Energy Muon (LEM) Experiment
0.5.2
|
Go to the source code of this file.
Data Structures | |
struct | V1190_DATA |
Macros | |
#define | V1190_DATA_MASK 0x0007FFFF |
#define | V1190_CHANNEL_MASK 0x01F80000 |
#define | V1190_EDGE_MASK 0x02000000 |
#define | V1190_ERROR_BIT_MASK 0x20000000 |
#define | V1190_ERROR_TDC_MASK 0x03000000 |
#define | V1190_ERROR_FLAG_MASK 0x00007FFF |
#define | V1190_OUTPUT_BUFFER_SIZE 32768 |
#define | V1190_OUTPUT_BUFFER 0x0000 |
#define | V1190_CONTROL_REGISTER 0x1000 |
#define | V1190_STATUS_REGISTER 0x1002 |
#define | V1190_INTERRUPT_LEVEL 0x100A |
#define | V1190_INTERRUPT_VECTOR 0x100C |
#define | V1190_GEO_ADDRESS 0x100E |
#define | V1190_MCST_BASE_ADDRESS 0x1010 |
#define | V1190_MCST_CBLT_CTRL 0x1012 |
#define | V1190_MODULE_RESET 0x1014 |
#define | V1190_SOFTWARE_CLEAR 0x1016 |
#define | V1190_SOFTWARE_EVENT_RESET 0x1018 |
#define | V1190_SOFTWARE_TRIGGER 0x101A |
#define | V1190_EVENT_COUNTER 0x101C |
#define | V1190_EVENT_STORED 0x1020 |
#define | V1190_ALMOST_FULL_LEVEL 0x1022 |
#define | V1190_BLT_EVENT_NUMBER 0x1024 |
#define | V1190_FIRMWARE_REVISION 0x1026 |
#define | V1190_TESTREG 0x1028 |
#define | V1190_OUT_PROG_CONTROL 0x102C |
#define | V1190_OPCODE_ADDRESS 0x102E |
#define | V1190_MICRO_HANDSHAKE 0x1030 |
#define | V1190_SEL_FLASH 0x1032 |
#define | V1190_FLASH 0x1034 |
#define | V1190_COMPENSATION_SRAM 0x1036 |
#define | V1190_EVENT_FIFO 0x1038 |
#define | V1190_EVENT_FIFO_STORED 0x103C |
#define | V1190_EVENT_FIFO_STATUS 0x103E |
#define | V1190_DUMMY32 0x1200 |
#define | V1190_DUMMY16 0x1204 |
#define | V1190_TRG_MATCH 0x0000 |
#define | V1190_CONT_STOR 0x0100 |
#define | V1190_READ_ACQ_MOD 0x0200 |
#define | V1190_SET_KEEP_TOKEN 0x0300 |
#define | V1190_CLEAR_KEEP_TOKEN 0x0400 |
#define | V1190_LOAD_DEF_CONFIG 0x0500 |
#define | V1190_SAVE_USER_CONFIG 0x0600 |
#define | V1190_LOAD_USER_CONFIG 0x0700 |
#define | V1190_AUTOLOAD_USER_CONFIG 0x0800 |
#define | V1190_AUTOLOAD_DEF_CONFIG 0x0900 |
#define | V1190_SET_WIN_WIDTH 0x1000 |
#define | V1190_SET_WIN_OFFS 0x1100 |
#define | V1190_SET_SW_MARGIN 0x1200 |
#define | V1190_SET_REJ_MARGIN 0x1300 |
#define | V1190_EN_SUB_TRG 0x1400 |
#define | V1190_DIS_SUB_TRG 0x1500 |
#define | V1190_READ_TRG_CONF 0x1600 |
#define | V1190_SET_DETECTION 0x2200 |
#define | V1190_READ_DETECTION 0x2300 |
#define | V1190_SET_TR_LEAD_LSB 0x2400 |
#define | V1190_SET_PAIR_RES 0x2500 |
#define | V1190_READ_RES 0x2600 |
#define | V1190_SET_DEAD_TIME 0x2800 |
#define | V1190_READ_DEAD_TIME 0x2900 |
#define | V1190_ENABLE_HEADER 0x3000 |
#define | V1190_DISABLE_HEADER 0x3100 |
#define | V1190_READ_HEADER 0x3200 |
#define | V1190_SET_EVENT_SIZE 0x3300 |
#define | V1190_READ_EVENT_SIZE 0x3400 |
#define | V1190_ENABLE_ERROR_MARK 0x3500 |
#define | V1190_DISABLE_ERROR_MARK 0x3600 |
#define | V1190_ENABLE_ERROR_BYPASS 0x3700 |
#define | V1190_DISABLE_ERROR_BYPASS 0x3800 |
#define | V1190_SET_ERROR_TYPES 0x3900 |
#define | V1190_READ_ERROR_TYPES 0x3A00 |
#define | V1190_SET_FIFO_SIZE 0x3B00 |
#define | V1190_READ_FIFO_SIZE 0x3C00 |
#define | V1190_ENABLE_CHANNEL 0x4000 /* 40nn enable channel nn */ |
#define | V1190_DISABLE_CHANNEL 0x4100 /* 41nn disable channel nn */ |
#define | V1190_ENABLE_ALL_CHANNEL 0x4200 |
#define | V1190_DISABLE_ALL_CHANNEL 0x4300 |
#define | V1190_WRITE_ENABLE_PATTERN 0x4400 |
#define | V1190_READ_ENABLE_PATTERN 0x4500 |
#define | V1190_WRITE_ENABLE_PATTERN32 0x4600 |
#define | V1190_READ_ENABLE_PATTERN32 0x4700 |
#define | V1190_SET_GLOB_OFFS 0x5000 |
#define | V1190_READ_GLOB_OFSS 0x5100 |
#define | V1190_SET_ADJUST_CHANNEL 0x5200 /* 52nn set channel nn adjust */ |
#define | V1190_READ_ADJUST_CHANNEL 0x5300 /* 53nn read channel nn adjust */ |
#define | V1190_SET_RC_ADJ 0x5400 /* 540n set rc adjust of tdc 0n */ |
#define | V1190_READ_RC_ADJ 0x5500 /* 550n */ |
#define | V1190_SAVE_RC_ADJ 0x5600 /* 560n */ |
#define | V1190_READ_TDC_ID 0x6000 /* 600n read programmed ID of TDC 0n */ |
#define | V1190_READ_MICRO_REV 0x6100 /* read firmware revision of micro controller */ |
#define | V1190_RESET_DLL_PLL 0x6200 |
#define | V1190_WRITE_SETUP_REG 0x7000 /* 70nn */ |
#define | V1190_READ_SETUP_REG 0x7100 /* 71nn */ |
#define | V1190_UPDATE_SETUP_REG 0x7200 |
#define | V1190_DEFAULT_SETUP_REG 0x7300 |
#define | V1190_READ_ERROR_STATUS 0x7400 /* 740n read error status of TDC n*/ |
#define | V1190_READ_DLL_LOCK 0x7500 /* 750n DLL lock bit of TDC n */ |
#define | V1190_READ_STATUS_STREAM 0x7600 /* 760n read TDC n status */ |
#define | V1190_UPDATE_SETUP_TDC 0x7700 /* 770n setup on TDC n */ |
#define | V1190_WRITE_EEPROM 0xC000 /* write 1 byte into EEPROM */ |
#define | V1190_READ_EEPROM 0xC100 /* read 1 byte */ |
#define | V1190_REVISION_MICRO_CONTROLLER 0xC200 |
#define | V1190_WRITE_SPARE 0xC300 |
#define | V1190_READ_SPARE 0xC400 |
#define | V1190_ENABLE_TEST_MODE 0xC500 |
#define | V1190_DISABLE_TEST_MODE 0xC600 |
#define | V1190_SET_TDC_TEST_OUTPUT 0xC700 /* C70n set TDC n signal test output */ |
#define | V1190_SET_DLL_CLOCK 0xC800 |
#define | V1190_READ_TDC_SETUP_SCAN_PATH 0xC900 /* C90n for TDC n */ |
#define | V1190_TRG_MATCH_MASK 0x01 |
#define | V1190_CONT_STOR_MASK 0x00 |
#define | V1190_EDGE_PAIR_MODE 0x00 |
#define | V1190_EDGE_TRAILING_MODE 0x01 |
#define | V1190_EDGE_LEADING_MODE 0x02 |
#define | V1190_EDGE_TRAILING_LEADING_MODE 0x03 |
#define | V1190_LSB_800PS 0x00 |
#define | V1190_LSB_200PS 0x01 |
#define | V1190_LSB_100PS 0x02 /* default */ |
#define | V1190_DEAD_TIME_5NS 0x00 /* default */ |
#define | V1190_DEAD_TIME_10NS 0x01 |
#define | V1190_DEAD_TIME_30NS 0x02 |
#define | V1190_DEAD_TIME_100NS 0x03 |
#define | V1190_HEADER_DISABLED 0x00 |
#define | V1190_HEADER_ENABLED 0x01 |
#define | V1190_MAX_EVENTS_0 0x0000 |
#define | V1190_MAX_EVENTS_1 0x0001 |
#define | V1190_MAX_EVENTS_2 0x0002 |
#define | V1190_MAX_EVENTS_4 0x0003 |
#define | V1190_MAX_EVENTS_8 0x0004 |
#define | V1190_MAX_EVENTS_16 0x0005 |
#define | V1190_MAX_EVENTS_32 0x0006 |
#define | V1190_MAX_EVENTS_64 0x0007 |
#define | V1190_MAX_EVENTS_128 0x0008 |
#define | V1190_MAX_EVENTS_NOLIMIT 0x0009 /* default */ |
#define | A32D32 0 |
#define | A32BLT32 1 |
#define | A32MBLT64 2 |
#define | A32_2eVME 3 |
#define | V1190_DATAREADY_BIT 0x0001 |
#define | V1190_ALMFULL_BIT 0x0002 |
#define | V1190_FULL_BIT 0x0004 |
#define V1190_ALMFULL_BIT 0x0002 |
Definition at line 193 of file v1190.h.
Referenced by frontend_loop().
#define V1190_ALMOST_FULL_LEVEL 0x1022 |
Definition at line 45 of file v1190.h.
Referenced by init_v1190().
#define V1190_CONT_STOR 0x0100 |
Definition at line 64 of file v1190.h.
Referenced by init_v1190().
#define V1190_CONTROL_REGISTER 0x1000 |
Definition at line 31 of file v1190.h.
Referenced by init_v1190().
#define V1190_DISABLE_ALL_CHANNEL 0x4300 |
Definition at line 111 of file v1190.h.
Referenced by end_of_run(), and init_v1190().
#define V1190_DISABLE_CHANNEL 0x4100 /* 41nn disable channel nn */ |
#define V1190_EDGE_LEADING_MODE 0x02 |
Definition at line 159 of file v1190.h.
Referenced by init_v1190().
#define V1190_ENABLE_CHANNEL 0x4000 /* 40nn enable channel nn */ |
#define V1190_LSB_200PS 0x01 |
Definition at line 163 of file v1190.h.
Referenced by init_v1190().
#define V1190_MODULE_RESET 0x1014 |
Definition at line 39 of file v1190.h.
Referenced by init_v1190().
#define V1190_OPCODE_ADDRESS 0x102E |
Definition at line 51 of file v1190.h.
Referenced by begin_of_run(), end_of_run(), and init_v1190().
#define V1190_OUTPUT_BUFFER_SIZE 32768 |
Definition at line 27 of file v1190.h.
Referenced by frontend_loop().
#define V1190_READ_ADJUST_CHANNEL 0x5300 /* 53nn read channel nn adjust */ |
#define V1190_READ_DLL_LOCK 0x7500 /* 750n DLL lock bit of TDC n */ |
#define V1190_READ_ERROR_STATUS 0x7400 /* 740n read error status of TDC n*/ |
#define V1190_READ_MICRO_REV 0x6100 /* read firmware revision of micro controller */ |
#define V1190_READ_STATUS_STREAM 0x7600 /* 760n read TDC n status */ |
#define V1190_READ_TDC_ID 0x6000 /* 600n read programmed ID of TDC 0n */ |
#define V1190_READ_TDC_SETUP_SCAN_PATH 0xC900 /* C90n for TDC n */ |
#define V1190_SET_ADJUST_CHANNEL 0x5200 /* 52nn set channel nn adjust */ |
#define V1190_SET_DETECTION 0x2200 |
Definition at line 84 of file v1190.h.
Referenced by init_v1190().
#define V1190_SET_RC_ADJ 0x5400 /* 540n set rc adjust of tdc 0n */ |
#define V1190_SET_TDC_TEST_OUTPUT 0xC700 /* C70n set TDC n signal test output */ |
#define V1190_SET_TR_LEAD_LSB 0x2400 |
Definition at line 86 of file v1190.h.
Referenced by init_v1190().
#define V1190_SOFTWARE_CLEAR 0x1016 |
Definition at line 40 of file v1190.h.
Referenced by begin_of_run(), and resume_run().
#define V1190_STATUS_REGISTER 0x1002 |
Definition at line 32 of file v1190.h.
Referenced by frontend_loop(), and init_v1190().
#define V1190_UPDATE_SETUP_TDC 0x7700 /* 770n setup on TDC n */ |
#define V1190_WRITE_EEPROM 0xC000 /* write 1 byte into EEPROM */ |