1.14.8.4 CRC_SETUP Struct

C

typedef struct
{
    /* CRCCON[LENDIAN]: The input data is bit reversed (reflected input) when enabled */
    bool reverse_crc_input;
    
    /* CRCCON[PLEN]: Determines the length of the polynomial (8, 16, 32) */
    uint8_t polynomial_length;
    
    /* CRCXOR: Polynomial for calculating the CRC */
    uint32_t polynomial;
    
    /* The calculated CRC is bit reversed (reflected output) before final XOR */
    bool reverse_crc_output;
    
    /* The XOR value used to generate final CRC output */
    uint32_t final_xor_value;
} CRC_SETUP;

Summary

Fundamental data object that represents CRC setup parameters.

Description

This data type provides parameters to configure the CRC engine to calculate a CRC value

Remarks

None.