STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
this defines are values for the calculation of CRC with 8 bits

Macros

#define CRC8_SAEJ1850_POLYNOMIAL   0x1D
 
#define FIRSTCALLCRC8   0xFF
 
#define CRC8NBITS   8
 
#define CRC8MSB   0x80
 

Detailed Description

Macro Definition Documentation

◆ CRC8_SAEJ1850_POLYNOMIAL

#define CRC8_SAEJ1850_POLYNOMIAL   0x1D

Polynomial of CRC8_SAEJ1850

◆ CRC8MSB

#define CRC8MSB   0x80

Most significant bit of a byte

◆ CRC8NBITS

#define CRC8NBITS   8

Number of bits of a byte

◆ FIRSTCALLCRC8

#define FIRSTCALLCRC8   0xFF

Value of CRC if is first call