##// END OF EJS Templates
Minor changes in .h inclusion
Minor changes in .h inclusion

File last commit:

r45:c48d02b72186 default
r45:c48d02b72186 default
Show More
fsw_spacewire.h
36 lines | 1.2 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;
paul
Minor changes in .h inclusion
r45 extern Packet_TM_LFR_HK_t housekeeping_packet;
extern rtems_id Task_id[20]; /* array of task ids */
paul
Last commit before release 0-13...
r35
// 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
Last commit before release 0-13...
r35
int spacewire_configure_link( void );
paul
Minor changes in .h inclusion
r45 int spacewire_wait_for_link( 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( void );
void spacewire_update_statistics( void );
paul
Last commit before release 0-13...
r35
paul
Minor changes in .h inclusion
r45 void timecode_irq_handler( void *pDev, void *regs, int minor, unsigned int tc );
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