CRC_CFG
Bit Field |
Read/Write |
Field Name |
Description |
---|---|---|---|
4 |
RW |
FINAL_CRC_XOR |
Selects the final CRC XOR mode |
3 |
RW |
FINAL_CRC_REVERSE |
Selects the final CRC reversal mode |
2 |
RW |
BIT_ORDER |
Selects the bit order for bytes added to the CRC |
1 |
RW |
CRC_TYPE |
Selects the CRC type |
0 |
RW |
BYTE_ORDER |
Selects the endianness for bytes added to the CRC |
Bit Field |
Field Name |
Value Symbol |
Value Description |
Hex Value |
---|---|---|---|---|
4 |
FINAL_CRC_XOR |
CRC_FINAL_XOR_STANDARD |
Final CRC XOR is done according to the standard (CRC-CCITT: no XOR; CRC-32: XOR with 0xFFFFFFFF) |
0x0* |
|
|
CRC_FINAL_XOR_NON_STANDARD |
Final CRC XOR is done in opposite of the standard |
0x1 |
3 |
FINAL_CRC_REVERSE |
CRC_FINAL_REVERSE_STANDARD |
Final CRC reversal is done according to the standard (CRC-CCITT: normal; CRC-32 reversed) |
0x0* |
|
|
CRC_FINAL_REVERSE_NON_STANDARD |
Final CRC reversal is done in opposite of the standard |
0x1 |
2 |
BIT_ORDER |
CRC_BIT_ORDER_STANDARD |
Bit order is as defined by the standard (CRC-CCITT: normal; CRC-32 reversed) |
0x0* |
|
|
CRC_BIT_ORDER_NON_STANDARD |
Bit order is opposite of the standard |
0x1 |
1 |
CRC_TYPE |
CRC_CCITT |
CRC-CCITT algorithm selected |
0x0* |
|
|
CRC_32 |
CRC-32 (IEEE 802.3) algorithm selected |
0x1 |
0 |
BYTE_ORDER |
CRC_BIG_ENDIAN |
Bytes are added to the CRC in big-endian order |
0x0* |
|
|
CRC_LITTLE_ENDIAN |
Bytes are added to the CRC in little-endian order |
0x1 |