Mistake on this page?
Report an issue in GitHub or email us
Data Fields
crc_mbed_config Struct Reference

Data Fields

uint32_t polynomial
 CRC Polynomial. More...
 
uint32_t width
 CRC Bit Width. More...
 
uint32_t initial_xor
 Initial seed value for the computation. More...
 
uint32_t final_xor
 Final xor value for the computation. More...
 
bool reflect_in
 Reflect bits on input. More...
 
bool reflect_out
 Reflect bits in final result before returning. More...
 

Detailed Description

Definition at line 38 of file crc_api.h.

Field Documentation

uint32_t final_xor

Final xor value for the computation.

Definition at line 46 of file crc_api.h.

uint32_t initial_xor

Initial seed value for the computation.

Definition at line 44 of file crc_api.h.

uint32_t polynomial

CRC Polynomial.

Example polynomial: x^8+x^5+x+1 -> width = 8, polynomial = 0010_0011 = 0x21

Definition at line 40 of file crc_api.h.

bool reflect_in

Reflect bits on input.

Definition at line 48 of file crc_api.h.

bool reflect_out

Reflect bits in final result before returning.

Definition at line 50 of file crc_api.h.

uint32_t width

CRC Bit Width.

Definition at line 42 of file crc_api.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.