3.2.29
CRC calculator (CRC)
Below is a list of API functions output by the Code Generator for CRC calculator use.
Table 3.29 | API Functions: [CRC calculator] |
|
|
R_CRC_SetCRC8
|
Initializes the CRC calculator for 8-bit CRC calculation (CRC generating polynomial: X8 + X2 + X + 1).
|
R_CRC_SetCRC16
|
Initializes the CRC calculator for 16-bit CRC calculation (CRC generating polynomial: X16 + X15 + X2 + 1).
|
R_CRC_SetCCITT
|
Initializes the CRC calculator for 16-bit CRC calculation (CRC generating polynomial: X16 + X12 + X5 + 1).
|
R_CRC_SetCRC32
|
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)
|
R_CRC_SetCRC32C
|
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)
|
R_CRC_Input_Data
|
Sets the initial value of the data from which the CRC is to be calculated.
|
R_CRC_Get_Result
|
Gets the result of operation.
|