CRC.h
Go to the documentation of this file.
00001 /*
00002  *   Katana Native Interface - A C++ interface to the robot arm Katana.
00003  *   Copyright (C) 2005 Neuronics AG
00004  *   Check out the AUTHORS file for detailed contact information.
00005  *
00006  *   This program is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License as published by
00008  *   the Free Software Foundation; either version 2 of the License, or
00009  *   (at your option) any later version.
00010  *
00011  *   This program is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *   GNU General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU General Public License
00017  *   along with this program; if not, write to the Free Software
00018  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 
00022 /****************************************************************************/
00023 #ifndef _CRC_H
00024 #define _CRC_H
00025 /****************************************************************************/
00026 
00027 #define uint8  unsigned char    //!< unsigned 8 bit
00028 #define uint16 unsigned short   //!< unsigned 16 bit
00029 
00030 /*--------------------------------------------------------------------------*/
00031 
00032 /*      \brief  Calculates a 16 bit checksum value of give data with
00033  *                      given size.
00034  */
00035 uint16 CRC_CHECKSUM(uint8 *data, uint8 size_of_BYTE);
00036 
00037 /****************************************************************************/
00038 #endif //_CRC_H
00039 /****************************************************************************/
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


kni
Author(s): Neuronics AG (see AUTHORS.txt); ROS wrapper by Martin Günther
autogenerated on Tue May 28 2013 14:52:53