![]() |
PIP 5.6.1
Platform-Independent Primitives
|
CRC checksum calculation. More...
#include "pistring.h"Classes | |
| class | uint_cl< L > |
| Fixed-width unsigned helper used by generic CRC implementations. More... | |
| class | PICRC< L, N > |
| Generic table-driven CRC calculator for a polynomial width L. More... | |
Typedefs | |
| typedef PICRC< 32, uint > | CRC_32 |
| CRC-32 calculator type. | |
| typedef PICRC< 24 > | CRC_24 |
| CRC-24 calculator type. | |
| typedef PICRC< 16, ushort > | CRC_16 |
| CRC-16 calculator type. | |
| typedef PICRC< 8, uchar > | CRC_8 |
| CRC-8 calculator type. | |
Functions | |
| uchar | reverseByte (uchar b) |
| Returns a byte with reversed bit order. | |
| CRC_32 | standardCRC_32 () |
| Create standard CRC-32 calculator. | |
| CRC_16 | standardCRC_16 () |
| Create standard CRC-16 calculator. | |
| CRC_16 | standardCRC_16_Modbus () |
| Create standard CRC-16 Modbus calculator. | |
| CRC_8 | standardCRC_8 () |
| Create standard CRC-8 calculator. | |
CRC checksum calculation.