##// END OF EJS Templates
The HK packet contains v, e1 and e2 valid data at f3....
The HK packet contains v, e1 and e2 valid data at f3. The ACTN task mode is set to NO_PREEMPT In BURST, f3 flow is enabled to allow the v, e1 and e2 data pick-up for HK

File last commit:

r118:7b69e91ff96b VHDLib206
r129:85c441b3b744 VHDLib206
Show More
60 lines | 2.2 KiB | text/x-c | CLexer
#include <rtems.h>
#include <leon.h>
#include "tc_load_dump_parameters.h"
#include "tc_acceptance.h"
#include "tm_lfr_tc_exe.h"
#include "wf_handler.h"
#include "fsw_processing.h"
extern unsigned int maxCount;
// ISR
rtems_isr commutation_isr1( rtems_vector_number vector );
rtems_isr commutation_isr2( rtems_vector_number vector );
rtems_task actn_task( rtems_task_argument unused );
int action_reset( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time );
int action_enter_mode(ccsdsTelecommandPacket_t *TC, rtems_id queue_id);
int action_update_info( ccsdsTelecommandPacket_t *TC, rtems_id queue_id );
int action_enable_calibration( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time );
int action_disable_calibration( ccsdsTelecommandPacket_t *TC, rtems_id queue_id, unsigned char *time );
int action_update_time( ccsdsTelecommandPacket_t *TC);
// mode transition
int check_mode_value( unsigned char requestedMode );
int check_mode_transition( unsigned char requestedMode );
int check_transition_date( unsigned int transitionCoarseTime );
int stop_current_mode( void );
int enter_mode( unsigned char mode , unsigned int transitionCoarseTime );
int restart_science_tasks(unsigned char lfrRequestedMode );
int suspend_science_tasks();
void launch_waveform_picker(unsigned char mode , unsigned int transitionCoarseTime);
void launch_spectral_matrix( void );
void launch_spectral_matrix_simu( void );
void set_irq_on_new_ready_matrix(unsigned char value );
void set_run_matrix_spectral( unsigned char value );
// other functions
void updateLFRCurrentMode();
void update_last_TC_exe( ccsdsTelecommandPacket_t *TC , unsigned char *time );
void update_last_TC_rej(ccsdsTelecommandPacket_t *TC , unsigned char *time );
void close_action( ccsdsTelecommandPacket_t *TC, int result, rtems_id queue_id );
extern rtems_status_code get_message_queue_id_send( rtems_id *queue_id );
extern rtems_status_code get_message_queue_id_recv( rtems_id *queue_id );