KM3NeT CLB
2.0
KM3NeT CLB v2 Embedded Software
|
Provides access to all variables of the various subsystems. More...
Go to the source code of this file.
Data Structures | |
struct | subsys_info_t |
struct | sys_t |
Structure defining all process variables for subsystem System. More... | |
struct | net_t |
Structure defining all process variables for subsystem Networking & IPMux. More... | |
struct | opt_t |
Structure defining all process variables for subsystem Optics. More... | |
struct | ins_t |
Structure defining all process variables for subsystem Instrumentation. More... | |
struct | acs_t |
Structure defining all process variables for subsystem Acoustics. More... | |
struct | bse_t |
Structure defining all process variables for subsystem Base. More... | |
Macros | |
#define | SUBSYS_COUNT 6 |
#define | TOTAL_VAR_COUNT 99 |
Total number of variables. | |
#define | TOTAL_VAR_SIZE 605 |
Total number of bytes for all variables. | |
#define | TOTAL_CFG_COUNT 26 |
Total number of configurable variables. | |
#define | TOTAL_CFG_SIZE 159 |
Total number of bytes for configurable variables. | |
#define | SYS_RUN_NUMBER 0x00127000 |
#define | SYS_DOM_ID 0x00224000 |
#define | SYS_TIME_SLICE_DUR 0x00327000 |
#define | SYS_HW_DATE_REV 0x00624000 |
#define | SYS_SW_DATE_REV 0x00724000 |
#define | SYS_STMACH_PKTSIZE 0x00417000 |
#define | SYS_PWR_MEAS 0x00514011 |
#define | SYS_PWR_MEAS_12V_CUR 0 |
Array index of 12 Volt current, in milliamps. | |
#define | SYS_PWR_MEAS_1V_CUR 1 |
Array index of 1 Volt current, in milliamps. | |
#define | SYS_PWR_MEAS_1V8_CUR 2 |
Array index of 1.8 Volt current, in milliamps. | |
#define | SYS_PWR_MEAS_2V5_CUR 3 |
Array index of 2.5 Volt current, in milliamps. | |
#define | SYS_PWR_MEAS_3V3_CUR 4 |
Array index of 3.3 Volt current, in milliamps. | |
#define | SYS_PWR_MEAS_5V_CUR 5 |
Array index of 5 Volt current, in milliamps. | |
#define | SYS_PWR_MEAS_3V3PMT_CUR 6 |
Array index of 3.3 Volt PMT current, in milliamps. | |
#define | SYS_PWR_MEAS_VLED_CUR 7 |
Array index of LED current, in milliamps. | |
#define | SYS_PWR_MEAS_VLED_LVL 8 |
Array index of LED Voltage level, in millivolts. | |
#define | SYS_PWR_MEAS_12V_LVL 9 |
Array index of 12 Volt level, in millivolts. | |
#define | SYS_PWR_MEAS_TEMP_LVL 10 |
Array index of Temperature sensor voltage, in millivolts. | |
#define | SYS_PWR_MEAS_1V_LVL 11 |
Array index of 1 Volt level, in millivolts. | |
#define | SYS_PWR_MEAS_1V8_LVL 12 |
Array index of 1.8 Volt level, in millivolts. | |
#define | SYS_PWR_MEAS_2V5_LVL 13 |
Array index of 2.5 Volt level, in millivolts. | |
#define | SYS_PWR_MEAS_3V3_LVL 14 |
Array index of 3.3 Volt level, in millivolts. | |
#define | SYS_PWR_MEAS_5V_LVL 15 |
Array index of 5 Volt level, in millivolts. | |
#define | SYS_PWR_MEAS_3V3PMT_LVL 16 |
Array index of 3.3 Volt level, in millivolts. | |
#define | SYS_PWR_MEAS_DACCTL_LVL 17 |
Array index of DAC Control voltage, in millivolts. | |
#define | SYS_SYS_TEMP_HUM 0x00854005 |
#define | SYS_SYS_TEMP_HUM_FPGA 0 |
Array index of FPGA core temperature. | |
#define | SYS_SYS_TEMP_HUM_CLB 1 |
Array index of Temperature (SHT21) | |
#define | SYS_SYS_TEMP_HUM_CLB_HUM 2 |
Array index of Humidity (SHT21) | |
#define | SYS_SYS_TEMP_HUM_PWR 3 |
Array index of Power board temperature (MAX123) | |
#define | SYS_SYS_TEMP_HUM_WR 4 |
Array index of Power board temperature (MAX123) | |
#define | SYS_SYS_TEMP_HUM_SFP 5 |
Array index of SFP Transceiver temperature. | |
#define | SYS_FPGA_TEMP 0x00d54000 |
#define | SYS_POWER_TEMP 0x00e54000 |
#define | SYS_TDC_TS_FIFOC 0x00f14000 |
#define | SYS_AES_TS_FIFOC 0x01014000 |
#define | SYS_SYS_DISABLE 0x00906000 |
#define | SYS_SYS_DISABLE_AHRS 0x1 |
Bit which disables AHRS (Compass) periodic readout. | |
#define | SYS_SYS_DISABLE_TEMP_HUM 0x2 |
Bit which disables Temperature / Humidity. | |
#define | SYS_SYS_DISABLE_HV 0x4 |
Bit which disables High Voltage. | |
#define | SYS_SYS_DISABLE_NANO_STEP_UP 0x8 |
Bit which disables the Nano-beacon step-up regulator. | |
#define | SYS_SYS_DISABLE_PWR_MEAS 0x10 |
Bit which disables the power (voltage/current) measurement. | |
#define | SYS_SYS_RUN_ENA 0x00a07000 |
#define | SYS_SYS_RUN_ENA_TDC 0x1 |
Bit which enables TDC during run. | |
#define | SYS_SYS_RUN_ENA_ACS 0x2 |
Bit which enables Acoustics during run. | |
#define | SYS_SYS_RUN_ENA_MON 0x4 |
Bit which enables Monitoring during run. | |
#define | SYS_SYS_RUN_ENA_NANO 0x8 |
Bit which enables Nano-Beacon during run. | |
#define | SYS_IMGTYPE 0x00b04000 |
#define | SYS_IMGTYPE_GOLDEN 0x1 |
Golden image running. | |
#define | SYS_IMGTYPE_DETECTOR 0x2 |
Detector running. | |
#define | SYS_IMGTYPE_BASE 0x3 |
Base image running. | |
#define | SYS_IMGTYPE_CALIBRATION 0x4 |
Calibration image running. | |
#define | SYS_SYS_FAIL 0x00c06000 |
#define | SYS_SYS_FAIL_AHRS 0x1 |
Bit which disables AHRS (Compass) periodic readout. | |
#define | SYS_SYS_FAIL_TEMP_HUM 0x2 |
Bit which disables Temperature / Humidity. | |
#define | SYS_SYS_FAIL_NANO_STEP_UP 0x8 |
Bit which disables the Nano-beacon step-up regulator. | |
#define | SYS_SYS_FAIL_PWR_MEAS 0x10 |
Bit which disables the power (voltage/current) measurement. | |
#define | NET_WR_MU 0x10834000 |
#define | NET_CABLE_RTT 0x10c74000 |
#define | NET_IPMUX_SRV_IP 0x10327000 |
#define | NET_WR_DELTA 0x10664003 |
#define | NET_WR_DELTA_SLAVE_TX 0 |
Slave transmit delta delay index. | |
#define | NET_WR_DELTA_SLAVE_RX 1 |
Slave receive delta delay index. | |
#define | NET_WR_DELTA_MASTER_TX 2 |
Master transmit delta delay index. | |
#define | NET_WR_DELTA_MASTER_RX 3 |
Master receive delta delay index. | |
#define | NET_MAC_ADDR 0x10114002 |
#define | NET_IPMUX_PORTS 0x10217003 |
#define | NET_IPMUX_SRV_MAC 0x10417002 |
#define | NET_SC_PORT 0x10517000 |
#define | NET_SC_PORT_DEFAULT 0xDACE |
Default slow control port. | |
#define | NET_WR_BITSLIDE 0x10714000 |
#define | NET_RX_INPUT_POWER 0x10d14000 |
#define | NET_TX_OUTPUT_POWER 0x10e14000 |
#define | NET_WR_TEMP 0x10f54000 |
#define | NET_SFP_TEMP 0x11054000 |
#define | NET_WR_ST_PTP 0x10944000 |
#define | NET_WR_ST_PTP_INITIALIZING 0 |
Value of state INITIALIZING. | |
#define | NET_WR_ST_PTP_FAULTY 1 |
Value of state FAULTY. | |
#define | NET_WR_ST_PTP_DISABLED 2 |
Value of state DISABLED. | |
#define | NET_WR_ST_PTP_LISTENING 3 |
Value of state LISTENING. | |
#define | NET_WR_ST_PTP_PRE_MASTER 4 |
Value of state PRE_MASTER. | |
#define | NET_WR_ST_PTP_MASTER 5 |
Value of state MASTER. | |
#define | NET_WR_ST_PTP_PASSIVE 6 |
Value of state PASSIVE. | |
#define | NET_WR_ST_PTP_UNCALIBRATED 7 |
Value of state UNCALIBRATED. | |
#define | NET_WR_ST_PTP_SLAVE 8 |
Value of state SLAVE. | |
#define | NET_WR_ST_PTP_UNINITIALIZED -1 |
Value of state UNINITIALIZED. | |
#define | NET_WR_ST_GEN 0x10a44000 |
#define | NET_WR_ST_GEN_PRESENT 0 |
Value of state PRESENT. | |
#define | NET_WR_ST_GEN_S_LOCK 1 |
Value of state S_LOCK. | |
#define | NET_WR_ST_GEN_M_LOCK 2 |
Value of state M_LOCK. | |
#define | NET_WR_ST_GEN_LOCKED 3 |
Value of state LOCKED. | |
#define | NET_WR_ST_GEN_CALIBRATION 4 |
Value of state CALIBRATION. | |
#define | NET_WR_ST_GEN_CALIBRATED 5 |
Value of state CALIBRATED. | |
#define | NET_WR_ST_GEN_RESP_CALIB_REQ 6 |
Value of state RESP_CALIB_REQ. | |
#define | NET_WR_ST_GEN_WR_LINK_ON 7 |
Value of state WR_LINK_ON. | |
#define | NET_WR_ST_GEN_TIMER_ARRAY_SIZE 8 |
Value of state TIMER_ARRAY_SIZE. | |
#define | NET_WR_ST_GEN_IDLE 9 |
Value of state IDLE. | |
#define | NET_WR_ST_GEN_S_LOCK_1 10 |
Value of state S_LOCK_1. | |
#define | NET_WR_ST_GEN_S_LOCK_2 11 |
Value of state S_LOCK_2. | |
#define | NET_WR_ST_GEN_CALIBRATION_1 12 |
Value of state CALIBRATION_1. | |
#define | NET_WR_ST_GEN_CALIBRATION_2 13 |
Value of state CALIBRATION_2. | |
#define | NET_WR_ST_GEN_CALIBRATION_3 14 |
Value of state CALIBRATION_3. | |
#define | NET_WR_ST_GEN_CALIBRATION_4 15 |
Value of state CALIBRATION_4. | |
#define | NET_WR_ST_GEN_CALIBRATION_5 16 |
Value of state CALIBRATION_5. | |
#define | NET_WR_ST_GEN_CALIBRATION_6 17 |
Value of state CALIBRATION_6. | |
#define | NET_WR_ST_GEN_CALIBRATION_7 18 |
Value of state CALIBRATION_7. | |
#define | NET_WR_ST_GEN_CALIBRATION_8 19 |
Value of state CALIBRATION_8. | |
#define | NET_WR_ST_GEN_RESP_CALIB_REQ_1 20 |
Value of state RESP_CALIB_REQ_1. | |
#define | NET_WR_ST_GEN_RESP_CALIB_REQ_2 21 |
Value of state RESP_CALIB_REQ_2. | |
#define | NET_WR_ST_GEN_RESP_CALIB_REQ_3 22 |
Value of state RESP_CALIB_REQ_3. | |
#define | NET_WR_ST_GEN_UNINITIALIZED -1 |
Value of state UNINITIALIZED. | |
#define | NET_WR_ST_SERV 0x10b44000 |
#define | NET_WR_ST_SERV_SYNC_NSEC 1 |
Value of state SYNC_NSEC. | |
#define | NET_WR_ST_SERV_SYNC_TAI 2 |
Value of state SYNC_TAI. | |
#define | NET_WR_ST_SERV_SYNC_PHASE 3 |
Value of state SYNC_PHASE. | |
#define | NET_WR_ST_SERV_TRACK_PHASE 4 |
Value of state TRACK_PHASE. | |
#define | NET_WR_ST_SERV_WAIT_SYNC_IDLE 5 |
Value of state WAIT_SYNC_IDLE. | |
#define | NET_WR_ST_SERV_WAIT_OFFSET_STABLE 6 |
Value of state WAIT_OFFSET_STABLE. | |
#define | NET_WR_ST_SERV_UNINITIALIZED -1 |
Value of state UNINITIALIZED. | |
#define | OPT_PMT_ID 0x2052401e |
#define | OPT_HR_VETO_THRES 0x20627000 |
#define | OPT_CHAN_ENABLE 0x20827000 |
#define | OPT_HR_VETO_ENA_CH 0x20e27000 |
#define | OPT_MULHIT_ENA_CH 0x20f27000 |
#define | OPT_MIN_TOT 0x21027000 |
#define | OPT_NANO_LENGTH 0x20917000 |
#define | OPT_NANO_PERIOD 0x20a17000 |
#define | OPT_NANO_VOLT 0x20b17000 |
#define | OPT_NANO_DELAY 0x20c17000 |
#define | OPT_NANO_PCOUNT 0x20d17000 |
#define | OPT_CHAN_CONFIG 0x2010701e |
#define | OPT_CHAN_STATUS 0x2020401e |
#define | OPT_PMT_HIGHVOLT 0x2030701e |
#define | OPT_PMT_THRESHOLD 0x2040701e |
#define | OPT_NANO_ENABLE 0x20787000 |
#define | INS_AHRS_PITCH 0x301a4000 |
#define | INS_AHRS_ROLL 0x302a4000 |
#define | INS_AHRS_YAW 0x303a4000 |
#define | INS_AHRS_A 0x304a4002 |
#define | INS_AHRS_G 0x305a4002 |
#define | INS_AHRS_H 0x306a4002 |
#define | INS_TEMP 0x30754000 |
#define | INS_HUMID 0x30814000 |
#define | INS_AHRS_ENABLE 0x30987000 |
#define | INS_AHRS_VALID 0x30a84000 |
#define | INS_COMPASS_VERSION 0x30b04000 |
#define | ACS_ACOU_ENABLE 0x40187000 |
#define | ACS_ACOU_CHAN 0x40207000 |
#define | ACS_ACOU_CHAN_BOTH 0 |
Value to enable both acoustic channels. | |
#define | ACS_ACOU_CHAN_ONE 1 |
Value to enable enable only channel 1 (default) | |
#define | ACS_ACOU_CHAN_TWO 2 |
Value to enable enable only channel 2. | |
#define | ACS_ACOU_RES 0x40307000 |
#define | ACS_ACOU_RES_12_BITS 0 |
Value for 12 bit resolution. | |
#define | ACS_ACOU_RES_16_BITS 1 |
Value for 16 bit resolution. | |
#define | ACS_ACOU_RES_24_BITS 2 |
Value for 24 bit resolution (default) | |
#define | BSE_EDFA_SETP_RD 0x50264000 |
#define | BSE_EDFA_IOP 0x50364000 |
#define | BSE_EDFA_OOP 0x50464000 |
#define | BSE_EDFA_PUMPDC 0x50564000 |
#define | BSE_EDFA_TEMP 0x50664000 |
#define | BSE_EDFA_SETP_WR 0x508a2000 |
#define | BSE_BPS_ALARM_FIRED 0x52524000 |
#define | BSE_BPS_IBACK 0x50914000 |
#define | BSE_BPS_I12 0x50a14000 |
#define | BSE_BPS_V375 0x50b14000 |
#define | BSE_BPS_I375 0x50c14000 |
#define | BSE_BPS_V5 0x50d14000 |
#define | BSE_BPS_BREAKER 0x50e14000 |
#define | BSE_BPS_ALARM 0x50f14000 |
#define | BSE_ACDC_VOLT 0x51014000 |
#define | BSE_ACDC_CUR 0x51114000 |
#define | BSE_BPS_5V_I_M 0x51414000 |
#define | BSE_BPS_LBL_I_M 0x51514000 |
#define | BSE_BPS_DU_I_M 0x51614000 |
#define | BSE_BPS_DU_IRTN_M 0x51714000 |
#define | BSE_BPS_V_M 0x51814000 |
#define | BSE_BPS_HYDRO_I_M 0x51914000 |
#define | BSE_BPS_MON_THEATSINK_M 0x51a14000 |
#define | BSE_BPS_TBOARD_M 0x51b14000 |
#define | BSE_BPS_5V_I_MAX 0x51c14000 |
#define | BSE_BPS_LBL_I_MAX 0x51d14000 |
#define | BSE_BPS_DU_I_MAX 0x51e14000 |
#define | BSE_BPS_DU_IRTN_MAX 0x51f14000 |
#define | BSE_BPS_V_MAX 0x52014000 |
#define | BSE_BPS_HYDRO_I_MAX 0x52114000 |
#define | BSE_BPS_MON_THEATSINK_MAX 0x52214000 |
#define | BSE_BPS_TBOARD_MAX 0x52314000 |
#define | BSE_BPS_ALARM_MAX 0x52414000 |
#define | BSE_EDFA_EMI 0x50186000 |
#define | BSE_EDFA_SN 0x5070401f |
#define | BSE_ACDC_TEMP 0x51244000 |
#define | BSE_INST_FAIL 0x51306000 |
#define | BSE_INST_FAIL_EDFA 0x1 |
EDFA. | |
#define | BSE_INST_FAIL_BPS 0x2 |
BPS. | |
#define | BSE_INST_FAIL_ACDC 0x4 |
ACDC. | |
Typedefs | |
typedef void * | var_ptr |
Variables | |
sys_t | sys |
Provides access to all process variables of subsystem System. | |
void * | sys_p [17] |
Pointer look up table for all process variables of System. | |
net_t | net |
Provides access to all process variables of subsystem Networking & IPMux. | |
void * | net_p [17] |
Pointer look up table for all process variables of Networking & IPMux. | |
opt_t | opt |
Provides access to all process variables of subsystem Optics. | |
void * | opt_p [17] |
Pointer look up table for all process variables of Optics. | |
ins_t | ins |
Provides access to all process variables of subsystem Instrumentation. | |
void * | ins_p [12] |
Pointer look up table for all process variables of Instrumentation. | |
acs_t | acs |
Provides access to all process variables of subsystem Acoustics. | |
void * | acs_p [4] |
Pointer look up table for all process variables of Acoustics. | |
bse_t | bse |
Provides access to all process variables of subsystem Base. | |
void * | bse_p [38] |
Pointer look up table for all process variables of Base. | |
const subsys_info_t | subsys_info [6] |
array of subsystem meta objects | |
Provides access to all variables of the various subsystems.
Definition in file vars.h.