AceCRC  0.3.1
Cyclic Redundancy Check (CRC) algorithms (e.g. crc32(), crc16ccitt()) programmatically converted from C99 code generated by pycrc (https://pycrc.org) to Arduino C++ using namespaces and PROGMEM flash memory.
Functions
crc16ccitt_bit.cpp File Reference
#include "crc16ccitt_bit.hpp"
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for crc16ccitt_bit.cpp:

Go to the source code of this file.

Functions

crc_t ace_crc::crc16ccitt_bit::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 Thu Dec 3 19:34:44 2020 by pycrc v0.9.2, https://pycrc.org using the configuration:

Auto converted to Arduino C++ on Thu Dec 3 19:34:44 PST 2020 by AceCRC (https://github.com/bxparks/AceCRC). DO NOT EDIT

Definition in file crc16ccitt_bit.cpp.

Function Documentation

◆ crc_update()

crc_t ace_crc::crc16ccitt_bit::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 30 of file crc16ccitt_bit.cpp.