/********************************************************************************************************************** * COPYRIGHT * ------------------------------------------------------------------------------------------------------------------- * \verbatim * * This software is copyright protected and proprietary to Vector Informatik GmbH. * Vector Informatik GmbH grants to you only those rights as set out in the license conditions. * All other rights remain with Vector Informatik GmbH. * \endverbatim * ------------------------------------------------------------------------------------------------------------------- * LICENSE * ------------------------------------------------------------------------------------------------------------------- * Module: Crc * Program: MSR_Vector_SLP4 * Customer: Marelli Automotive Components (Wuhu) Co., Ltd. * Expiry Date: Not restricted * Ordered Derivat.: TC377TP * License Scope : The usage is restricted to CBD2201205_D03 * * ------------------------------------------------------------------------------------------------------------------- * FILE DESCRIPTION * ------------------------------------------------------------------------------------------------------------------- * File: Crc_Cfg.h * Generation Time: 2023-10-23 09:18:08 * Project: CBD2200592_D00_demo - Version 1.0 * Delivery: CBD2201205_D03 * Tool Version: DaVinci Configurator Classic 5.26.35 SP2 * * *********************************************************************************************************************/ /**** Protection against multiple inclusion **************************************************************************/ #if !defined (CRC_CFG_H) # define CRC_CFG_H /********************************************************************************************************************** * GLOBAL CONSTANT MACROS *********************************************************************************************************************/ /* This is not the sub-package version but a compatibility version, which will only be updated if a change in the generator (i.e. generated files) affects the implementation sub-package */ # define CRC_CFG_MAJOR_VERSION (3u) # define CRC_CFG_MINOR_VERSION (1u) /***** Supported CRC Calculation modes *******************************************************************************/ /* CRC 8 */ # define CRC_8_RUNTIME (0u) # define CRC_8_TABLE (1u) # define CRC_8_HARDWARE (2u) /* CRC 8H2F */ # define CRC_8H2F_RUNTIME (0u) # define CRC_8H2F_TABLE (1u) # define CRC_8H2F_HARDWARE (2u) /* CRC 16 */ # define CRC_16_RUNTIME (0u) # define CRC_16_TABLE (1u) # define CRC_16_HARDWARE (2u) # define CRC_16_TABLE_4 (3u) # define CRC_16_TABLE_8 (4u) /* CRC 32 */ # define CRC_32_RUNTIME (0u) # define CRC_32_TABLE (1u) # define CRC_32_HARDWARE (2u) /* CRC 32P4 */ # define CRC_32P4_RUNTIME (0u) # define CRC_32P4_TABLE (1u) # define CRC_32P4_HARDWARE (2u) # define CRC_32P4_TABLE_4 (3u) # define CRC_32P4_TABLE_8 (4u) /* CRC 64 */ # define CRC_64_RUNTIME (0u) # define CRC_64_TABLE (1u) # define CRC_64_HARDWARE (2u) # define CRC_64_TABLE_4 (3u) # define CRC_64_TABLE_8 (4u) /***** CRC Calculation configuration *********************************************************************************/ # define CRC_8_MODE (CRC_8_TABLE) # define CRC_8H2F_MODE (CRC_8H2F_TABLE) # define CRC_16_MODE (CRC_16_TABLE) # define CRC_32_MODE (CRC_32_TABLE) # define CRC_32P4_MODE (CRC_32P4_TABLE) # define CRC_64_MODE (CRC_64_TABLE) /***** Optional API function *****************************************************************************************/ # define CRC_VERSION_INFO_API (STD_OFF) #endif /* CRC_CFG_H */ /********************************************************************************************************************** END OF FILE: Crc_Cfg.h **********************************************************************************************************************/