##// END OF EJS Templates
two fields added to the housekeeping parameters:...
two fields added to the housekeeping parameters: housekeeping_packet.hk_lfr_vhdl_aa_sm ousekeeping_packet.hk_lfr_vhdl_iir_cal The contents are below housekeeping_packet.hk_lfr_vhdl_aa_sm = (unsigned char) (statusReg & 0x7c0 >> 6); housekeeping_packet.hk_lfr_vhdl_iir_cal = (unsigned char) ((waveform_picker_regs->status & 0xff00) >> 8);

File last commit:

r167:6c1a4ac855d5 patch rev 2
r265:09ea64972ca9 R3a
Show More
tc_acceptance.h
25 lines | 942 B | text/x-c | CLexer
#ifndef TC_ACCEPTANCE_H_INCLUDED
#define TC_ACCEPTANCE_H_INCLUDED
//#include "tm_lfr_tc_exe.h"
#include "fsw_params.h"
//**********************
// GENERAL USE FUNCTIONS
unsigned int Crc_opt( unsigned char D, unsigned int Chk);
void initLookUpTableForCRC( void );
void GetCRCAsTwoBytes(unsigned char* data, unsigned char* crcAsTwoBytes, unsigned int sizeOfData);
//*********************
// ACCEPTANCE FUNCTIONS
int tc_parser( ccsdsTelecommandPacket_t * TCPacket, unsigned int estimatedPacketLength, unsigned char *computed_CRC );
int tc_check_type( unsigned char packetType );
int tc_check_type_subtype( unsigned char packetType, unsigned char packetSubType );
int tc_check_sid( unsigned char sid );
int tc_check_length( unsigned char packetType, unsigned int length );
int tc_check_crc(ccsdsTelecommandPacket_t * TCPacket, unsigned int length , unsigned char *computed_CRC);
#endif // TC_ACCEPTANCE_H_INCLUDED