ConOpSys V2970
P004.07
ANVILEX control operating system
|
Cyclic redundancy check (CRC-16-CCITT) class. More...
#include <CRC_16_CCITT.h>
Public Member Functions | |
virtual U16 | Init () |
Get initial value of CRC. More... | |
virtual VOID | Update (U16 &u16_CRC, U8 u8_Data) |
Update CRC with new data value. More... | |
Public Member Functions inherited from TCRC_16_Base | |
BOOL | Check (VOID *void_Data, U32 u32_Size, U16 u16_Expected_CRC) |
Check CRC of the data buffer. More... | |
virtual U16 | Calculate (VOID *void_Data, U32 u32_Size) |
Calculate CRC of the data buffer. More... | |
virtual TRIL | Test () |
Test CRC calulation. More... | |
Cyclic redundancy check (CRC-16-CCITT) class.
|
virtual |
Get initial value of CRC.
Implements TCRC_16_Base.
Update CRC with new data value.
[in,out] | &u16_CRC | - Actual CRC value |
[in] | u8_Data | - Data value |
Implements TCRC_16_Base.
References u16_CRC_16_CCITT_Table.