libosmocore 1.9.0.196-9975
Osmocom core library
osmo_crc8gen_code Struct Reference

structure describing a given CRC code of max 8 bits More...

#include <crc8gen.h>

Data Fields

int bits
 Actual number of bits of the CRC. More...
 
uint8_t poly
 Polynom (normal representation, MSB omitted. More...
 
uint8_t init
 Initialization value of the CRC state. More...
 
uint8_t remainder
 Remainder of the CRC (final XOR) More...
 

Detailed Description

structure describing a given CRC code of max 8 bits

Field Documentation

◆ bits

int osmo_crc8gen_code::bits

Actual number of bits of the CRC.

Referenced by osmo_crc8gen_check_bits(), osmo_crc8gen_compute_bits(), and osmo_crc8gen_set_bits().

◆ init

uint8_t osmo_crc8gen_code::init

Initialization value of the CRC state.

Referenced by osmo_crc8gen_compute_bits().

◆ poly

uint8_t osmo_crc8gen_code::poly

Polynom (normal representation, MSB omitted.

Referenced by osmo_crc8gen_compute_bits().

◆ remainder

uint8_t osmo_crc8gen_code::remainder

Remainder of the CRC (final XOR)

Referenced by osmo_crc8gen_compute_bits().


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