##// END OF EJS Templates
sy_lfr_n_swf_p implemented...
sy_lfr_n_swf_p implemented sy_lfr_n_asm_p implemented in normal mode one ASM_F0 matrix is sent each (100 * sy_lfr_n_asm_p) IRQ GSA => 100 IRQ per second

File last commit:

r32:796c5aa15417 default
r32:796c5aa15417 default
Show More
wf_handler.h
66 lines | 2.4 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 <fsw_params.h>
#include <grspw.h>
#include <grlib_regs.h>
#include <ccsds_types.h>
#include <stdio.h>
#include <fsw_init.h>
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 #include <math.h>
#define pi 3.1415
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
//#include <sys/ioctl.h>
extern rtems_id Task_id[]; /* array of task ids */
extern int fdSPW;
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern volatile int wf_snap_f0[ ];
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@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@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@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@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 void init_header_snapshot_wf( Header_TM_LFR_SCIENCE_SWF_t *header );
void init_header_continuous_wf( Header_TM_LFR_SCIENCE_CWF_t *header );
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 void send_waveform_norm( Header_TM_LFR_SCIENCE_SWF_t *header, spw_ioctl_pkt_send *spw_ioctl_send );
void send_waveform_burst( Header_TM_LFR_SCIENCE_CWF_t *header, spw_ioctl_pkt_send *spw_ioctl_send );
void send_waveform_sbm1( Header_TM_LFR_SCIENCE_CWF_t *header, spw_ioctl_pkt_send *spw_ioctl_send );
void send_waveform_sbm2( Header_TM_LFR_SCIENCE_CWF_t *header, spw_ioctl_pkt_send *spw_ioctl_send );
void send_waveform_norm_cwf_f3(Header_TM_LFR_SCIENCE_CWF_t *header, spw_ioctl_pkt_send *spw_ioctl_send );
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 void send_waveform_SWF( Header_TM_LFR_SCIENCE_SWF_t *header, volatile int *waveform,
paul
sy_lfr_n_swf_p implemented...
r32 unsigned int sid, spw_ioctl_pkt_send *spw_ioctl_send );
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 void send_waveform_CWF( Header_TM_LFR_SCIENCE_CWF_t *header, volatile int *waveform,
paul
sy_lfr_n_swf_p implemented...
r32 unsigned int sid, spw_ioctl_pkt_send *spw_ioctl_send );
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
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