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

Dependents:   mlx90615_lpc1768

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers crc8.h Source File

crc8.h

00001 #ifndef CRC8_H_
00002 #define CRC8_H_
00003 
00004 char    crc8 (char* data_in, int number_of_bytes_to_read);
00005 
00006 #endif
00007 
00008 /*
00009 This is based on code from :
00010 
00011 Copyright (c) 2002 Colin O'Flynn
00012 
00013 Permission is hereby granted, free of charge, to any person obtaining a copy of
00014 this software and associated documentation files (the "Software"), to deal in
00015 the Software without restriction, including without limitation the rights to
00016 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
00017 the Software, and to permit persons to whom the Software is furnished to do so,
00018 subject to the following conditions:
00019 
00020 The above copyright notice and this permission notice shall be included in all
00021 copies or substantial portions of the Software.
00022 
00023 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00024 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
00025 FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
00026 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
00027 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00028 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00029 */