crc_user_config_t Struct Reference

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

#include <platform/drivers/inc/crc_driver.h>

Data Fields

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

Detailed Description

CRC configuration structure. Implements : crc_user_config_t_Class.

Definition at line 85 of file crc_driver.h.

Field Documentation

bool complementChecksum

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

Definition at line 97 of file crc_driver.h.

crc_bit_width_t crcWidth

Selects 16-bit or 32-bit CRC protocol.

Definition at line 88 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 89 of file crc_driver.h.

crc_transpose_t readTranspose

Type of transpose when reading CRC result.

Definition at line 91 of file crc_driver.h.

uint32_t seed

Starting checksum value.

Definition at line 98 of file crc_driver.h.

crc_transpose_t writeTranspose

Type of transpose when writing CRC input data.

Definition at line 96 of file crc_driver.h.


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