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

#include <crc8.h>

Public Member Functions

byte get_crc (byte message[], size_t size)
 

Private Member Functions

byte get_byte_crc (byte val)
 
void init ()
 

Private Attributes

const byte CRC7_POLY_ = 0x91
 
byte crc_table_ [256]
 

Detailed Description

Definition at line 13 of file crc8.h.

Member Function Documentation

byte Crc8::get_byte_crc ( byte  val)
inlineprivate

Definition at line 21 of file crc8.h.

byte Crc8::get_crc ( byte  message[],
size_t  size 
)
inline

Definition at line 45 of file crc8.h.

void Crc8::init ( )
inlineprivate

Definition at line 35 of file crc8.h.

Member Data Documentation

const byte Crc8::CRC7_POLY_ = 0x91
private

Definition at line 17 of file crc8.h.

byte Crc8::crc_table_[256]
private

Definition at line 18 of file crc8.h.


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


ric_interface
Author(s):
autogenerated on Wed Jan 3 2018 03:48:20