19.1 Module Overview
The CRC module provides a means of performing CRC calculations which can be used to detect bit errors in the Flash memory. The CRC module can accept up to a 32-bit polynomial with up to a 32-bit seed value. A CRC calculated check value (or checksum) will then be generated into the CRCOUT registers for user storage. The CRC module uses an XOR shift register implementation to perform the polynomial division required for the CRC calculation. This module is also useful for calculating CRC values of data being transmitted or received using communications peripherals such as the SPI, UART or I2C.