1 /* 2 * Copyright 2022-2023 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef LINFLEXD_UART_IP_CFG_H 8 #define LINFLEXD_UART_IP_CFG_H 9 10 /** 11 * @file Linflexd_Uart_Ip_Cfg.h 12 * @defgroup linflexd_uart_ip Linflexd UART IPL 13 * @addtogroup linflexd_uart_ip Linflexd UART IPL 14 * @{ 15 */ 16 17 18 #ifdef __cplusplus 19 extern "C"{ 20 #endif 21 22 23 /*================================================================================================== 24 * INCLUDE FILES 25 * 1) system and project includes 26 * 2) needed interfaces from external units 27 * 3) internal and external interfaces from this unit 28 * 4) user callback header files 29 ==================================================================================================*/ 30 31 #include "Linflexd_Uart_Ip_Sa_Init_PBcfg.h" 32 33 #include "StandardTypes.h" 34 35 /*================================================================================================== 36 * SOURCE FILE VERSION INFORMATION 37 ==================================================================================================*/ 38 #define LINFLEXD_UART_IP_CFG_VENDOR_ID 43 39 #define LINFLEXD_UART_IP_CFG_AR_RELEASE_MAJOR_VERSION 4 40 #define LINFLEXD_UART_IP_CFG_AR_RELEASE_MINOR_VERSION 7 41 #define LINFLEXD_UART_IP_CFG_AR_RELEASE_REVISION_VERSION 0 42 #define LINFLEXD_UART_IP_CFG_SW_MAJOR_VERSION 1 43 #define LINFLEXD_UART_IP_CFG_SW_MINOR_VERSION 0 44 #define LINFLEXD_UART_IP_CFG_SW_PATCH_VERSION 0 45 46 /*================================================================================================== 47 FILE VERSION CHECKS 48 ==================================================================================================*/ 49 /* Checks against Linflexd_Uart_Ip_Init_PBcfg.h */ 50 #if (LINFLEXD_UART_IP_CFG_VENDOR_ID != LINFLEXD_UART_IP_SA_INIT_PBCFG_VENDOR_ID) 51 #error "Linflexd_Uart_Ip_Cfg.h and Linflexd_Uart_Ip_Sa_Init_PBcfg.h have different vendor ids" 52 #endif 53 #if ((LINFLEXD_UART_IP_CFG_AR_RELEASE_MAJOR_VERSION != LINFLEXD_UART_IP_SA_INIT_PBCFG_AR_RELEASE_MAJOR_VERSION) || \ 54 (LINFLEXD_UART_IP_CFG_AR_RELEASE_MINOR_VERSION != LINFLEXD_UART_IP_SA_INIT_PBCFG_AR_RELEASE_MINOR_VERSION) || \ 55 (LINFLEXD_UART_IP_CFG_AR_RELEASE_REVISION_VERSION != LINFLEXD_UART_IP_SA_INIT_PBCFG_AR_RELEASE_REVISION_VERSION) \ 56 ) 57 #error "AUTOSAR Version Numbers of Linflexd_Uart_Ip_Cfg.h and Linflexd_Uart_Ip_Sa_Init_PBcfg.h are different" 58 #endif 59 #if ((LINFLEXD_UART_IP_CFG_SW_MAJOR_VERSION != LINFLEXD_UART_IP_SA_INIT_PBCFG_SW_MAJOR_VERSION) || \ 60 (LINFLEXD_UART_IP_CFG_SW_MINOR_VERSION != LINFLEXD_UART_IP_SA_INIT_PBCFG_SW_MINOR_VERSION) || \ 61 (LINFLEXD_UART_IP_CFG_SW_PATCH_VERSION != LINFLEXD_UART_IP_SA_INIT_PBCFG_SW_PATCH_VERSION) \ 62 ) 63 #error "Software Version Numbers of Linflexd_Uart_Ip_Cfg.h and Linflexd_Uart_Ip_Sa_Init_PBcfg.h are different" 64 #endif 65 #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK 66 /* Check if current file and StandardTypes.h header file are of the same Autosar version */ 67 #if ((LINFLEXD_UART_IP_CFG_AR_RELEASE_MAJOR_VERSION != STD_AR_RELEASE_MAJOR_VERSION) || \ 68 (LINFLEXD_UART_IP_CFG_AR_RELEASE_MINOR_VERSION != STD_AR_RELEASE_MINOR_VERSION) \ 69 ) 70 #error "AutoSar Version Numbers of Linflexd_Uart_Ip_Cfg.h and StandardTypes.h are different" 71 #endif 72 #endif 73 74 /*================================================================================================== 75 * FILE VERSION CHECKS 76 ==================================================================================================*/ 77 78 /*================================================================================================== 79 * CONSTANTS 80 ==================================================================================================*/ 81 82 /*================================================================================================== 83 * DEFINES AND MACROS 84 ==================================================================================================*/ 85 86 #define LINFLEXD_UART_IP_CONFIG_EXT \ 87 LINFLEXD_UART_IP_SA_CONFIG_INIT_PB 88 /*================================================================================================== 89 * GLOBAL VARIABLE DECLARATIONS 90 ==================================================================================================*/ 91 92 /*================================================================================================== 93 * FUNCTION PROTOTYPES 94 ==================================================================================================*/ 95 96 #ifdef __cplusplus 97 } 98 #endif 99 100 /** @} */ 101 102 #endif /* LINFLEXD_UART_IP_CFG_H */ 103