AceCRC  0.1
Cyclic Redundancy Check (CRC) algorithms (e.g. crc32(), crc16ccitt()) are progammatically converted from pycrc to Arduino C++, including variants (e.g. 4-bit versus 8-bit tables) that trade space and time.
Functions
crc16ccitt_byte.cpp File Reference
#include <pgmspace.h>
#include "crc16ccitt_byte.hpp"
#include <stdlib.h>
#include <stdint.h>
Include dependency graph for crc16ccitt_byte.cpp:

Go to the source code of this file.

Functions

crc_t ace_crc::crc16ccitt_byte::crc_update (crc_t crc, const void *data, size_t data_len)
 Update the crc value with new data. More...
 

Detailed Description

Functions and types for CRC checks.

Generated on Sun Nov 29 20:58:50 2020 by pycrc v0.9.2, https://pycrc.org using the configuration:

Auto converted to Arduino C++ on Sun Nov 29 20:58:50 PST 2020 by AceCRC (https://github.com/bxparks/AceCRC). DO NOT EDIT

Definition in file crc16ccitt_byte.cpp.

Function Documentation

◆ crc_update()

crc_t ace_crc::crc16ccitt_byte::crc_update ( crc_t  crc,
const void *  data,
size_t  data_len 
)

Update the crc value with new data.

Parameters
[in]crcThe current crc value.
[in]dataPointer to a buffer of data_len bytes.
[in]data_lenNumber of bytes in the data buffer.
Returns
The updated crc value.

Definition at line 73 of file crc16ccitt_byte.cpp.