|
ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
|
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. | |
| bool | refin |
| reflect each input octet before feeding it in. | |
| bool | refout |
| reflect the final register before the XOR. | |
| uint32_t | xorout |
| XORed into the final register. | |
One CRC's full definition (Rocksoft model). See the file comment.
| uint8_t pc_crc_params::width |
register width in bits, 8..32.
Definition at line 50 of file crc.h.
Referenced by pc_crc_begin(), pc_crc_final(), and pc_crc_update().
| uint32_t pc_crc_params::poly |
generator polynomial, normal form (implicit top bit dropped).
Definition at line 51 of file crc.h.
Referenced by pc_crc_update().
| uint32_t pc_crc_params::init |
| bool pc_crc_params::refin |
reflect each input octet before feeding it in.
Definition at line 53 of file crc.h.
Referenced by pc_crc_update().
| bool pc_crc_params::refout |
reflect the final register before the XOR.
Definition at line 54 of file crc.h.
Referenced by pc_crc_final().
| uint32_t pc_crc_params::xorout |