Public Member Functions | Private Attributes | List of all members
FastCRC16 Class Reference

#include <FastCRC.h>

Public Member Functions

 FastCRC16 (uint16_t seed)
 
uint16_t mcrf4xx_calc (const uint8_t *data, const uint16_t datalen)
 

Private Attributes

uint16_t seed_
 

Detailed Description

Definition at line 51 of file FastCRC.h.

Constructor & Destructor Documentation

FastCRC16::FastCRC16 ( uint16_t  seed)

Constructor

Definition at line 43 of file FastCRCsw.cpp.

Member Function Documentation

uint16_t FastCRC16::mcrf4xx_calc ( const uint8_t data,
const uint16_t  datalen 
)

MCRF4XX equivalent to _crc_ccitt_update() in crc16.h from avr_libc

Parameters
dataPointer to Data
datalenLength of Data
Returns
CRC value

Definition at line 57 of file FastCRCsw.cpp.

Member Data Documentation

uint16_t FastCRC16::seed_
private

Definition at line 62 of file FastCRC.h.


The documentation for this class was generated from the following files:


livox_ros_driver
Author(s): Livox Dev Team
autogenerated on Mon Mar 15 2021 02:40:46