ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
Loading...
Searching...
No Matches
crc.h
Go to the documentation of this file.
1
25#ifndef ICARUS_CRC_H
26#define ICARUS_CRC_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32#include <stdint.h>
33
40uint16_t crc16_ccitt(const uint8_t *data, uint16_t len);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* ICARUS_CRC_H */
uint16_t crc16_ccitt(const uint8_t *data, uint16_t len)
Compute CRC16-CCITT (poly 0x1021, init 0xFFFF) over a byte buffer.
Definition crc.c:66