Go to the source code of this file.
Defines | |
#define | GENERIC_CMD_NAME "PIT/COMMAND" |
#define | GENERIC_CMD_SERVICE "PIT/CMD_RETURN" |
#define | GENERIC_CMD_STATUS_SERVICE "PIT/CMD_STATUS" |
#define | DIM_LOG_NAME "PIT/LOG" |
the dim service for the logging | |
#define | CMD_STATUS_EXECUTING "EXECUTING" |
#define | CMD_STATUS_FINISHED "FINISHED" |
#define | CMD_STATUS_FAILED "FAILED" |
#define | CMD_WRITE_WORD "write_word" |
Command to write to a memory position. | |
#define | CMD_READ_WORD "read_word" |
Command to read from a memory position. | |
#define | CMD_LOAD_REQUIRED_CHANNELS_FILE "load_required_file" |
Command that makes the pit configuration layer load the required channels list from a file. | |
#define | CMD_MEMORY_ACCESS_TEST "memory_access_test" |
Command to perform a number of read write loops returning the total number of bit errors. | |
#define | CMD_WRITE_UDF_ENABLE "write_udf_enable" |
Command to write the user defined fastor status enable bit in the optical link. | |
#define | CMD_READ_UDF_ENABLE "read_udf_enable" |
Command to read the user defined fastor enable bit. | |
#define | CMD_READ_FO_MASK "read_fo_mask" |
Command to get the fastor mask of one optical link. | |
#define | CMD_READ_LINK_DELAY "read_link_delay" |
Command to read the delay from one optical link. | |
#define | CMD_WRITE_LINK_DELAY "write_link_delay" |
Command to read the delay from one optical link. | |
#define | CMD_READ_LINK_PHASE "read_link_phase" |
Command to read the delay from one optical link. | |
#define | CMD_READ_ERROR_COUNTER "read_error_counter" |
Command to read the error counter from one optical link. | |
#define | CMD_READ_TIME_STAMP "read_time_stamp" |
Command to read a time stamp register from an optin board. | |
#define | CMD_READ_MAX_FASTOR_COUNTS "read_max_fastor_counts" |
Command to read maximum fastor counts from an opin board. | |
#define | CMD_READ_MIN_FASTOR_COUNTS "read_min_fastor_counts" |
Command to read minimum fastor counts from an optin board. | |
#define | CMD_WRITE_MAX_FASTOR_COUNTS "write_max_fastor_counts" |
Command to write the maximum fastor counts to an optin board. | |
#define | CMD_WRITE_MIN_FASTOR_COUNTS "write_min_fastor_counts" |
Command to write the min fastor counts to an optin board. | |
#define | CMD_ASSIGN_CHIP_FOMASK "assign_chip_fomask" |
Command to set or unset mask on a chip (fastor channel). | |
#define | CMD_CLEAR_CHIP_FOMASK "clear_chip_fomask" |
Command to clear the mask on a chip (fastor channel). | |
#define | CMD_FORCE_FO_CHANNEL "force_fo_channel" |
Command to force or release a fastor channel (needs a boolean arg) channel. | |
#define | CMD_RELEASE_FO_CHANNEL "release_fo_channel" |
Command to release a fastor channel. | |
#define | CMD_READ_FO_COUNTER "read_fo_counter" |
Command to read the fastor counter of a fastor channel channel. | |
#define | CMD_REFRESH_GLOBAL_STATUS "refresh_global_status" |
Command to refresh the all status services and internal menbers of the pit driver. | |
#define | CMD_REFRESH_OPTIN_STATUS "refresh_optin_status" |
refreshes the status of one optin board channel | |
#define | CMD_REFRESH_LINK_STATUS "refresh_link_status" |
Command to refresh status services and internal members of one optical link channel. | |
#define | CMD_REFRESH_FO_STATUS "refresh_fo_status" |
Command to refresh services and menbers of one fastor channel channel. | |
#define | CMD_PROC_START_COUNTER "start_proc_counter" |
Command to start a counter in the processing fpga. | |
#define | CMD_PROC_STOP_COUNTER "stop_proc_counter" |
Command to stop a counter in the processing fpga. | |
#define | CMD_WRITE_PROC_CMD_REG "write_proc_cmd" |
command to write in the command register of the processing fpga | |
#define | CMD_READ_PROC_CMD_REG "read_proc_cmd" |
command to read the command register of the processing fpga | |
#define | CMD_READ_PROC_STATUS "read_proc_status" |
command to read the one of the status register of the processing fpga | |
#define | CMD_READ_PROC_SETTINGS_REGISTER "read_proc_settings" |
command to read one settings register of the processing fpga | |
#define | CMD_WRITE_PROC_SETTINGS_REGISTER "write_proc_settings" |
command to write one of the settings register of the processing fpga | |
#define | CMD_READ_PROC_COUNTER "read_proc_counter" |
command to read one counter output in the processing fpga | |
#define | CMD_SET_PROC_TIMER_ENABLE "set_proc_timer_enable" |
command to set the timer enable bit | |
#define | CDM_READ_PROC_TIMER_PERIOD "read_proc_timer_period" |
command to read the timer period | |
#define | CMD_WRITE_PROC_TIMER_PERIOD "write_proc_timer_period" |
command to write the timer period in the fpga | |
#define | CMD_READ_PROC_GEN_COUNTER "read_proc_gen_counter" |
command read a general purpose counter in the processing fpga | |
#define | CMD_READ_PROC_TIME_STAMP "read_proc_time_stamp" |
command to read a time stamp from the processing fpga | |
#define | CMD_READ_PROC_SIGNATURE "read_proc_signature" |
command to read a signature register from processing fpga | |
#define | CMD_WRITE_PROC_SIGNATURE "write_proc_signature" |
command to write a signature register from processing fpga | |
#define | CMD_WRITE_PROC_TRIGGER_MODE "write_trigger_mode" |
command to write the trigger mode for one output | |
#define | CMD_READ_PROC_TRIGGER_MODE "read_trigger_mode" |
command to read the trigger mode for one output | |
#define | CMD_CHECK_BOARD_PLUGGED "check_board_plugged" |
Command to check if a board is plugged or not (maybe not needed but left it there ). | |
#define | CMD_RESET_SIU "reset_siu" |
Command to reset the siu in case of problems. |
#define CDM_READ_PROC_TIMER_PERIOD "read_proc_timer_period" |
command to read the timer period
Definition at line 57 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_ASSIGN_CHIP_FOMASK "assign_chip_fomask" |
Command to set or unset mask on a chip (fastor channel).
sector,side,halfstave,chip,maskValue. |
Definition at line 36 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_CHECK_BOARD_PLUGGED "check_board_plugged" |
Command to check if a board is plugged or not (maybe not needed but left it there ).
boardNumber |
Definition at line 66 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_CLEAR_CHIP_FOMASK "clear_chip_fomask" |
Command to clear the mask on a chip (fastor channel).
sector,side,halfstave,chip. |
Definition at line 37 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_FORCE_FO_CHANNEL "force_fo_channel" |
Command to force or release a fastor channel (needs a boolean arg) channel.
sector,side,halfstave,fastorNumber | value |
Definition at line 39 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_LOAD_REQUIRED_CHANNELS_FILE "load_required_file" |
Command that makes the pit configuration layer load the required channels list from a file.
filename |
Definition at line 18 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_MEMORY_ACCESS_TEST "memory_access_test" |
Command to perform a number of read write loops returning the total number of bit errors.
blockLength,initialAddress,finalAddress,addressIncrement,repetitions |
Definition at line 19 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_PROC_START_COUNTER "start_proc_counter" |
Command to start a counter in the processing fpga.
Definition at line 48 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_PROC_STOP_COUNTER "stop_proc_counter" |
Command to stop a counter in the processing fpga.
Definition at line 49 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_ERROR_COUNTER "read_error_counter" |
Command to read the error counter from one optical link.
sector,side,halfstave |
Definition at line 27 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_FO_COUNTER "read_fo_counter" |
Command to read the fastor counter of a fastor channel channel.
sector,side,halfstave,fastorNumber |
Definition at line 41 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_FO_MASK "read_fo_mask" |
Command to get the fastor mask of one optical link.
sector,side,halfstave |
Definition at line 23 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_LINK_DELAY "read_link_delay" |
Command to read the delay from one optical link.
sector,side,halfstave |
Definition at line 24 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_LINK_PHASE "read_link_phase" |
Command to read the delay from one optical link.
sector,side,halfstave |
Definition at line 26 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_MAX_FASTOR_COUNTS "read_max_fastor_counts" |
Command to read maximum fastor counts from an opin board.
sector,side,halfstave |
Definition at line 31 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_MIN_FASTOR_COUNTS "read_min_fastor_counts" |
Command to read minimum fastor counts from an optin board.
sector,side,halfstave |
Definition at line 32 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_PROC_CMD_REG "read_proc_cmd" |
command to read the command register of the processing fpga
value |
Definition at line 51 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_PROC_COUNTER "read_proc_counter" |
command to read one counter output in the processing fpga
number(0-9) |
Definition at line 55 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_PROC_GEN_COUNTER "read_proc_gen_counter" |
command read a general purpose counter in the processing fpga
optin,counter |
Definition at line 59 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_PROC_SETTINGS_REGISTER "read_proc_settings" |
command to read one settings register of the processing fpga
register(0-9) |
Definition at line 53 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_PROC_SIGNATURE "read_proc_signature" |
command to read a signature register from processing fpga
signature | reg (0-9) |
Definition at line 61 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_PROC_STATUS "read_proc_status" |
command to read the one of the status register of the processing fpga
register |
Definition at line 52 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_PROC_TIME_STAMP "read_proc_time_stamp" |
command to read a time stamp from the processing fpga
optin,time | stamp number (0-2) |
Definition at line 60 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_PROC_TRIGGER_MODE "read_trigger_mode" |
command to read the trigger mode for one output
output | index |
Definition at line 64 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_TIME_STAMP "read_time_stamp" |
Command to read a time stamp register from an optin board.
sector,side,halfstave |
Definition at line 30 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_UDF_ENABLE "read_udf_enable" |
Command to read the user defined fastor enable bit.
sector,side,halfstave |
Definition at line 22 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_READ_WORD "read_word" |
Command to read from a memory position.
address |
Definition at line 17 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_REFRESH_FO_STATUS "refresh_fo_status" |
Command to refresh services and menbers of one fastor channel channel.
sector,side,halfstave,fastorNumber |
Definition at line 46 of file pit_driver_cmd_def.h.
#define CMD_REFRESH_GLOBAL_STATUS "refresh_global_status" |
Command to refresh the all status services and internal menbers of the pit driver.
Definition at line 43 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_REFRESH_LINK_STATUS "refresh_link_status" |
Command to refresh status services and internal members of one optical link channel.
sector,side,halfstave |
Definition at line 45 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_REFRESH_OPTIN_STATUS "refresh_optin_status" |
refreshes the status of one optin board channel
sector,side,halfstave |
Definition at line 44 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_RELEASE_FO_CHANNEL "release_fo_channel" |
Command to release a fastor channel.
sector,side,halfstave,fastorNumber |
Definition at line 40 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_RESET_SIU "reset_siu" |
Command to reset the siu in case of problems.
Definition at line 67 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_SET_PROC_TIMER_ENABLE "set_proc_timer_enable" |
command to set the timer enable bit
value,: | value(0-1) |
Definition at line 56 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_STATUS_EXECUTING "EXECUTING" |
#define CMD_STATUS_FAILED "FAILED" |
#define CMD_STATUS_FINISHED "FINISHED" |
#define CMD_WRITE_LINK_DELAY "write_link_delay" |
Command to read the delay from one optical link.
sector,side,halfstave,delay | [0;3] |
Definition at line 25 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_MAX_FASTOR_COUNTS "write_max_fastor_counts" |
Command to write the maximum fastor counts to an optin board.
sector,side,halfstave,value |
Definition at line 33 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_MIN_FASTOR_COUNTS "write_min_fastor_counts" |
Command to write the min fastor counts to an optin board.
sector,side,halfstave,value |
Definition at line 34 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_PROC_CMD_REG "write_proc_cmd" |
command to write in the command register of the processing fpga
value |
Definition at line 50 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_PROC_SETTINGS_REGISTER "write_proc_settings" |
command to write one of the settings register of the processing fpga
register(0-9),value |
Definition at line 54 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_PROC_SIGNATURE "write_proc_signature" |
command to write a signature register from processing fpga
signature | reg (0-9), signature to write (8 bit value) |
Definition at line 62 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_PROC_TIMER_PERIOD "write_proc_timer_period" |
command to write the timer period in the fpga
Definition at line 58 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_PROC_TRIGGER_MODE "write_trigger_mode" |
command to write the trigger mode for one output
output | index | |
mode | (normal, toggle, signature, random ) |
Definition at line 63 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_UDF_ENABLE "write_udf_enable" |
Command to write the user defined fastor status enable bit in the optical link.
sector,side,halfstave,value(0/1) |
Definition at line 21 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define CMD_WRITE_WORD "write_word" |
Command to write to a memory position.
address,value | to write |
Definition at line 16 of file pit_driver_cmd_def.h.
Referenced by pit_driver::executeCommand().
#define DIM_LOG_NAME "PIT/LOG" |
the dim service for the logging
Definition at line 7 of file pit_driver_cmd_def.h.
Referenced by main().
#define GENERIC_CMD_NAME "PIT/COMMAND" |
#define GENERIC_CMD_SERVICE "PIT/CMD_RETURN" |
#define GENERIC_CMD_STATUS_SERVICE "PIT/CMD_STATUS" |