libosmocore 1.13.1.1-afb4 Osmocom core library

Data Fields
osmo_crc8gen_code Struct Reference
Osmocom CRC routines

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:

- include/osmocom/core/crc8gen.h