Below is a list of API functions output by the Code Generator for CRC calculator use.
Table 3.29 CRC API Functions: [CRC calculator]
API Function Name |
Function |
Initializes the CRC calculator for 8-bit CRC calculation (CRC generating polynomial: X8 + X2 + X + 1). | |
Initializes the CRC calculator for 16-bit CRC calculation (CRC generating polynomial: X16 + X15 + X2 + 1). | |
Initializes the CRC calculator for 16-bit CRC calculation (CRC generating polynomial: X16 + X12 + X5 + 1). | |
Initializes the CRC calculator for 32-bit CRC calculation (CRC generating polynomial: X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 + X8 + X7 + X5 + X4 + X2 + X + 1) | |
Initializes the CRC calculator for 32-bit CRC calculation (CRC generating polynomial: X32 + X28 + X27 + X26 + X25 + X23 + X22 + X20 + X19 + X18 + X14 + X13 + X11 + X10 + X9 + X8 + X6 + 1) | |
Sets the initial value of the data from which the CRC is to be calculated. | |
Gets the result of operation. |