ASCII Serial Com
Serial communication library between computers, microcontrollers, FPGAs, etc. Uses only ASCII. Not the most efficient protocol, but meant to be easy to read
|
Go to the source code of this file.
Functions | |
crc_16_dnp_tbl4bit_t | crc_16_dnp_tbl4bit_update (crc_16_dnp_tbl4bit_t crc, const void *data, size_t data_len) |
Variables | |
static const crc_16_dnp_tbl4bit_t | crc_table [16] |
Functions and types for CRC checks.
Generated on Mon Aug 24 06:27:49 2020 by pycrc v0.9.2, https://pycrc.org using the configuration:
Definition in file crc_16_dnp_tbl4bit.c.
crc_16_dnp_tbl4bit_t crc_16_dnp_tbl4bit_update | ( | crc_16_dnp_tbl4bit_t | crc, |
const void * | data, | ||
size_t | data_len ) |
Update the crc value with new data.
[in] | crc | The current crc value. |
[in] | data | Pointer to a buffer of data_len bytes. |
[in] | data_len | Number of bytes in the data buffer. |
Definition at line 27 of file crc_16_dnp_tbl4bit.c.
References crc_table.
|
static |
Static table used for the table_driven implementation.
Definition at line 23 of file crc_16_dnp_tbl4bit.c.
Referenced by crc_16_dnp_tbl4bit_update().