00001 #ifndef STRAPDV_COMMANDS_H
00002 #define STRAPDV_COMMANDS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #define strapCMD_GET_BOARD_ID 500
00022 #define strapCMD_GET_TIMEOUT 510
00023 #define strapCMD_GET_SEM_IN 515
00024 #define strapCMD_GET_SEM_OUT 520
00025 #define strapCMD_GET_RT_SEM 525
00026 #define strapCMD_GET_RT_DATA_PTR 530
00027 #define strapCMD_GET_DIAG_SEM 540
00028
00029
00030 #define strapCMD_SEND_COMMAND 550
00031 #define strapCMD_SEND_SETUP 555
00032 #define strapCMD_SEND_STATIC 557
00033 #define strapCMD_SEND_DISTURB 560
00034 #define strapCMD_SEND_HV_SETUP 563
00035 #define strapCMD_SET_TIMEOUT 565
00036 #define strapCMD_SET_RT_SEM 570
00037 #define strapCMD_SET_RT_DATA_PTR 575
00038 #define strapCMD_SET_DIAG_SEM 578
00039 #define strapCMD_FREE_DEVICE 580
00040 #define strapCMD_WAIT 585
00041 #define strapCMD_DL_PROGRAM 590
00042 #define strapCMD_DL_MEMORY 595
00043
00044
00045
00046
00047 #define strapdvDSP_VERSION 1
00048 #define strapdvGET_DYNAMIC_SETUP 2
00049 #define strapdvGET_DIAGNOSTIC 3
00050 #define strapdvSET_DISTURB_MODE 4
00051 #define strapdvSTART_DISTURB 5
00052 #define strapdvSTOP_DISTURB 6
00053 #define strapdvSET_TEMPERATURE 7
00054 #define strapdvSET_HV 8
00055 #define strapdvSET_CONTROL 9
00056 #define strapdvSET_CONTROL_INT 10
00057 #define strapdvGET_STATIC_SETUP 11
00058 #define strapdvSTORE_DATA 13
00059 #define strapdvGET_DATA 14
00060 #define strapdvSET_RT_MODE 15
00061 #define strapdvOPEN_GATE 16
00062 #define strapdvGET_STATUS 17
00063 #define strapdvSHUTDOWN 18
00064 #define strapdvSET_DATA_BUFFER 19
00065 #define strapdvGET_CIRC_DATA 20
00066 #define strapdvGET_E2PROM 21
00067 #define strapdvSIMUL_MODE 24
00068 #define strapdvSIMUL_TEMP 25
00069 #define strapdvSIMUL_APD 26
00070 #define strapdvSET_DIAG_MODE 27
00071 #define strapdvSET_CHOP_MODE 28
00072 #define strapdvSIMUL_CHOP_POS 29
00073
00074 #define strapdvSOFT_RESET 250
00075 #define strapdvGIVE_PM_BLOCK 251
00076 #define strapdvGIVE_DM_BLOCK 252
00077 #define strapdvREAD_RAM 253
00078 #define strapdvWAKE_UP 254
00079 #define strapdvGOTO_SLEEP 255
00080
00081 #endif