crc8 Library - Original copyright: Colin O'Flynn - Copyright (c) 2002

Dependents:   mlx90615_lpc1768

Committer:
evwijk
Date:
Thu Oct 21 17:11:49 2010 +0000
Revision:
0:cc65a6cec1a1

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
evwijk 0:cc65a6cec1a1 1 #ifndef CRC8_H_
evwijk 0:cc65a6cec1a1 2 #define CRC8_H_
evwijk 0:cc65a6cec1a1 3
evwijk 0:cc65a6cec1a1 4 char crc8 (char* data_in, int number_of_bytes_to_read);
evwijk 0:cc65a6cec1a1 5
evwijk 0:cc65a6cec1a1 6 #endif
evwijk 0:cc65a6cec1a1 7
evwijk 0:cc65a6cec1a1 8 /*
evwijk 0:cc65a6cec1a1 9 This is based on code from :
evwijk 0:cc65a6cec1a1 10
evwijk 0:cc65a6cec1a1 11 Copyright (c) 2002 Colin O'Flynn
evwijk 0:cc65a6cec1a1 12
evwijk 0:cc65a6cec1a1 13 Permission is hereby granted, free of charge, to any person obtaining a copy of
evwijk 0:cc65a6cec1a1 14 this software and associated documentation files (the "Software"), to deal in
evwijk 0:cc65a6cec1a1 15 the Software without restriction, including without limitation the rights to
evwijk 0:cc65a6cec1a1 16 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
evwijk 0:cc65a6cec1a1 17 the Software, and to permit persons to whom the Software is furnished to do so,
evwijk 0:cc65a6cec1a1 18 subject to the following conditions:
evwijk 0:cc65a6cec1a1 19
evwijk 0:cc65a6cec1a1 20 The above copyright notice and this permission notice shall be included in all
evwijk 0:cc65a6cec1a1 21 copies or substantial portions of the Software.
evwijk 0:cc65a6cec1a1 22
evwijk 0:cc65a6cec1a1 23 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
evwijk 0:cc65a6cec1a1 24 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
evwijk 0:cc65a6cec1a1 25 FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
evwijk 0:cc65a6cec1a1 26 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
evwijk 0:cc65a6cec1a1 27 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
evwijk 0:cc65a6cec1a1 28 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
evwijk 0:cc65a6cec1a1 29 */