AceCRC  1.1.1
Cyclic Redundancy Check (CRC) algorithms (e.g. crc16ccitt, crc32) programmatically converted from C99 code generated by pycrc (https://pycrc.org) to Arduino C++ using namespaces and PROGMEM flash memory.
Functions
crc32_byte.cpp File Reference

Functions and types for CRC checks. More...

#include <pgmspace.h>
#include "crc32_byte.hpp"
#include <stdlib.h>
#include <stdint.h>
Include dependency graph for crc32_byte.cpp:

Go to the source code of this file.

Functions

crc_t ace_crc::crc32_byte::crc_reflect (crc_t data, size_t data_len)
 Reflect all bits of a data word of data_len bytes. More...
 
crc_t ace_crc::crc32_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 Fri Feb 3 16:16:47 2023 by pycrc v0.10.0, https://pycrc.org using the configuration:

Auto converted to Arduino C++ on Fri Feb 3 16:16:47 PST 2023 by AceCRC (https://github.com/bxparks/AceCRC). DO NOT EDIT

Definition in file crc32_byte.cpp.

Function Documentation

◆ crc_reflect()

crc_t ace_crc::crc32_byte::crc_reflect ( crc_t  data,
size_t  data_len 
)

Reflect all bits of a data word of data_len bytes.

Parameters
[in]dataThe data word to be reflected.
[in]data_lenThe width of data expressed in number of bits.
Returns
The reflected data.

Definition at line 73 of file crc32_byte.cpp.

◆ crc_update()

crc_t ace_crc::crc32_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 87 of file crc32_byte.cpp.