##// END OF EJS Templates
commit before release
commit before release

File last commit:

r23:af9a6b32a71f default
r25:68625add1e50 default
Show More
wf_handler.h
55 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 <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[ ];
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@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@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 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_SWF( Header_TM_LFR_SCIENCE_SWF_t *header, volatile int *waveform,
unsigned int sid, spw_ioctl_pkt_send *spw_ioctl_send);
void send_waveform_CWF( Header_TM_LFR_SCIENCE_CWF_t *header, volatile int *waveform,
unsigned int sid, spw_ioctl_pkt_send *spw_ioctl_send);
//**************
// wfp registers
void set_wfp_data_shaping(unsigned char data_shaping);
void set_wfp_delta_snapshot(unsigned int delta_snapshot);
void reset_wfp_burst_enable();
void reset_wfp_regs();
//
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 int build_value(int value1, int value0);
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