##// END OF EJS Templates
Merge
Merge

File last commit:

r352:c07c16776bd4 R3++
r374:3b2a59f186e3 merge tip R3++
Show More
tc_load_dump_parameters.h
124 lines | 4.9 KiB | text/x-c | CLexer
/ header / tc_load_dump_parameters.h
paul
Header files inclusion reworked...
r40 #ifndef TC_LOAD_DUMP_PARAMETERS_H
#define TC_LOAD_DUMP_PARAMETERS_H
paul
Minor changes in .h inclusion
r45 #include <rtems.h>
#include <stdio.h>
#include "fsw_params.h"
#include "wf_handler.h"
#include "tm_lfr_tc_exe.h"
paul
sequence counters management added
r56 #include "fsw_misc.h"
paul
TC_LFR_LOAD_KCOEFFICIENTS...
r194 #include "basic_parameters_params.h"
paul
R2 parameter added to TC_LFR_LOAD_COMMON_PAR...
r195 #include "avf0_prc0.h"
paul
Minor changes in .h inclusion
r45
paul
Many corrections, mainly related to #807 Don_Enumeration
r318 #define FLOAT_EQUAL_ZERO 0.001
#define NB_BINS_TO_REMOVE 3
#define FI_INTERVAL_COEFF 0.285
#define BIN_MIN 0
#define BIN_MAX 127
#define DELTAF_F0 96.
#define DELTAF_F1 16.
#define DELTAF_F2 1.
paul
Commit before going back to Rev 326
r330 #define DELTAF_DIV 2.
paul
Many corrections, mainly related to #807 Don_Enumeration
r318
#define BIT_RW1_F1 0x80
#define BIT_RW1_F2 0x40
#define BIT_RW2_F1 0x20
#define BIT_RW2_F2 0x10
#define BIT_RW3_F1 0x08
#define BIT_RW3_F2 0x04
#define BIT_RW4_F1 0x02
#define BIT_RW4_F2 0x01
paul
compliance with ICD 4.3...
r328 #define WHEEL_1 1
#define WHEEL_2 2
#define WHEEL_3 3
#define WHEEL_4 4
#define FREQ_1 1
#define FREQ_2 2
#define FREQ_3 3
#define FREQ_4 4
#define FLAG_OFFSET_WHEELS_1_3 8
#define FLAG_OFFSET_WHEELS_2_4 4
#define FLAG_NAN 0 // Not A NUMBER
#define FLAG_IAN 1 // Is A Number
paul
Many corrections, mainly related to #807 Don_Enumeration
r318 #define SBM_KCOEFF_PER_NORM_KCOEFF 2
paul
Many corrections done after Logiscope analysis
r166
paul
Bug #117
r149 extern unsigned short sequenceCounterParameterDump;
paul
printf removed or replaced by PRINTF macros...
r227 extern unsigned short sequenceCounters_TM_DUMP[];
paul
TC_LFR_LOAD_KCOEFFICIENTS...
r194 extern float k_coeff_intercalib_f0_norm[ ];
extern float k_coeff_intercalib_f0_sbm[ ];
extern float k_coeff_intercalib_f1_norm[ ];
extern float k_coeff_intercalib_f1_sbm[ ];
extern float k_coeff_intercalib_f2[ ];
paul
reaction wheels filtering implemented
r286 extern fbins_masks_t fbins_masks;
paul
Bug #117
r149
paul
Header files inclusion reworked...
r40 int action_load_common_par( ccsdsTelecommandPacket_t *TC );
paul
fsw-0-23...
r75 int action_load_normal_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id , unsigned char *time);
int action_load_burst_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id , unsigned char *time);
int action_load_sbm1_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id , unsigned char *time);
int action_load_sbm2_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id , unsigned char *time);
paul
R3 updates. TC handlers added for the new telecommands:...
r192 int action_load_kcoefficients(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
int action_load_fbins_mask(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
paul
ICD 4.1 taken into account
r283 int action_load_filter_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
paul
R3 updates. TC handlers added for the new telecommands:...
r192 int action_dump_kcoefficients(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time);
paul
bug #507 corrected (destination_id of TM_LFR_PARAMETER_DUMP)
r222 int action_dump_par(ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
paul
Header files inclusion reworked...
r40
paul
Sync...
r117 // NORMAL
paul
3.0.0.21...
r275 int check_normal_par_consistency( ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
paul
Bug #167...
r152 int set_sy_lfr_n_swf_l( ccsdsTelecommandPacket_t *TC );
int set_sy_lfr_n_swf_p( ccsdsTelecommandPacket_t *TC );
int set_sy_lfr_n_asm_p( ccsdsTelecommandPacket_t *TC );
int set_sy_lfr_n_bp_p0( ccsdsTelecommandPacket_t *TC );
int set_sy_lfr_n_bp_p1( ccsdsTelecommandPacket_t *TC );
int set_sy_lfr_n_cwf_long_f3( ccsdsTelecommandPacket_t *TC );
paul
Header files inclusion reworked...
r40
paul
Sync...
r117 // BURST
paul
Bug #167...
r152 int set_sy_lfr_b_bp_p0( ccsdsTelecommandPacket_t *TC );
int set_sy_lfr_b_bp_p1( ccsdsTelecommandPacket_t *TC );
paul
Sync...
r117
// SBM1
paul
Bug #167...
r152 int set_sy_lfr_s1_bp_p0( ccsdsTelecommandPacket_t *TC );
int set_sy_lfr_s1_bp_p1( ccsdsTelecommandPacket_t *TC );
paul
Sync...
r117
// SBM2
paul
Bug #167...
r152 int set_sy_lfr_s2_bp_p0( ccsdsTelecommandPacket_t *TC );
int set_sy_lfr_s2_bp_p1( ccsdsTelecommandPacket_t *TC );
paul
Sync...
r117
paul
rev 1.0.0.2...
r104 // TC_LFR_UPDATE_INFO
unsigned int check_update_info_hk_lfr_mode( unsigned char mode );
unsigned int check_update_info_hk_tds_mode( unsigned char mode );
unsigned int check_update_info_hk_thr_mode( unsigned char mode );
paul
compliance with ICD 4.3...
r328 void set_hk_lfr_sc_rw_f_flag( unsigned char wheel, unsigned char freq, float value );
void set_hk_lfr_sc_rw_f_flags( void );
paul
AVGV modified...
r352 int check_sy_lfr_rw_f( ccsdsTelecommandPacket_t *TC, int offset, int* pos, float* value );
int check_all_sy_lfr_rw_f( ccsdsTelecommandPacket_t *TC, int *pos, float*value );
paul
ICD 4.1 taken into account
r283 void getReactionWheelsFrequencies( ccsdsTelecommandPacket_t *TC );
paul
Bug #914 Masque erroné en cas de bande polluée partiellement ......
r344 void setFBinMask(unsigned char *fbins_mask, float rw_f, unsigned char deltaFreq, float sy_lfr_rw_k );
paul
reaction wheels filtering implemented
r286 void build_sy_lfr_rw_mask( unsigned int channel );
void build_sy_lfr_rw_masks();
void merge_fbins_masks( void );
paul
rev 1.0.0.2...
r104
paul
R2 parameter added to TC_LFR_LOAD_COMMON_PAR...
r195 // FBINS_MASK
int set_sy_lfr_fbins( ccsdsTelecommandPacket_t *TC );
paul
TC_LFR_LOAD_PAS_FILTER_PAR added to the authorized telecommands...
r282 // TC_LFR_LOAD_PARS_FILTER_PAR
paul
3.2.0.3...
r351 int check_sy_lfr_rw_k( ccsdsTelecommandPacket_t *TC, int offset, int* pos, float* value );
int check_all_sy_lfr_rw_k( ccsdsTelecommandPacket_t *TC, int *pos, float*value );
paul
minor updates
r285 int check_sy_lfr_filter_parameters( ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
paul
TC_LFR_LOAD_PAS_FILTER_PAR added to the authorized telecommands...
r282
paul
TC_LFR_LOAD_KCOEFFICIENTS...
r194 // KCOEFFICIENTS
paul
#426 corrected, sy_lfr_kcoeff_frequency >= 36 triggers the transmission of...
r211 int set_sy_lfr_kcoeff(ccsdsTelecommandPacket_t *TC , rtems_id queue_id);
paul
R2 parameter added to TC_LFR_LOAD_COMMON_PAR...
r195 void copyFloatByChar( unsigned char *destination, unsigned char *source );
paul
alignment added to variables initialized by memset...
r338 void copyInt32ByChar( unsigned char *destination, unsigned char *source );
paul
Correction of a bug in set_sy_lfr_kcoeff (misalignment)
r340 void copyInt16ByChar( unsigned char *destination, unsigned char *source );
paul
initialization of parameter_dump_packet updated with filtering elements
r294 void floatToChar( float value, unsigned char* ptr);
paul
TC_LFR_LOAD_KCOEFFICIENTS...
r194
paul
Ignore doc files...
r46 void init_parameter_dump( void );
paul
TC_LFR_LOAD_KCOEFFICIENTS...
r194 void init_kcoefficients_dump( void );
void init_kcoefficients_dump_packet( Packet_TM_LFR_KCOEFFICIENTS_DUMP_t *kcoefficients_dump, unsigned char pkt_nr, unsigned char blk_nr );
paul
printf removed or replaced by PRINTF macros...
r227 void increment_seq_counter_destination_id_dump( unsigned char *packet_sequence_control, unsigned char destination_id );
paul
Ignore doc files...
r46
paul
Header files inclusion reworked...
r40 #endif // TC_LOAD_DUMP_PARAMETERS_H