![]() |
ISF
2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
|
CRC header file. More...
Go to the source code of this file.
Macros | |
#define | POLY_CRC16_GENERATOR 0x1021 |
The standard polynomial value used for CCITT CRC 16-bit calculation. More... | |
Functions | |
uint16 | ccitt_crc16_cal (uint32 anumBytes, uint8 *apBuf) |
This crc function contains the standard CCITT CRC 16-bit implementation. More... | |
CRC header file.
CRC source file that implements the CCITT CRC16 standard.
Definition in file crc.h.
#define POLY_CRC16_GENERATOR 0x1021 |
The standard polynomial value used for CCITT CRC 16-bit calculation.
Definition at line 19 of file crc.h.
Referenced by ccitt_crc16_cal().
This crc function contains the standard CCITT CRC 16-bit implementation.
This function is used to to generate the CCITT CRC 16-bit value. It uses the standard polynomial value 0x1021.
[in] | apBuf | Buffer of data to perform CRC calculation on. |
[in] | anumBytes | The number of bytes to perform CRC calculation. The range is 0 to (2^32 - 1) bytes. |
Definition at line 18 of file crc.c.
References POLY_CRC16_GENERATOR.
Referenced by ci_protocol_CB_mbox(), ci_protocol_CB_stream(), isf_ci_qr_update(), and isf_ci_stream_update_data().