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_bbf_t | crc_16_dnp_bbf_reflect (crc_16_dnp_bbf_t data, size_t data_len) |
crc_16_dnp_bbf_t | crc_16_dnp_bbf_update (crc_16_dnp_bbf_t crc, const void *data, size_t data_len) |
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_bbf.c.
crc_16_dnp_bbf_t crc_16_dnp_bbf_reflect | ( | crc_16_dnp_bbf_t | data, |
size_t | data_len ) |
Reflect all bits of a data word of data_len bytes.
[in] | data | The data word to be reflected. |
[in] | data_len | The width of data expressed in number of bits. |
Definition at line 21 of file crc_16_dnp_bbf.c.
Referenced by crc_16_dnp_bbf_finalize().
crc_16_dnp_bbf_t crc_16_dnp_bbf_update | ( | crc_16_dnp_bbf_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 34 of file crc_16_dnp_bbf.c.