##// END OF EJS Templates
fsw-0-2 delivery to LESIA...
fsw-0-2 delivery to LESIA Housekeeping function implemented with dumb data

File last commit:

r16:059e0f45d09b default
r16:059e0f45d09b default
Show More
fsw_globals.c
49 lines | 1.8 KiB | text/x-c | CLexer
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #include <fsw_processing.h>
admin@pc-p-leroy3.LAB-LPP.LOCAL
Beginning of the message queue implementation for the actions handler
r8 #include <rtems.h>
paul@pc-solar1.lab-lpp.local
fsw-0-2 delivery to LESIA...
r16 #include <ccsds_types.h>
admin@pc-p-leroy3.LAB-LPP.LOCAL
Beginning of the message queue implementation for the actions handler
r8
// RTEMS GLOBAL VARIABLES
paul@pc-solar1.lab-lpp.local
Message queue implemented for valid TC processing...
r9 rtems_name misc_name[5];
rtems_name misc_id[5];
paul@pc-solar1.lab-lpp.local
fsw-0-2 delivery to LESIA...
r16 rtems_id Task_id[15]; /* array of task ids */
rtems_name Task_name[15]; /* array of task names */
paul@pc-solar1.lab-lpp.local
Message queue implemented for valid TC processing...
r9 int fdSPW;
int fdUART;
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
paul@pc-solar1.lab-lpp.local
Several TC actions added...
r11 // APB CONFIGURATION REGISTERS
time_management_regs_t *time_management_regs = (time_management_regs_t*) REGS_ADDR_TIME_MANAGEMENT;
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 // WAVEFORMS GLOBAL VARIABLES
volatile int wf_snap_f0[ NB_SAMPLES_PER_SNAPSHOT * NB_BYTES_SWF_BLK ]; // 24576 bytes
volatile int wf_snap_f1[ NB_SAMPLES_PER_SNAPSHOT * NB_BYTES_SWF_BLK ]; // 24576 bytes
volatile int wf_snap_f2[ NB_SAMPLES_PER_SNAPSHOT * NB_BYTES_SWF_BLK ]; // 24576 bytes
volatile int wf_cont_f3[ NB_SAMPLES_PER_SNAPSHOT * NB_BYTES_SWF_BLK ]; // 24576 bytes
// SPECTRAL MATRICES GLOBAL VARIABLES
volatile int spec_mat_f0_a[ TOTAL_SIZE_SPEC_MAT ];
volatile int spec_mat_f0_b[ TOTAL_SIZE_SPEC_MAT ];
volatile int spec_mat_f0_c[ TOTAL_SIZE_SPEC_MAT ];
volatile int spec_mat_f0_d[ TOTAL_SIZE_SPEC_MAT ];
volatile int spec_mat_f0_e[ TOTAL_SIZE_SPEC_MAT ];
volatile int spec_mat_f0_f[ TOTAL_SIZE_SPEC_MAT ];
volatile int spec_mat_f0_g[ TOTAL_SIZE_SPEC_MAT ];
volatile int spec_mat_f0_h[ TOTAL_SIZE_SPEC_MAT ];
//
float averaged_spec_mat_f0[ TOTAL_SIZE_SPEC_MAT ];
float compressed_spec_mat_f0[ TOTAL_SIZE_COMPRESSED_MATRIX_f0 ];
paul@pc-solar1.lab-lpp.local
Several TC actions added...
r11 // MODE PARAMETERS
admin@pc-p-leroy3.LAB-LPP.LOCAL
Draft implementation of the TC_LFR_LOAD_NORMAL_PAR
r10 struct param_norm_str param_norm;
paul@pc-solar1.lab-lpp.local
Several TC actions added...
r11 struct param_burst_str param_burst;
struct param_sbm1_str param_sbm1;
struct param_sbm2_str param_sbm2;
unsigned char param_common[2];
admin@pc-p-leroy3.LAB-LPP.LOCAL
Draft implementation of the TC_LFR_LOAD_NORMAL_PAR
r10
paul@pc-solar1.lab-lpp.local
fsw-0-2 delivery to LESIA...
r16 // HK PACKETS
TMHeader_t housekeeping_header;
char housekeeping_data[LENGTH_TM_LFR_HK - 10 + 1];
admin@pc-p-leroy3.LAB-LPP.LOCAL
Draft implementation of the TC_LFR_LOAD_NORMAL_PAR
r10 // BASIC PARAMETERS GLOBAL VARIABLES
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 unsigned char LFR_BP1_F0[ NB_BINS_COMPRESSED_MATRIX_f0 * 9 ];
BP1_t data_BP1[ NB_BINS_COMPRESSED_MATRIX_f0 ];
paul@pc-solar1.lab-lpp.local
FSW modified to have correct answers to TC_LFR_DUMP_PAR
r15