##// END OF EJS Templates
Integration of basic parameters functions in the flight software...
Integration of basic parameters functions in the flight software BP1 and BP2 are computed constant LSB_FIRST_TCH is defined (will be removed later) k coefficients are initialized in the init task v, e1 and e2 are read directly in buffers and put in HK packets sending functions slightly modified spectral matrices are now correctly timestamped a few changes to LFR_basic-parameters

File last commit:

r172:ddd72945217c VHDL_0_1_28
r179:f0fdfd2b8c4c VHDL_0_1_28
Show More
fsw_spacewire.h
47 lines | 1.9 KiB | text/x-c | CLexer
paul
Last commit before release 0-13...
r35 #ifndef FSW_SPACEWIRE_H_INCLUDED
#define FSW_SPACEWIRE_H_INCLUDED
paul
Minor changes in .h inclusion
r45 #include <rtems.h>
#include <grspw.h>
#include <fcntl.h> // for O_RDWR
#include <unistd.h> // for the read call
#include <sys/ioctl.h> // for the ioctl call
#include <errno.h>
#include "fsw_params.h"
#include "tc_handler.h"
paul
Last commit before release 0-13...
r35
extern spw_stats spacewire_stats;
extern spw_stats spacewire_stats_backup;
// RTEMS TASK
paul
Minor changes in .h inclusion
r45 rtems_task spiq_task( rtems_task_argument argument );
rtems_task recv_task( rtems_task_argument unused );
rtems_task send_task( rtems_task_argument argument );
paul
Ignore doc files...
r46 rtems_task wtdg_task( rtems_task_argument argument );
paul
Last commit before release 0-13...
r35
paul
Ignore doc files...
r46 int spacewire_open_link( void );
int spacewire_start_link( int fd );
paul
Sync
r127 int spacewire_stop_and_start_link( int fd );
paul
Ignore doc files...
r46 int spacewire_configure_link(int fd );
int spacewire_reset_link( void );
paul
Minor changes in .h inclusion
r45 void spacewire_set_NP( unsigned char val, unsigned int regAddr ); // No Port force
void spacewire_set_RE( unsigned char val, unsigned int regAddr ); // RMAP Enable
void spacewire_compute_stats_offsets( void );
void spacewire_update_statistics( void );
paul
Last commit before release 0-13...
r35
paul
New version of the waveform picker packet transmission...
r172 void init_header_cwf( Header_TM_LFR_SCIENCE_CWF_t *header );
void init_header_swf( Header_TM_LFR_SCIENCE_SWF_t *header );
void init_header_asm( Header_TM_LFR_SCIENCE_ASM_t *header );
int spw_send_waveform_CWF( ring_node *ring_node_to_send, Header_TM_LFR_SCIENCE_CWF_t *header );
int spw_send_waveform_SWF( ring_node *ring_node_to_send, Header_TM_LFR_SCIENCE_SWF_t *header );
int spw_send_waveform_CWF3_light( ring_node *ring_node_to_send, Header_TM_LFR_SCIENCE_CWF_t *header );
void spw_send_asm( ring_node *ring_node_to_send, Header_TM_LFR_SCIENCE_ASM_t *header );
paul
Minor changes in .h inclusion
r45 void timecode_irq_handler( void *pDev, void *regs, int minor, unsigned int tc );
paul
Ignore doc files...
r46 rtems_timer_service_routine user_routine( rtems_id timer_id, void *user_data );
paul
Last commit before release 0-13...
r35
paul
Minor changes in .h inclusion
r45 void (*grspw_timecode_callback) ( void *pDev, void *regs, int minor, unsigned int tc );
paul
Last commit before release 0-13...
r35
#endif // FSW_SPACEWIRE_H_INCLUDED