STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
|
Macros | |
#define | CRC16_POLYNOMIAL 0x1021 |
#define | FIRSTCALLCRC16 0xFFFF |
#define | CRC16NBITS 8 |
#define | CRC16MSB 0x8000 |
#define | CRC16_8LEFT 8 |
#define CRC16_8LEFT 8 |
Number of shift bits on crc calculation
#define CRC16_POLYNOMIAL 0x1021 |
Polynomial of CRC16
#define CRC16MSB 0x8000 |
Most significant bit of 2 bytes
#define CRC16NBITS 8 |
Number of bits of a byte
#define FIRSTCALLCRC16 0xFFFF |
Value of CRC if is first call