/************************************************************************* $Archive: /pacs/OnBoard/par_list.h $ $Revision: 1.14 $ $Date: 2009/04/23 13:51:12 $ $Author: amazy $ $Log: par_list.h,v $ Revision 1.14 2009/04/23 13:51:12 amazy 6.029 * * 8 9/10/08 12:05 Amazy * * 7 30/09/08 15:19 Amazy * - increased grating power limit to 150mA and made it commandable * - added a synchro counter in HK * - new parameters value for DMC_SYNCHRONIZE_ON_DET to avoid using the * synchro to trigger the mechanisms move * - In photo, the RedSpuTransmission mode was not copied into red science * headers. It is now corrected * * 6 6/04/08 11:45p Amazy * - added a filter to the grating controller * - now resetting ChopperOut in the chopper enable * * 5 5/31/07 11:27a Amazy * v6.018 * * 4 5/03/07 4:02p Amazy * added thresholds for the FW and an additional parameter to specify the * direction of the move * * 39 3/14/06 4:32p Pacs Egse * Version 6.001 * Cleaned and commented *************************************************************************/ /* This list of macro is used to identify all the parameters that can be accessed by the DPU through a write command. You can define the macro PARAM as follow to obtain the list of parameters ID : #define PARAM(ParamId, variable, length) ParamId, enum { #include "par_list.h" NB_PARAMS }; SEE ALSO : "DpuRec.h" "DpuRec.c" */ PARAM( DMC_WRT_TIME , gParameters.Sequencer.TemporaryTime , 2 ) PARAM( DMC_WRT_SEQ_BUFFER , gParameters.Sequencer.SequenceBuffer[0] , 512 ) PARAM( DMC_WRT_SEQ_BUFFER_0 , gParameters.Sequencer.SequenceBuffer[0] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_1 , gParameters.Sequencer.SequenceBuffer[26] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_2 , gParameters.Sequencer.SequenceBuffer[52] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_3 , gParameters.Sequencer.SequenceBuffer[78] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_4 , gParameters.Sequencer.SequenceBuffer[104] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_5 , gParameters.Sequencer.SequenceBuffer[130] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_6 , gParameters.Sequencer.SequenceBuffer[156] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_7 , gParameters.Sequencer.SequenceBuffer[182] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_8 , gParameters.Sequencer.SequenceBuffer[208] , 52 ) PARAM( DMC_WRT_SEQ_BUFFER_9 , gParameters.Sequencer.SequenceBuffer[234] , 44 ) PARAM( DMC_WRT_NOT_USED_1 , gDummyVariable , 1 ) PARAM( DMC_WRT_DIAG_HK_LIST , gParameters.HkDiagnosticController.HkDiagList[0] , 16 ) PARAM( DMC_WRT_DIAG_HK_CONF_TAB , gaHkMeasure[DMC_CUSTOM_ENT_1] , 50 ) PARAM( DMC_WRT_GRAT_CONF_PAR , gParameters.GratingController.PidController.Kp , 9 ) PARAM( DMC_WRT_CHOP_CONF_PAR , gParameters.ChopperController.PidController.Kp , 21 ) PARAM( DMC_WRT_FW_SPEC_CONF_PAR , gParameters.FWSpecController.Rate , 6 ) PARAM( DMC_WRT_FW_PHOT_CONF_PAR , gParameters.FWPhotoController.Rate , 6 ) PARAM( DMC_WRT_CS1_CONF_PAR , gParameters.CS1Controller.Kp , 7 ) PARAM( DMC_WRT_CS2_CONF_PAR , gParameters.CS2Controller.Kp , 7 ) PARAM( DMC_WRT_GRAT_MAX_POWER , gParameters.GratingController.MaxOutputLongDuration , 1 ) PARAM( DMC_WRT_BOL_REC_OPT , gParameters.BolRec.Options , 1 ) PARAM( DMC_WRT_B_DEC_REC_OPT , gParameters.BlueDecRec.Options , 1 ) PARAM( DMC_WRT_R_DEC_REC_OPT , gParameters.RedDecRec.Options , 1 ) PARAM( DMC_WRT_MAX_DITHER , gDitheringAmplitude , 1 ) PARAM( DMC_WRT_R_SPEC_PAR , gParameters.RedDecController.TemporaryDetectorParams , 6 ) PARAM( DMC_WRT_B_SPEC_PAR , gParameters.BlueDecController.TemporaryDetectorParams , 6 ) PARAM( DMC_WRT_SPU_TRAN_MODE , gParameters.BlueSpuTransmissionMode , 2 ) PARAM( DMC_WRT_TIMING_FPGA_PAR , gParameters.FPGA.TemporarySynchroSourceSelection , 6 ) PARAM( DMC_WRT_B_PACKT_ENC_LINK , gParameters.BluePacketEncoderLink , 1 ) PARAM( DMC_WRT_R_PACKT_ENC_LINK , gParameters.RedPacketEncoderLink , 1 ) PARAM( DMC_WRT_GRAT_INDUCT_AMPL , gParameters.GratingController.InductosynExcitationAmplitude , 1 ) PARAM( DMC_WRT_GRAT_RANGE , gParameters.GratingController.Range , 1 ) PARAM( DMC_WRT_GRAT_HALL_OFFSET , gParameters.GratingController.HallSensorsOffset , 1 ) PARAM( DMC_WRT_GRAT_DEG_MODE_PARAM , gParameters.GratingController.DegModeRate , 2 ) PARAM( DMC_WRT_GRAT_CONF_FILT , gParameters.GratingController.IntFilterN1 , 5 )