S32 SDK
crc_user_config_t Struct Reference

CRC configuration structure. Implements : crc_user_config_t_Class. More...

#include <crc_driver.h>

Data Fields

crc_bit_width_t crcWidth
 
uint32_t seed
 
uint32_t polynomial
 
crc_transpose_t writeTranspose
 
crc_transpose_t readTranspose
 
bool complementChecksum
 

Detailed Description

CRC configuration structure. Implements : crc_user_config_t_Class.

Definition at line 47 of file crc_driver.h.

Field Documentation

bool complementChecksum

True if the result shall be complement of the actual checksum.

Definition at line 55 of file crc_driver.h.

crc_bit_width_t crcWidth

Selects 16-bit or 32-bit CRC protocol.

Definition at line 49 of file crc_driver.h.

uint32_t polynomial

CRC Polynomial, MSBit first.
Example polynomial: 0x1021U = 1_0000_0010_0001 = x^12+x^5+1

Definition at line 51 of file crc_driver.h.

crc_transpose_t readTranspose

Type of transpose when reading CRC result.

Definition at line 54 of file crc_driver.h.

uint32_t seed

Starting checksum value.

Definition at line 50 of file crc_driver.h.

crc_transpose_t writeTranspose

Type of transpose when writing CRC input data.

Definition at line 53 of file crc_driver.h.


The documentation for this struct was generated from the following file: