/*==================================================================================================
*   Project              : RTD AUTOSAR 4.4
*   Platform             : CORTEXM
*   Peripheral           : LPUART
*   Dependencies         : none
*
*   Autosar Version      : 4.4.0
*   Autosar Revision     : ASR_REL_4_4_REV_0000
*   Autosar Conf.Variant :
*   SW Version           : 0.8.0
*   Build Version        : S32K3XXS32K3XX_RTD_0_8_0_D2008_ASR_REL_4_4_REV_0000_20200828
*
*   (c) Copyright 2006-2016 Freescale Semiconductor, Inc.  Copyright 2018-2020 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 LPUART_LIN_IP_CFG_H
#define LPUART_LIN_IP_CFG_H

/**
*   @file
*
*   @addtogroup LPUART_LIN
*   @{
*/

#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
* 4) user callback header files
==================================================================================================*/
#include "Lpuart_Lin_Ip_BOARD_InitPeripherals_PBcfg.h"
/*==================================================================================================
*                              SOURCE FILE VERSION INFORMATION
==================================================================================================*/

#define LPUART_LIN_IP_CFG_VENDOR_ID                    43
#define LPUART_LIN_IP_CFG_AR_RELEASE_MAJOR_VERSION     4
#define LPUART_LIN_IP_CFG_AR_RELEASE_MINOR_VERSION     4
#define LPUART_LIN_IP_CFG_AR_RELEASE_REVISION_VERSION  0
#define LPUART_LIN_IP_CFG_SW_MAJOR_VERSION             0
#define LPUART_LIN_IP_CFG_SW_MINOR_VERSION             9
#define LPUART_LIN_IP_CFG_SW_PATCH_VERSION             0

/*==================================================================================================
*                                     FILE VERSION CHECKS
==================================================================================================*/
/* Checks against Lpuart_Lin_Ip_BOARD_InitPeripherals_PBcfg.h */
#if (LPUART_LIN_IP_CFG_VENDOR_ID != LPUART_LIN_IP_BOARD_INITPERIPHERALS_PBCFG_VENDOR_ID)
    #error "Lpuart_Lin_Ip_Cfg.h and Lpuart_Lin_Ip_BOARD_InitPeripherals_PBcfg.h have different vendor ids"
#endif

#if ((LPUART_LIN_IP_CFG_AR_RELEASE_MAJOR_VERSION      != LPUART_LIN_IP_BOARD_INITPERIPHERALS_PBCFG_AR_RELEASE_MAJOR_VERSION) || \
     (LPUART_LIN_IP_CFG_AR_RELEASE_MINOR_VERSION      != LPUART_LIN_IP_BOARD_INITPERIPHERALS_PBCFG_AR_RELEASE_MINOR_VERSION) || \
     (LPUART_LIN_IP_CFG_AR_RELEASE_REVISION_VERSION   != LPUART_LIN_IP_BOARD_INITPERIPHERALS_PBCFG_AR_RELEASE_REVISION_VERSION))
    #error "AUTOSAR Version Numbers of Lpuart_Lin_Ip_Cfg.h and Lpuart_Lin_Ip_BOARD_InitPeripherals_PBcfg.h are different"
#endif

#if ((LPUART_LIN_IP_CFG_SW_MAJOR_VERSION != LPUART_LIN_IP_BOARD_INITPERIPHERALS_PBCFG_SW_MAJOR_VERSION) || \
     (LPUART_LIN_IP_CFG_SW_MINOR_VERSION != LPUART_LIN_IP_BOARD_INITPERIPHERALS_PBCFG_SW_MINOR_VERSION) || \
     (LPUART_LIN_IP_CFG_SW_PATCH_VERSION != LPUART_LIN_IP_BOARD_INITPERIPHERALS_PBCFG_SW_PATCH_VERSION))
    #error "Software Version Numbers of Lpuart_Lin_Ip_Cfg.h and Lpuart_Lin_Ip_BOARD_INITPERIPHERALS_PBcfg.h are different"
#endif
/*==================================================================================================
*                                          CONSTANTS
==================================================================================================*/

/*==================================================================================================
 *                                     DEFINES AND MACROS
==================================================================================================*/
#define LPUART_LIN_IP_CONFIG_EXT \
     LPUART_LIN_IP_CONFIG_BOARD_INITPERIPHERALS_PB \

/**
* @brief   Switches the Development Error Detection and Notification ON or OFF.
*
* 
*/
#define LPUART_LIN_IP_DEV_ERROR_DETECT            (STD_OFF)  /*!< Development error detection */

/**
* @brief   Number of total number of instances
*
* 
*/
#define LPUART_LIN_IP_NUMBER_OF_INSTANCES         (16)


/**
* @brief          Lin Osif source counter
* @details        This parameter is used to select between different OsIf counter implementation
*
* 
*/
#define  LPUART_LIN_IP_TIMEOUT_TYPE         (OSIF_COUNTER_DUMMY)

/**
* @brief   Number of microsecond before returning LPUART_STATUS_TIMEOUT.
*
* 
*/
#define LPUART_LIN_IP_TIMEOUT_VALUE_US    (65535U)

/**
* @brief   Enable/Disable timeout feature.
*
*
*/
#define LPUART_LIN_IP_FRAME_TIMEOUT_DISABLE     (STD_OFF)

/*==================================================================================================
*                                            ENUMS
==================================================================================================*/

/*==================================================================================================
*                               STRUCTURES AND OTHER TYPEDEFS
==================================================================================================*/

/*==================================================================================================
*                                GLOBAL VARIABLE DECLARATIONS
==================================================================================================*/

/*==================================================================================================
*                                    FUNCTION PROTOTYPES
==================================================================================================*/
#define LIN_START_SEC_CODE
#include "Lin_MemMap.h"

#define LIN_STOP_SEC_CODE
#include "Lin_MemMap.h"

#ifdef __cplusplus
}
#endif

/** @} */

#endif 

