25.7.8.7 Reflected Output

CHCTRLCRCk.CRCROUT defines the order in which the CRC bits are read back or written out in append mode. When CRCROUT = 0 bits remain in native order with the MSB of the CRC located at the bit 31. When CRCROUT = 1 the bit order is reflected. This function can be combined with CHCTRL-CRCk.CRCXOR to reverse and invert the CRC value. Reflected bit order is defined as follows:

Let j represent a number from 0 to 31 for CRC-32 or 0 to 15 for CRC-16, then

Reflected CRC32[j] = Original CRC32[31-j] Reflected CRC16[j] = Original CRC16[15-j]