##// END OF EJS Templates
rtems_message_queue_urgent is replaced by rtems_message_queue_send...
rtems_message_queue_urgent is replaced by rtems_message_queue_send "urgent" modifies the order of the packets and lfrsgse is not able to rebuild the waveforms

File last commit:

r35:ca106d3b5c2f default
r36:303e7beebcc8 default
Show More
fsw_misc.h
36 lines | 1.2 KiB | text/x-c | CLexer
#ifndef FSW_MISC_H_INCLUDED
#define FSW_MISC_H_INCLUDED
#include <rtems.h>
#include <stdio.h>
#include <grspw.h>
#include "fsw_init.h"
#include "fsw_params.h"
#include "grlib_regs.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
extern Packet_TM_LFR_HK_t housekeeping_packet;
int configure_timer(gptimer_regs_t *gptimer_regs, unsigned char timer, unsigned int clock_divider,
unsigned char interrupt_level, rtems_isr (*timer_isr)() );
int timer_start( gptimer_regs_t *gptimer_regs, unsigned char timer );
int timer_stop( gptimer_regs_t *gptimer_regs, unsigned char timer );
int timer_set_clock_divider(gptimer_regs_t *gptimer_regs, unsigned char timer, unsigned int clock_divider);
void update_spacewire_statistics();
// SERIAL LINK
int send_console_outputs_on_apbuart_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);
rtems_task send_task(rtems_task_argument argument);
rtems_id get_pkts_queue_id( void );
#endif // FSW_MISC_H_INCLUDED