2 /* -------------------------------- Arctic Core ------------------------------
\r
3 * Arctic Core - the open source AUTOSAR platform http://arccore.com
\r
5 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
\r
7 * This source code is free software; you can redistribute it and/or modify it
\r
8 * under the terms of the GNU General Public License version 2 as published by the
\r
9 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
\r
11 * This program is distributed in the hope that it will be useful, but
\r
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
\r
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
\r
15 * -------------------------------- Arctic Core ------------------------------*/
\r
20 #include "Std_Types.h"
\r
21 /** req 3.1.5|CRC022 */
\r
22 #include "Crc_Cfg.h"
\r
25 #define CRC_VENDOR_ID 1
\r
26 #define CRC_MODULE_ID MODULE_ID_CRC
\r
27 #define CRC_AR_MAJOR_VERSION 3
\r
28 #define CRC_AR_MINOR_VERSION 1
\r
29 #define CRC_AR_PATCH_VERSION 5
\r
31 #define CRC_SW_MAJOR_VERSION 1
\r
32 #define CRC_SW_MINOR_VERSION 0
\r
33 #define CRC_SW_PATCH_VERSION 0
\r
36 uint32 Crc_CalculateCRC32(const uint8 *dataPtr, uint32 len, uint32 startVal );
\r
37 uint16 Crc_CalculateCRC16( const uint8* dataPtr, uint32 len, uint16 startVal );
\r
39 #if ( CRC_VERSION_INFO_API == STD_ON )
\r
40 #define Crc_GetVersionInfo(_vi) STD_GET_VERSION_INFO(_vi,CRC)
\r