Lely core libraries 2.3.4
crc.h
Go to the documentation of this file.
1
22#ifndef LELY_CO_CRC_H_
23#define LELY_CO_CRC_H_
24
25#include <lely/co/co.h>
26
27#include <stddef.h>
28#include <stdint.h>
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
48uint_least16_t co_crc(uint_least16_t crc, const uint_least8_t *bp, size_t n);
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif // !LELY_CO_CRC_H_
uint_least16_t co_crc(uint_least16_t crc, const uint_least8_t *bp, size_t n)
Computes a CRC-16 checksum.
Definition: crc.c:28
This is the public header file of the CANopen library.
This header file is part of the C11 and POSIX compatibility library; it includes <stddef....
This header file is part of the C11 and POSIX compatibility library; it includes <stdint....