##// END OF EJS Templates
Last commit before release 0-13...
Last commit before release 0-13 Waveform transmission in all modes

File last commit:

r35:ca106d3b5c2f default
r35:ca106d3b5c2f default
Show More
wf_handler.h
70 lines | 2.0 KiB | text/x-c | CLexer
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #ifndef WF_HANDLER_H_INCLUDED
#define WF_HANDLER_H_INCLUDED
#include <rtems.h>
#include <grspw.h>
paul
packet emission task added...
r33
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #include <stdio.h>
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 #include <math.h>
paul
packet emission task added...
r33 #include "fsw_params.h"
#include "grlib_regs.h"
#include "ccsds_types.h"
#include "fsw_init.h"
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 #define pi 3.1415
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
//#include <sys/ioctl.h>
extern int fdSPW;
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern volatile int wf_snap_f0[ ];
paul
packet emission task added...
r33 //
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern volatile int wf_snap_f1[ ];
paul@pc-solar1.lab-lpp.local
waveform initialization modified due to a problem of compatibility...
r19 extern volatile int wf_snap_f1_bis[ ];
paul
packet emission task added...
r33 extern volatile int wf_snap_f1_norm[ ];
//
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern volatile int wf_snap_f2[ ];
paul@pc-solar1.lab-lpp.local
All modes partially implemented...
r22 extern volatile int wf_snap_f2_bis[ ];
paul
packet emission task added...
r33 extern volatile int wf_snap_f2_norm[ ];
//
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern volatile int wf_cont_f3[ ];
paul
sy_lfr_n_swf_p implemented...
r32 extern volatile int wf_cont_f3_bis[ ];
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern waveform_picker_regs_t *waveform_picker_regs;
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
rtems_isr waveforms_isr( rtems_vector_number vector );
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 rtems_isr waveforms_simulator_isr( rtems_vector_number vector );
paul@pc-solar1.lab-lpp.local
Message queue implemented for valid TC processing...
r9 rtems_task wfrm_task(rtems_task_argument argument);
paul
sy_lfr_n_swf_p implemented...
r32 rtems_task cwf3_task(rtems_task_argument argument);
paul
packet emission task added...
r33 rtems_task cwf2_task(rtems_task_argument argument);
rtems_task cwf1_task(rtems_task_argument argument);
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
paul@pc-solar1.lab-lpp.local
automatic reconnexion of the spacewire link...
r17 //******************
// general functions
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 void init_waveforms( void );
paul
packet emission task added...
r33 //
paul
Commit before working on the ERR 4 due to message queue...
r34 int init_header_snapshot_wf_table(unsigned int sid , Header_TM_LFR_SCIENCE_SWF_t *headerSWF);
paul
packet emission task added...
r33 int init_header_continuous_wf_table(unsigned int sid , Header_TM_LFR_SCIENCE_CWF_t *headerCWF);
//
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 void reset_waveforms( void );
paul
sy_lfr_n_swf_p implemented...
r32
paul
Last commit before release 0-13...
r35 int send_waveform_SWF(volatile int *waveform, unsigned int sid, Header_TM_LFR_SCIENCE_SWF_t *headerSWF, rtems_id queue_id);
int send_waveform_CWF(volatile int *waveform, unsigned int sid, Header_TM_LFR_SCIENCE_CWF_t *headerCWF, rtems_id queue_id);
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23
//**************
// wfp registers
paul
sy_lfr_n_swf_p implemented...
r32 void set_wfp_data_shaping();
char set_wfp_delta_snapshot();
void set_wfp_burst_enable_register( unsigned char mode);
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 void reset_wfp_burst_enable();
paul
packet emission task added...
r33 void reset_wfp_status();
paul
SID corrected in TM_LFR_TC_EXE packets...
r31 void reset_waveform_picker_regs();
paul
sy_lfr_n_swf_p implemented...
r32
//*****************
// local parameters
void set_local_sbm1_nb_cwf_max();
void set_local_sbm2_nb_cwf_max();
void set_local_nb_interrupt_f0_MAX();
void reset_local_sbm1_nb_cwf_sent();
void reset_local_sbm2_nb_cwf_sent();
paul@pc-solar1.lab-lpp.local
automatic reconnexion of the spacewire link...
r17
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #endif // WF_HANDLER_H_INCLUDED