![]() |
SysIo
1.9.0
Embedded Library and tools
|
|
Functions | |
| uint16_t | usCrcCcitt (uint16_t usCrc, const void *pvBuf, size_t uLen) |
| INLINE uint16_t | usCrcCcittUpdate (uint8_t c, uint16_t oldcrc) |
| Compute the updated CRC-CCITT value for one octet (inline version) | |
Macros | |
| #define | CRC_CCITT_INIT_VAL ((uint16_t)0xFFFF) |
Variables | |
| const uint16_t | usCrcCcittTab [256] |
| #define CRC_CCITT_INIT_VAL ((uint16_t)0xFFFF) |
| uint16_t usCrcCcitt | ( | uint16_t | usCrc, |
| const void * | pvBuf, | ||
| size_t | uLen | ||
| ) |
#include <crc.h>
This function implements the CRC-CCITT calculation on a buffer.
| crc | Current CRC-CCITT value. |
| buf | The buffer to perform CRC calculation on. |
| len | The length of the Buffer. |