##// END OF EJS Templates
automatic reconnexion of the spacewire link...
automatic reconnexion of the spacewire link automatic restart of the housekeeping generation rmap destination key harcoded in VHDL is 2

File last commit:

r17:3a73d9962d4a default
r17:3a73d9962d4a 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>
extern int sched_yield();
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
automatic reconnexion of the spacewire link...
r17 int create_names();
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 int create_all_tasks();
int start_all_tasks();
admin@pc-p-leroy3.LAB-LPP.LOCAL
Beginning of the message queue implementation for the actions handler
r8 int create_message_queue();
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
// OTHER functions
admin@pc-p-leroy3.LAB-LPP.LOCAL
Draft implementation of the TC_LFR_LOAD_NORMAL_PAR
r10 void init_default_mode_parameters();
paul@pc-solar1.lab-lpp.local
FSW modified to have correct answers to TC_LFR_DUMP_PAR
r15
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 int configure_spw_link();
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
Naming convention changed...
r5 extern int rtems_cpu_usage_report();
extern int rtems_cpu_usage_reset();
void print_statistics(spw_stats *);
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