ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
protocore_crc_params Struct Reference

One CRC's full definition (Rocksoft model). See the file comment. More...

#include <crc.h>

Public Attributes

uint8_t width
 register width in bits, 8..32.
 
uint32_t poly
 generator polynomial, normal form (implicit top bit dropped).
 
uint32_t init
 initial register value.
 
proto_bool refin
 reflect each input octet before feeding it in.
 
proto_bool refout
 reflect the final register before the XOR.
 
uint32_t xorout
 XORed into the final register.
 

Detailed Description

One CRC's full definition (Rocksoft model). See the file comment.

Definition at line 41 of file crc.h.

Member Data Documentation

◆ width

uint8_t protocore_crc_params::width

register width in bits, 8..32.

Definition at line 43 of file crc.h.

◆ poly

uint32_t protocore_crc_params::poly

generator polynomial, normal form (implicit top bit dropped).

Definition at line 44 of file crc.h.

◆ init

uint32_t protocore_crc_params::init

initial register value.

Definition at line 45 of file crc.h.

◆ refin

proto_bool protocore_crc_params::refin

reflect each input octet before feeding it in.

Definition at line 46 of file crc.h.

◆ refout

proto_bool protocore_crc_params::refout

reflect the final register before the XOR.

Definition at line 47 of file crc.h.

◆ xorout

uint32_t protocore_crc_params::xorout

XORed into the final register.

Definition at line 48 of file crc.h.


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