ConOpSys V2970  P004.07
ANVILEX control operating system
Public Member Functions | List of all members
TCRC_16_DNP Class Reference

Cyclic redundancy check (CRC-16-DNP) class. More...

#include <CRC_16_DNP.h>

Inheritance diagram for TCRC_16_DNP:
Inheritance graph
Collaboration diagram for TCRC_16_DNP:
Collaboration graph

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...
 

Detailed Description

Cyclic redundancy check (CRC-16-DNP) class.

Member Function Documentation

◆ Init()

U16 TCRC_16_DNP::Init ( )
virtual

Get initial value of CRC.


Note
None
Returns
U16 - CRC initial value
Attention
None
dot_TCRC_16_DNP__Init.png

Implements TCRC_16_Base.

◆ Update()

VOID TCRC_16_DNP::Update ( U16 u16_CRC,
U8  u8_Data 
)
virtual

Update CRC with new data value.


Note
None
Parameters
[in,out]&u16_CRC- Actual CRC value
[in]u8_Data- Data value
Returns
None
Attention
None
dot_TCRC_16_DNP__Update.png

Implements TCRC_16_Base.

References u16_CRC_16_DNP_Table.


The documentation for this class was generated from the following files: