|
| uint32_t | polynomial |
| | CRC Polynomial.
|
| |
| uint32_t | width |
| | CRC Bit Width.
|
| |
| uint32_t | initial_xor |
| | Initial seed value for the computation.
|
| |
| uint32_t | final_xor |
| | Final xor value for the computation.
|
| |
| bool | reflect_in |
| | Reflect bits on input.
|
| |
| bool | reflect_out |
| | Reflect bits in final result before returning.
|
| |
Definition at line 38 of file crc_api.h.
◆ 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.
◆ width
CRC Bit Width.
Definition at line 42 of file crc_api.h.
◆ initial_xor
Initial seed value for the computation.
Definition at line 44 of file crc_api.h.
◆ final_xor
Final xor value for the computation.
Definition at line 46 of file crc_api.h.
◆ reflect_in
Reflect bits on input.
Definition at line 48 of file crc_api.h.
◆ reflect_out
Reflect bits in final result before returning.
Definition at line 50 of file crc_api.h.