RadioHead
RHCRC.h
1// RHCRC.h
2//
3// Definitions for RadioHead compatible CRC outines.
4//
5// These routines originally derived from Arduino source code. See RHCRC.cpp
6// for copyright information
7// $Id: RHCRC.h,v 1.1 2014/06/24 02:40:12 mikem Exp $
8
9#ifndef RHCRC_h
10#define RHCRC_h
11
12#include <RadioHead.h>
13
14extern uint16_t RHcrc16_update(uint16_t crc, uint8_t a);
15extern uint16_t RHcrc_xmodem_update (uint16_t crc, uint8_t data);
16extern uint16_t RHcrc_ccitt_update (uint16_t crc, uint8_t data);
17extern uint8_t RHcrc_ibutton_update(uint8_t crc, uint8_t data);
18
19#endif