CRC-16/CCITT implementation. More...
#include "spp/util/crc.h"Go to the source code of this file.
Functions | |
| spp_uint16_t | SPP_UTIL_crc16 (const spp_uint8_t *p_data, spp_uint32_t length) |
| Compute a CRC-16/CCITT checksum over a byte buffer. | |
CRC-16/CCITT implementation.
Definition in file crc.c.
| spp_uint16_t SPP_UTIL_crc16 | ( | const spp_uint8_t * | p_data, |
| spp_uint32_t | length ) |
Compute a CRC-16/CCITT checksum over a byte buffer.
| [in] | p_data | Pointer to the data buffer. |
| [in] | length | Number of bytes to process. |
Definition at line 8 of file crc.c.
References K_SPP_CRC_INIT, K_SPP_CRC_POLY, and SPP_UTIL_crc16().
Referenced by packetCrc(), and SPP_UTIL_crc16().