##// END OF EJS Templates
The flight software is now compatible with the VHDL 0.1.32...
The flight software is now compatible with the VHDL 0.1.32 Still some bugs at startup, may be due to the VHDL

File last commit:

r112:5b5da8d2c053 VHDLib206
r171:13f27d43af32 VHDL_0_1_28
Show More
tc_acceptance.h
25 lines | 942 B | text/x-c | CLexer
paul
Minor changes in .h inclusion
r45 #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
paul
the interrupt sub routine related to the waveform picker is now lighter...
r112 int tc_parser( ccsdsTelecommandPacket_t * TCPacket, unsigned int estimatedPacketLength, unsigned char *computed_CRC );
paul
Minor changes in .h inclusion
r45 int tc_check_type( unsigned char packetType );
paul
rev 1.0.0.2...
r104 int tc_check_type_subtype( unsigned char packetType, unsigned char packetSubType );
paul
Ignore doc files...
r46 int tc_check_sid( unsigned char sid );
paul
Minor changes in .h inclusion
r45 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