##// END OF EJS Templates
All modes partially implemented...
All modes partially implemented HK packets improved, information added => software version => current mode => last tc received => last tc rejected

File last commit:

r18:bab57f7b9093 default
r22:c4e2ba2dd2be default
Show More
fsw_misc.h
28 lines | 845 B | text/x-c | CLexer
#ifndef FSW_MISC_H_INCLUDED
#define FSW_MISC_H_INCLUDED
#include <rtems.h>
#include <stdio.h>
#include <fsw_init.h>
#include <fsw_params.h>
#include <grlib_regs.h>
#include <grspw.h>
#include <ccsds_types.h>
rtems_name HK_name; // name of the HK rate monotonic
rtems_id HK_id; // id of the HK rate monotonic period
int configure_timer(gptimer_regs_t *gptimer_regs, unsigned char timer, unsigned int clock_divider,
unsigned char interrupt_level, rtems_isr (*timer_isr)() );
void print_statistics(spw_stats *stats);
// SERIAL LINK
int send_console_outputs_on_serial_port( void );
int set_apbuart_scaler_reload_register(unsigned int regs, unsigned int value);
// RTEMS TASKS
rtems_task stat_task(rtems_task_argument argument);
rtems_task hous_task(rtems_task_argument argument);
#endif // FSW_MISC_H_INCLUDED