/*==================================================================================================
*   Project              : RTD AUTOSAR 4.7
*   Platform             : CORTEXM
*   Peripheral           : generic
*   Dependencies         : 
*
*   Autosar Version      : 4.7.0
*   Autosar Revision     : ASR_REL_4_7_REV_0000
*   Autosar Conf.Variant :
*   SW Version           : 5.0.0
*   Build Version        : S32K3_RTD_5_0_0_D2408_ASR_REL_4_7_REV_0000_20241002
*
*   (c) Copyright 2020 - 2024 NXP
*   All Rights Reserved.
*
*   NXP Confidential. This software is owned or controlled by NXP and may only be
*   used strictly in accordance with the applicable license terms. By expressly
*   accepting such terms or by downloading, installing, activating and/or otherwise
*   using the software, you are agreeing that you have read, and that you agree to
*   comply with and are bound by, such license terms. If you do not agree to be
*   bound by the applicable license terms, then you may not retain, install,
*   activate or otherwise use the software.
==================================================================================================*/


#ifndef CANIF_CFG_H
#define CANIF_CFG_H

/**
*   @file    CanIf_Cfg.h
*   @version 5.0.0
*
*   @brief   AUTOSAR CanIf - module interface
*   @details Configuration settings generated by user settings.
*
*   @addtogroup CANIF_DRIVER
*   @{
*/

#ifdef __cplusplus
extern "C"{
#endif

/*==================================================================================================
*                                        INCLUDE FILES
* 1) system and project includes
* 2) needed interfaces from external units
* 3) internal and external interfaces from this unit
==================================================================================================*/
#include "CanIf_MBDT_PBcfg.h"
/*==================================================================================================
*                              SOURCE FILE VERSION INFORMATION
==================================================================================================*/
#define CANIF_VENDOR_ID_CFG_H                     43
#define CANIF_MODULE_ID_CFG_H                     60
#define CANIF_AR_RELEASE_MAJOR_VERSION_CFG_H      4
#define CANIF_AR_RELEASE_MINOR_VERSION_CFG_H      7
#define CANIF_AR_RELEASE_REVISION_VERSION_CFG_H   0
#define CANIF_SW_MAJOR_VERSION_CFG_H              5
#define CANIF_SW_MINOR_VERSION_CFG_H              0
#define CANIF_SW_PATCH_VERSION_CFG_H              0
/*==================================================================================================
*                                     FILE VERSION CHECKS
==================================================================================================*/
/* Check if header file and CanIf_MBDT_PBcfg.h configuration header file are of the same vendor */
#if (CANIF_VENDOR_ID_MBDT_PBCFG_H != CANIF_VENDOR_ID_CFG_H)
#error "CanIf_MBDT_PBcfg.h and CanIf_Cfg.h have different vendor IDs"
#endif
/* Check if header file and CanIf_MBDT_PBcfg.h configuration header file are of the same Autosar version */
#if ((CANIF_AR_RELEASE_MAJOR_VERSION_MBDT_PBCFG_H != CANIF_AR_RELEASE_MAJOR_VERSION_CFG_H) || \
(CANIF_AR_RELEASE_MINOR_VERSION_MBDT_PBCFG_H != CANIF_AR_RELEASE_MINOR_VERSION_CFG_H) || \
(CANIF_AR_RELEASE_REVISION_VERSION_MBDT_PBCFG_H != CANIF_AR_RELEASE_REVISION_VERSION_CFG_H) \
    )
#error "AutoSar Version Numbers of CanIf_MBDT_PBcfg.h and CanIf_Cfg.h are different"
#endif
/* Check if header file and CanIf_MBDT_PBcfg.h configuration header file are of the same software version */
#if ((CANIF_SW_MAJOR_VERSION_MBDT_PBCFG_H != CANIF_SW_MAJOR_VERSION_CFG_H) || \
(CANIF_SW_MINOR_VERSION_MBDT_PBCFG_H != CANIF_SW_MINOR_VERSION_CFG_H) || \
(CANIF_SW_PATCH_VERSION_MBDT_PBCFG_H != CANIF_SW_PATCH_VERSION_CFG_H) \
    )
#error "Software Version Numbers of CanIf_MBDT_PBcfg.h and CanIf_Cfg.h are different"
#endif
/*==================================================================================================
*                                      DEFINES AND MACROS
==================================================================================================*/
/**
*   @brief      Number of CAN drivers is referenced
*/
#define CANIF_NUM_CANDRV_USED (1U)
/**
*   @brief      Number of CanIf controller
*/
#define CANIF_CONTROLLER_CONFIG_COUNT (1U)
/**
*   @brief      Enable/Disable Development Error Detection and Notification
*/
#define CANIF_DEV_ERROR_DETECT (STD_OFF)
/**
*   @brief      Module instance of the CanIf driver
*/
#define CANIF_INSTANCE  ((uint8)0U)
/**
*   @brief      Enable/Disable Precompile Support
*/
#define CANIF_PRECOMPILE_SUPPORT (STD_ON)

#define CANIF_CONFIG_EXT

#ifdef __cplusplus
}
#endif

/** @} */

#endif /* _CANIF_CFG_H_ */

