Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Constants for internal use

Symbols for ensuring standard compliant CRC.

These are used to ensure that the CRC computation complies with the standard 16-bit CCITT CRC and IEE802.3 32-bit CRC.

Attention
These should not be modified by user!

Macros

#define CRC16_INITIAL_REMAINDER   (uint16_t)0x0000
 Initial remainder for the 16-bit CRC. More...
 
#define CRC32_INITIAL_REMAINDER   (uint32_t)0xFFFFFFFF
 Initial remainder for the 32-bit CRC. More...
 

#define CRC16_INITIAL_REMAINDER   (uint16_t)0x0000

Initial remainder for the 16-bit CRC.

Referenced by CLASSB_CRC16_EEPROM_HW(), CLASSB_CRC16_EEPROM_SW(), CLASSB_CRC16_Flash_HW(), and CLASSB_CRC16_Flash_SW().

#define CRC32_INITIAL_REMAINDER   (uint32_t)0xFFFFFFFF

Initial remainder for the 32-bit CRC.

Referenced by CLASSB_CRC32_EEPROM_HW(), CLASSB_CRC32_EEPROM_SW(), CLASSB_CRC32_Flash_HW(), and CLASSB_CRC32_Flash_SW().