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 | |
static crc_16_dnp_bbb_t | crc_16_dnp_bbb_reflect (crc_16_dnp_bbb_t data, size_t data_len) |
crc_16_dnp_bbb_t | crc_16_dnp_bbb_update (crc_16_dnp_bbb_t crc, const void *data, size_t data_len) |
crc_16_dnp_bbb_t | crc_16_dnp_bbb_finalize (crc_16_dnp_bbb_t crc) |
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_bbb.c.
crc_16_dnp_bbb_t crc_16_dnp_bbb_finalize | ( | crc_16_dnp_bbb_t | crc | ) |
Calculate the final crc value.
[in] | crc | The current crc value. |
Definition at line 58 of file crc_16_dnp_bbb.c.
|
static |
Definition at line 24 of file crc_16_dnp_bbb.c.
crc_16_dnp_bbb_t crc_16_dnp_bbb_update | ( | crc_16_dnp_bbb_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 37 of file crc_16_dnp_bbb.c.