Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
crc.hpp File Reference
#include <cstdint>
Include dependency graph for crc.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tap
 
namespace  tap::algorithms
 

Macros

#define CRC8_INIT   0xff
 
#define CRC16_INIT   0xffff
 

Functions

uint8_t tap::algorithms::calculateCRC8 (const uint8_t *message, uint32_t messageLength, uint8_t initCRC8)
 
uint16_t tap::algorithms::calculateCRC16 (const uint8_t *message, uint32_t messageLength, uint16_t initCRC16)
 

Macro Definition Documentation

◆ CRC16_INIT

#define CRC16_INIT   0xffff

◆ CRC8_INIT

#define CRC8_INIT   0xff