/* ================================================ * * * Menu Item ID's * * * ================================================= */ /* Main Menu */ #define SILICON_MENU 1 #define FLAGS_MENU 2 #define CAL_RUN_MENU 3 #define CHOICES_MENU 4 /* Silicon Menu items */ #define EXIT 0 #define INITIALIZE_DSP 1 #define RESET_FIFO 2 #define LOAD_CONTRL_BLK 3 #define EXEC_CONTRL_BLK 4 #define SET_LL_DA 5 #define SET_STROBE_DLY 6 #define SET_COUNTR 7 #define GET_DET_STAT 8 #define GET_GEN_MESSAGE 9 #define LL_TEST 10 /* Pixel Menu items */ /* nothing here */ /* Choices Menu items */ #define DISABLE_READOU 3 #define ENABLE_READOU 4 #define TRANSFER_DAT 5 #define LOAD_GRE 7 #define LOAD_DAT 8 #define LOAD_COD 9 #define SELECT_RUN_MOD 11 #define SELECT_TRIG_MOD 12 #define SELECT_ALIGN_DELA 13 #define SELECT_TIME_PARA 14 #define CALIBRAT 16 #define WRITE_DA 17 #define ECHO_TEST 19 #define MEMORY_TEST 20 /* Flag Menu items */ #define FLAG_ABORT 2 #define FLAG_VERBOSE_OFF 3 #define FLAG_VERBOSE_ON 4 #define FLAG_SOB_SIGNAL 5 #define FLAG_EOB_SIGNAL 6 #define FLAG_TRIGGER 7 #define FLAG_GENERIC_SET 8 #define FLAG_DSP_DATAREADY 9 #define FLAG_DSP_STATE 10 #define FLAG_HOST_STATE 11 #define FLAG_BOOT_CODE 12 #define FLAG_SYSTEM_CODE 13 #define FLAG_USER_CODE 14 #define FLAG_GENERIC_READ 15 /* histogram Menu Items */ #define LIST_ITEM 1 #define CLEAR_ITEM 2 #define DISPLAY_ITEM 3 #define OPTIONS_ITEM 4 #define STORE_ITEM 5 #define FETCH_ITEM 6 /* Auto Menu Items */ #define AUTO_CAL 2 #define AUTO_LOOP 3 #define AUTO_THRES 4 #define AUTO_DELAY 35 #define AUTO_NOISE 36 /* threshold scans */ #define TH_TH_SCAN 0 #define TH_RU_SCAN 1 #define TH_DELAY_SCAN 2