V148
Fork of RadioHead-148 by
RHCRC.h@1:b7641da2b203, 2017-10-25 (annotated)
- Committer:
- ilkaykozak
- Date:
- Wed Oct 25 05:14:09 2017 +0000
- Revision:
- 1:b7641da2b203
- Parent:
- 0:ab4e012489ef
V148
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
davidr99 | 0:ab4e012489ef | 1 | // RHCRC.h |
davidr99 | 0:ab4e012489ef | 2 | // |
davidr99 | 0:ab4e012489ef | 3 | // Definitions for RadioHead compatible CRC outines. |
davidr99 | 0:ab4e012489ef | 4 | // |
davidr99 | 0:ab4e012489ef | 5 | // These routines originally derived from Arduino source code. See RHCRC.cpp |
davidr99 | 0:ab4e012489ef | 6 | // for copyright information |
davidr99 | 0:ab4e012489ef | 7 | // $Id: RHCRC.h,v 1.1 2014/06/24 02:40:12 mikem Exp $ |
davidr99 | 0:ab4e012489ef | 8 | |
davidr99 | 0:ab4e012489ef | 9 | #ifndef RHCRC_h |
davidr99 | 0:ab4e012489ef | 10 | #define RHCRC_h |
davidr99 | 0:ab4e012489ef | 11 | |
davidr99 | 0:ab4e012489ef | 12 | #include <RadioHead.h> |
davidr99 | 0:ab4e012489ef | 13 | |
davidr99 | 0:ab4e012489ef | 14 | extern uint16_t RHcrc16_update(uint16_t crc, uint8_t a); |
davidr99 | 0:ab4e012489ef | 15 | extern uint16_t RHcrc_xmodem_update (uint16_t crc, uint8_t data); |
davidr99 | 0:ab4e012489ef | 16 | extern uint16_t RHcrc_ccitt_update (uint16_t crc, uint8_t data); |
davidr99 | 0:ab4e012489ef | 17 | extern uint8_t RHcrc_ibutton_update(uint8_t crc, uint8_t data); |
davidr99 | 0:ab4e012489ef | 18 | |
davidr99 | 0:ab4e012489ef | 19 | #endif |