DataFrame  1.0.0
Functions
dataframe.cpp File Reference
#include "dataframe.h"
Include dependency graph for dataframe.cpp:

Functions

uint8_t crc8 (uint8_t crc, uint8_t Size, uint8_t *Buffer)
 Helper function to compute CRC. More...
 

Function Documentation

◆ crc8()

uint8_t crc8 ( uint8_t  crc,
uint8_t  Size,
uint8_t *  Buffer 
)

Helper function to compute CRC.

Parameters
crc- initial CRC, use 0 if dont know about it.
Size- size of input buffer
Buffer- input array with bytes