Raptor-Dev Checksum Library
New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Library > Raptor-Dev Checksum Library
The blocks in this subsystem are used to calculate checksums of memory segments.
Blocks
Block | Description | Appearance |
---|---|---|
Calc Checksum Block |
This block is used to calculate the checksum of memory segments in the controller. These checksums can be used to validate that the the data stored in a memory segment has not changed. The block uses the CRC16-CCITT method to calculate the checksum. Due to the computationally intense nature of this algorithm the checksum is calculated incrementally over multiple executions of this block. This means that the Calculate Checksum block must be in a regularly triggered subsystem. The value of the checksum can be read using the Read Checksum block. |
|
Read Checksum Block |
This block is used to read the checksum of memory segments in the controller calculated by the Calculate Checksum block. |