/*==================================================================================================
*   Project              : RTD AUTOSAR 4.9
*   Platform             : CORTEXM
*   Peripheral           :
*   Dependencies         : none
*
*   Autosar Version      : 4.9.0
*   Autosar Revision     : ASR_REL_4_9_REV_0000
*   Autosar Conf.Variant :
*   SW Version           : 7.0.0
*   Build Version        : S32K3_RTD_7_0_0_D2510_ASR_REL_4_9_REV_0000_20251031
*
*   Copyright 2020 - 2025 NXP
*
*   NXP Confidential and Proprietary. 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 VIRT_WRAPPER_IP_DEVICE_REGISTERS_H
#define VIRT_WRAPPER_IP_DEVICE_REGISTERS_H

/**
*   @file Virt_Wrapper_Ip_Device_Registers.h
*
*   @addtogroup Virt_Wrapper_Ip Virt Wrapper IPV 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 "Virt_Wrapper_Ip_Cfg_Defines.h"
#include "DeviceDefinition.h"

/*==================================================================================================
*                              SOURCE FILE VERSION INFORMATION
==================================================================================================*/
#define RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_VENDOR_ID                      43
#define RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_AR_RELEASE_MAJOR_VERSION       4
#define RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_AR_RELEASE_MINOR_VERSION       9
#define RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_AR_RELEASE_REVISION_VERSION    0
#define RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_SW_MAJOR_VERSION               7
#define RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_SW_MINOR_VERSION               0
#define RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_SW_PATCH_VERSION               0

/*==================================================================================================
*                                      FILE VERSION CHECKS
==================================================================================================*/
/* Checks against Virt_Wrapper_Ip_Cfg_Defines.h */
#if (RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_VENDOR_ID != RM_VIRT_WRAPPER_IP_CFG_DEFINES_VENDOR_ID)
    #error "Virt_Wrapper_Ip_Device_Registers.h and Virt_Wrapper_Ip_Cfg_Defines.h have different vendor ids"
#endif
#if ((RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_AR_RELEASE_MAJOR_VERSION    != RM_VIRT_WRAPPER_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION) || \
     (RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_AR_RELEASE_MINOR_VERSION    != RM_VIRT_WRAPPER_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION) || \
     (RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_AR_RELEASE_REVISION_VERSION != RM_VIRT_WRAPPER_IP_CFG_DEFINES_AR_RELEASE_REVISION_VERSION))
     #error "AUTOSAR Version Numbers of Virt_Wrapper_Ip_Device_Registers.h and Virt_Wrapper_Ip_Cfg_Defines.h are different"
#endif
#if ((RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_SW_MAJOR_VERSION != RM_VIRT_WRAPPER_IP_CFG_DEFINES_SW_MAJOR_VERSION) || \
     (RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_SW_MINOR_VERSION != RM_VIRT_WRAPPER_IP_CFG_DEFINES_SW_MINOR_VERSION) || \
     (RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_SW_PATCH_VERSION != RM_VIRT_WRAPPER_IP_CFG_DEFINES_SW_PATCH_VERSION))
    #error "Software Version Numbers of Virt_Wrapper_Ip_Device_Registers.h and Virt_Wrapper_Ip_Cfg_Defines.h are different"
#endif

/* Checks against DeviceDefinition.h */
#ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
#if ((RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_AR_RELEASE_MAJOR_VERSION != DEVICEDEFINITION_AR_RELEASE_MAJOR_VERSION_H) || \
     (RM_VIRT_WRAPPER_IP_DEVICE_REGISTERS_AR_RELEASE_MINOR_VERSION != DEVICEDEFINITION_AR_RELEASE_MINOR_VERSION_H))
    #error "AutoSar Version Numbers of Virt_Wrapper_Ip_Device_Registers.h and DeviceDefinition.h are different"
#endif
#endif

/*==================================================================================================
*                                            CONSTANTS
==================================================================================================*/

/*==================================================================================================
*                                       DEFINES AND MACROS
==================================================================================================*/
#if defined(S32K388) || defined(S32K389)
#define VIRT_WRAPPER_IP_NUM_OF_SLOT         (4U)
#define VIRT_WRAPPER_IP_NUM_OF_BIT_SHIFT    (8U)
#else
#define VIRT_WRAPPER_IP_NUM_OF_SLOT         (16U)
#define VIRT_WRAPPER_IP_NUM_OF_BIT_SHIFT    (2U)
#endif
/*==================================================================================================
*                                  STRUCTURES AND OTHER TYPEDEFS
==================================================================================================*/

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

/*==================================================================================================
*                                       FUNCTION PROTOTYPES
==================================================================================================*/


#ifdef __cplusplus
}
#endif

/** @} */

#endif /* VIRT_WRAPPER_IP_DEVICE_REGISTERS_H */
