#include <stdlib.h>
Go to the source code of this file.
◆ CRC_POLY_16
#define CRC_POLY_16 0xA001 |
◆ CRC_START_16
#define CRC_START_16 0x0000 |
◆ CRC_TABLE_SIZE
#define CRC_TABLE_SIZE 64 |
◆ crc16()
uint16_t crc16 |
( |
const void * |
input_str, |
|
|
size_t |
num_bytes |
|
) |
| |
◆ fletcher16()
uint16_t fletcher16 |
( |
const void * |
input_str, |
|
|
size_t |
num_bytes |
|
) |
| |
◆ init_crc16_tab()
static void init_crc16_tab |
( |
void |
| ) |
|
|
static |
◆ update_crc_16()
uint16_t update_crc_16 |
( |
uint16_t |
crc, |
|
|
unsigned char |
c |
|
) |
| |
◆ crc_tab16
◆ crc_tab16_init
bool crc_tab16_init = false |
|
static |