##// END OF EJS Templates
All modes implemented for the waveforms...
All modes implemented for the waveforms Mode transition validity checked before transition All spw_ioctl_send structure have their field "options = 0" SpaceWire errors reported in HK packets

File last commit:

r23:af9a6b32a71f default
r23:af9a6b32a71f default
Show More
fsw_init.h
67 lines | 2.3 KiB | text/x-c | CLexer
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #ifndef FSW_RTEMS_H_INCLUDED
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 #define FSW_RTEMS_H_INCLUDED
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <grspw.h>
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 #include <apbuart.h>
#include <fsw_params.h>
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #include <fsw_misc.h>
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 #include <fsw_processing.h>
#include <tc_handler.h>
#include <wf_handler.h>
#include <grlib_regs.h>
#include <ccsds_types.h>
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern int sched_yield( void );
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 extern int errno;
paul@pc-solar1.lab-lpp.local
Message queue implemented for valid TC processing...
r9 extern rtems_id Task_id[ ]; /* array of task ids */
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 extern rtems_name Task_name[ ]; /* array of task names */
extern rtems_name misc_name[ ]; /* arry of miscellaneous names for rtems objects */
paul@pc-solar1.lab-lpp.local
Message queue implemented for valid TC processing...
r9 extern int fdSPW; // grspw file descriptor
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 extern int fdUART; // uart file descriptor
void timecode_irq_handler(void *pDev, void *regs, int minor, unsigned int tc);
// MODE PARAMETERS
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 extern struct param_local_str param_local;
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 extern struct param_common_str param_common;
extern struct param_norm_str param_norm;
extern struct param_burst_str param_burst;
extern struct param_sbm1_str param_sbm1;
extern struct param_sbm2_str param_sbm2;
extern Packet_TM_LFR_HK_t housekeeping_packet;
extern unsigned short sequenceCounters[SEQ_CNT_NB_PID][SEQ_CNT_NB_CAT][SEQ_CNT_NB_DEST_ID];
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 // RTEMS TASKS
rtems_task Init( rtems_task_argument argument); /* forward declaration needed */
paul@pc-solar1.lab-lpp.local
Message queue implemented for valid TC processing...
r9 rtems_task recv_task(rtems_task_argument argument);
rtems_task spiq_task(rtems_task_argument argument);
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 rtems_task stat_task(rtems_task_argument argument);
rtems_task wfrm_task(rtems_task_argument argument);
int create_names( void );
int create_all_tasks( void );
int start_all_tasks( void );
int create_message_queue( void );
// OTHER functions
void init_default_mode_parameters( void );
void init_housekeeping_parameters( void );
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 int spacewire_configure_link( void );
int spacewire_try_to_start(void);
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();
paul@pc-solar1.lab-lpp.local
FSW modified to have correct answers to TC_LFR_DUMP_PAR
r15
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern int rtems_cpu_usage_report( void );
paul@pc-solar1.lab-lpp.local
Current version with modes NORMAL and SBM1 operational
r21 extern int rtems_cpu_usage_reset( void );
rtems_status_code write_spw(spw_ioctl_pkt_send* spw_ioctl_send);
void (*grspw_timecode_callback) (void *pDev, void *regs, int minor, unsigned int tc);
#endif // FSW_RTEMS_CONFIG_H_INCLUDED