tm_lfr_tc_exe.h
28 lines
| 1.2 KiB
| text/x-c
|
CLexer
/ header / tm_lfr_tc_exe.h
paul
|
r41 | #ifndef TM_LFR_TC_EXE_H_INCLUDED | ||
#define TM_LFR_TC_EXE_H_INCLUDED | ||||
#include <rtems.h> | ||||
#include <stdio.h> | ||||
#include "fsw_params.h" | ||||
paul
|
r56 | #include "fsw_spacewire.h" | ||
paul
|
r41 | |||
extern time_management_regs_t *time_management_regs; | ||||
extern Packet_TM_LFR_HK_t housekeeping_packet; | ||||
paul
|
r56 | extern unsigned short sequenceCounters_TC_EXE[]; | ||
paul
|
r41 | |||
int send_tm_lfr_tc_exe_success(ccsdsTelecommandPacket_t *TC, rtems_id queue_id); | ||||
int send_tm_lfr_tc_exe_inconsistent(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, | ||||
unsigned char byte_position, unsigned char rcv_value); | ||||
int send_tm_lfr_tc_exe_not_executable(ccsdsTelecommandPacket_t *TC, rtems_id queue_id); | ||||
int send_tm_lfr_tc_exe_not_implemented(ccsdsTelecommandPacket_t *TC, rtems_id queue_id); | ||||
int send_tm_lfr_tc_exe_error(ccsdsTelecommandPacket_t *TC, rtems_id queue_id); | ||||
int send_tm_lfr_tc_exe_corrupted(ccsdsTelecommandPacket_t *TC, rtems_id queue_id, | ||||
paul
|
r68 | unsigned char *computed_CRC, unsigned char *currentTC_LEN_RCV, unsigned char destinationID); | ||
paul
|
r41 | |||
paul
|
r56 | void increment_seq_counter_destination_id( unsigned char *packet_sequence_control, unsigned char destination_id ); | ||
paul
|
r41 | #endif // TM_LFR_TC_EXE_H_INCLUDED | ||