Header file of CRC-8 computation.
More...
#include <stdint.h>
#include <stddef.h>
Header file of CRC-8 computation.
- Author
- Darius Berghe (dariu.nosp@m.s.be.nosp@m.rghe@.nosp@m.anal.nosp@m.og.co.nosp@m.m)
Copyright 2020(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ NO_OS_CRC8_TABLE_SIZE
| #define NO_OS_CRC8_TABLE_SIZE 256 |
◆ NO_OS_DECLARE_CRC8_TABLE
| #define NO_OS_DECLARE_CRC8_TABLE |
( |
| _table | ) |
|
Value:
#define NO_OS_CRC8_TABLE_SIZE
Definition no_os_crc8.h:16
◆ no_os_crc8()
| uint8_t no_os_crc8 |
( |
const uint8_t * | table, |
|
|
const uint8_t * | pdata, |
|
|
size_t | nbytes, |
|
|
uint8_t | crc ) |
◆ no_os_crc8_populate_lsb()
| void no_os_crc8_populate_lsb |
( |
uint8_t * | table, |
|
|
const uint8_t | polynomial ) |
◆ no_os_crc8_populate_msb()
| void no_os_crc8_populate_msb |
( |
uint8_t * | table, |
|
|
const uint8_t | polynomial ) |