##// END OF EJS Templates
Commit before working on the ERR 4 due to message queue...
Commit before working on the ERR 4 due to message queue This happens during SWF and CWF emission

File last commit:

r34:c3c11207c46d default
r34:c3c11207c46d default
Show More
fsw_processing.h
70 lines | 2.6 KiB | text/x-c | CLexer
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #ifndef FSW_RTEMS_PROCESSING_H_INCLUDED
#define FSW_RTEMS_PROCESSING_H_INCLUDED
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 #include <rtems.h>
#include <grspw.h>
#include <leon.h>
#include <fsw_init.h>
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 #include <fsw_params.h>
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 #include <grlib_regs.h>
#include <ccsds_types.h>
#include <stdio.h>
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 #include <stdlib.h>
paul
sy_lfr_n_swf_p implemented...
r32 extern volatile int spec_mat_f0_0[ ];
extern volatile int spec_mat_f0_1[ ];
paul
Commit before working on the ERR 4 due to message queue...
r34 extern volatile int spec_mat_f0_a[ ];
extern volatile int spec_mat_f0_b[ ];
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern volatile int spec_mat_f0_c[ ];
extern volatile int spec_mat_f0_d[ ];
extern volatile int spec_mat_f0_e[ ];
extern volatile int spec_mat_f0_f[ ];
extern volatile int spec_mat_f0_g[ ];
extern volatile int spec_mat_f0_h[ ];
paul
sy_lfr_n_swf_p implemented...
r32 extern volatile int spec_mat_f1[ ];
extern volatile int spec_mat_f2[ ];
extern volatile int spec_mat_f1_bis[ ];
extern volatile int spec_mat_f2_bis[ ];
extern volatile int spec_mat_f0_0_bis[ ];
extern volatile int spec_mat_f0_1_bis[ ];
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern rtems_id Task_id[ ]; /* array of task ids */
paul
SID corrected in TM_LFR_TC_EXE packets...
r31
paul
sy_lfr_n_swf_p implemented...
r32 // parameters
extern struct param_local_str param_local;
// registers
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 extern time_management_regs_t *time_management_regs;
extern spectral_matrix_regs_t *spectral_matrix_regs;
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 // ISR
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 rtems_isr spectral_matrices_isr( rtems_vector_number vector );
paul
Commit before working on the ERR 4 due to message queue...
r34 rtems_isr spectral_matrices_isr_simu( rtems_vector_number vector );
paul
SID corrected in TM_LFR_TC_EXE packets...
r31
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 // RTEMS TASKS
rtems_task spw_bppr_task(rtems_task_argument argument);
paul@pc-solar1.lab-lpp.local
Message queue implemented for valid TC processing...
r9 rtems_task avf0_task(rtems_task_argument argument);
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 rtems_task bpf0_task(rtems_task_argument argument);
rtems_task smiq_task(rtems_task_argument argument); // added to test the spectral matrix simulator
rtems_task matr_task(rtems_task_argument argument);
paul@pc-solar1.lab-lpp.local
automatic reconnexion of the spacewire link...
r17
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 rtems_task spw_bppr_task_rate_monotonic(rtems_task_argument argument);
paul
SID corrected in TM_LFR_TC_EXE packets...
r31
void matrix_average(volatile int *spec_mat, volatile float *averaged_spec_mat);
void matrix_compression(volatile float *averaged_spec_mat, unsigned char fChannel, float *compressed_spec_mat);
void matrix_reset(volatile float *averaged_spec_mat);
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 void BP1_set(float * compressed_spec_mat, unsigned char nb_bins_compressed_spec_mat, unsigned char * LFR_BP1);
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 void BP2_set(float * compressed_spec_mat, unsigned char nb_bins_compressed_spec_mat);
//
void init_header_asm( Header_TM_LFR_SCIENCE_ASM_t *header);
void send_spectral_matrix(Header_TM_LFR_SCIENCE_ASM_t *header, char *spectral_matrix,
unsigned int sid, spw_ioctl_pkt_send *spw_ioctl_send);
void convert_averaged_spectral_matrix(volatile float *input_matrix, char *output_matrix);
paul
sy_lfr_n_swf_p implemented...
r32 void fill_averaged_spectral_matrix();
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 void reset_spectral_matrix_regs();
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
#endif // FSW_RTEMS_PROCESSING_H_INCLUDED