libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Collaboration diagram for CRC Polynomial size:

Macros

#define CRC_CR_POLYSIZE_32   (0 << CRC_CR_POLYSIZE_SHIFT)
 
#define CRC_CR_POLYSIZE_16   (1 << CRC_CR_POLYSIZE_SHIFT)
 
#define CRC_CR_POLYSIZE_8   (2 << CRC_CR_POLYSIZE_SHIFT)
 
#define CRC_CR_POLYSIZE_7   (3 << CRC_CR_POLYSIZE_SHIFT)
 

Detailed Description

Macro Definition Documentation

◆ CRC_CR_POLYSIZE_16

#define CRC_CR_POLYSIZE_16   (1 << CRC_CR_POLYSIZE_SHIFT)

Definition at line 82 of file crc_v2.h.

◆ CRC_CR_POLYSIZE_32

#define CRC_CR_POLYSIZE_32   (0 << CRC_CR_POLYSIZE_SHIFT)

Definition at line 81 of file crc_v2.h.

◆ CRC_CR_POLYSIZE_7

#define CRC_CR_POLYSIZE_7   (3 << CRC_CR_POLYSIZE_SHIFT)

Definition at line 84 of file crc_v2.h.

◆ CRC_CR_POLYSIZE_8

#define CRC_CR_POLYSIZE_8   (2 << CRC_CR_POLYSIZE_SHIFT)

Definition at line 83 of file crc_v2.h.