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 CRC8H2F_POLYNOMIAL   0x2F
 
#define FIRSTCALLCRC8H2F   0xFF
 
#define CRC8H2FNBITS   8
 
#define CRC8H2NMSB   0x80
 

Detailed Description

Macro Definition Documentation

◆ CRC8H2F_POLYNOMIAL

#define CRC8H2F_POLYNOMIAL   0x2F

Polynomial of CRC8H2F

◆ CRC8H2FNBITS

#define CRC8H2FNBITS   8

Number of bits of a byte

◆ CRC8H2NMSB

#define CRC8H2NMSB   0x80

Most significant bit of a byte

◆ FIRSTCALLCRC8H2F

#define FIRSTCALLCRC8H2F   0xFF

Value of CRC if is first call