tc_load_dump_parameters.h
54 lines
| 2.1 KiB
| text/x-c
|
CLexer
/ header / tc_load_dump_parameters.h
|
r40 | #ifndef TC_LOAD_DUMP_PARAMETERS_H | ||
#define TC_LOAD_DUMP_PARAMETERS_H | ||||
|
r45 | #include <rtems.h> | ||
#include <stdio.h> | ||||
#include "fsw_params.h" | ||||
#include "wf_handler.h" | ||||
#include "tm_lfr_tc_exe.h" | ||||
|
r56 | #include "fsw_misc.h" | ||
|
r45 | |||
|
r166 | #define FLOAT_EQUAL_ZERO 0.001 | ||
|
r149 | extern unsigned short sequenceCounterParameterDump; | ||
|
r40 | int action_load_common_par( ccsdsTelecommandPacket_t *TC ); | ||
|
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); | ||||
|
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); | ||||
int action_dump_kcoefficients(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time); | ||||
|
r40 | int action_dump_par(rtems_id queue_id ); | ||
|
r117 | // NORMAL | ||
|
r152 | int check_common_par_consistency( ccsdsTelecommandPacket_t *TC, rtems_id queue_id ); | ||
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 ); | ||||
|
r40 | |||
|
r117 | // BURST | ||
|
r152 | int set_sy_lfr_b_bp_p0( ccsdsTelecommandPacket_t *TC ); | ||
int set_sy_lfr_b_bp_p1( ccsdsTelecommandPacket_t *TC ); | ||||
|
r117 | |||
// SBM1 | ||||
|
r152 | int set_sy_lfr_s1_bp_p0( ccsdsTelecommandPacket_t *TC ); | ||
int set_sy_lfr_s1_bp_p1( ccsdsTelecommandPacket_t *TC ); | ||||
|
r117 | |||
// SBM2 | ||||
|
r152 | int set_sy_lfr_s2_bp_p0( ccsdsTelecommandPacket_t *TC ); | ||
int set_sy_lfr_s2_bp_p1( ccsdsTelecommandPacket_t *TC ); | ||||
|
r117 | |||
|
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 ); | ||||
|
r46 | void init_parameter_dump( void ); | ||
|
r40 | #endif // TC_LOAD_DUMP_PARAMETERS_H | ||