##// END OF EJS Templates
Slight changes on the flight software
Slight changes on the flight software

File last commit:

r18:bab57f7b9093 default
r20:a872a934ec2d default
Show More
fsw_init.h
60 lines | 1.9 KiB | text/x-c | CLexer
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #ifndef FSW_RTEMS_H_INCLUDED
#define FSW_RTEMS_H_INCLUDED
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <grspw.h>
#include <apbuart.h>
#include <fsw_params.h>
#include <fsw_misc.h>
#include <fsw_processing.h>
#include <tc_handler.h>
#include <wf_handler.h>
#include <grlib_regs.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
Naming convention changed...
r5 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 */
extern rtems_name Task_name[ ]; /* array of task names */
extern rtems_name misc_name[ ]; /* arry of miscellaneous names for rtems objects */
extern int fdSPW; // grspw file descriptor
extern int fdUART; // uart file descriptor
paul@pc-solar1.lab-lpp.local
FSW modified to have correct answers to TC_LFR_DUMP_PAR
r15
void timecode_irq_handler(void *pDev, void *regs, int minor, unsigned int tc);
paul@pc-solar1.lab-lpp.local
Several TC actions added...
r11 // MODE PARAMETERS
admin@pc-p-leroy3.LAB-LPP.LOCAL
Draft implementation of the TC_LFR_LOAD_NORMAL_PAR
r10 extern struct param_norm_str param_norm;
paul@pc-solar1.lab-lpp.local
Several TC actions added...
r11 extern struct param_burst_str param_burst;
extern struct param_sbm1_str param_sbm1;
extern struct param_sbm2_str param_sbm2;
extern unsigned char param_common[];
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);
rtems_task stat_task(rtems_task_argument argument);
rtems_task wfrm_task(rtems_task_argument argument);
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 int create_names( void );
int create_all_tasks( void );
int start_all_tasks( void );
int create_message_queue( void );
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
// OTHER functions
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 void init_default_mode_parameters( void );
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 int configure_spw_link( void );
paul@pc-solar1.lab-lpp.local
FSW modified to have correct answers to TC_LFR_DUMP_PAR
r15 void configure_spacewire_set_NP(unsigned char val, unsigned int regAddr); // No Port force
void configure_spacewire_set_RE(unsigned char val, unsigned int regAddr); // RMAP Enable
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 extern int rtems_cpu_usage_report( void );
extern int rtems_cpu_usage_reset( void );
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 rtems_status_code write_spw(spw_ioctl_pkt_send* spw_ioctl_send);
paul@pc-solar1.lab-lpp.local
FSW modified to have correct answers to TC_LFR_DUMP_PAR
r15 void (*grspw_timecode_callback) (void *pDev, void *regs, int minor, unsigned int tc);
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
#endif // FSW_RTEMS_CONFIG_H_INCLUDED