/* * Copyright 1997-2016 Freescale Semiconductor, Inc. * Copyright 2016-2024 NXP * * SPDX-License-Identifier: BSD-3-Clause */ /*! * @file S32Z2_RTUE_NIC_D.h * @version 2.3 * @date 2024-05-03 * @brief Peripheral Access Layer for S32Z2_RTUE_NIC_D * * This file contains register definitions and macros for easy access to their * bit fields. * * This file assumes LITTLE endian system. */ /** * @page misra_violations MISRA-C:2012 violations * * @section [global] * Violates MISRA 2012 Advisory Rule 2.3, local typedef not referenced * The SoC header defines typedef for all modules. * * @section [global] * Violates MISRA 2012 Advisory Rule 2.5, local macro not referenced * The SoC header defines macros for all modules and registers. * * @section [global] * Violates MISRA 2012 Advisory Directive 4.9, Function-like macro * These are generated macros used for accessing the bit-fields from registers. * * @section [global] * Violates MISRA 2012 Required Rule 5.1, identifier clash * The supported compilers use more than 31 significant characters for identifiers. * * @section [global] * Violates MISRA 2012 Required Rule 5.2, identifier clash * The supported compilers use more than 31 significant characters for identifiers. * * @section [global] * Violates MISRA 2012 Required Rule 5.4, identifier clash * The supported compilers use more than 31 significant characters for identifiers. * * @section [global] * Violates MISRA 2012 Required Rule 5.5, identifier clash * The supported compilers use more than 31 significant characters for identifiers. * * @section [global] * Violates MISRA 2012 Required Rule 21.1, defined macro '__I' is reserved to the compiler * This type qualifier is needed to ensure correct I/O access and addressing. */ /* Prevention from multiple including the same memory map */ #if !defined(S32Z2_RTUE_NIC_D_H_) /* Check if memory map has not been already included */ #define S32Z2_RTUE_NIC_D_H_ #include "S32Z2_COMMON.h" /* ---------------------------------------------------------------------------- -- RTUE_NIC_D Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup RTUE_NIC_D_Peripheral_Access_Layer RTUE_NIC_D Peripheral Access Layer * @{ */ /** RTUE_NIC_D - Register Layout Typedef */ typedef struct { __O uint32_t REMAP; /**< Remap, offset: 0x0 */ } RTUE_NIC_D_Type, *RTUE_NIC_D_MemMapPtr; /** Number of instances of the RTUE_NIC_D module. */ #define RTUE_NIC_D_INSTANCE_COUNT (2u) /* RTUE_NIC_D - Peripheral instance base addresses */ /** Peripheral RTU0__RTUE_NIC_D base address */ #define IP_RTU0__RTUE_NIC_D_BASE (0x75300000u) /** Peripheral RTU0__RTUE_NIC_D base pointer */ #define IP_RTU0__RTUE_NIC_D ((RTUE_NIC_D_Type *)IP_RTU0__RTUE_NIC_D_BASE) /** Peripheral RTU1__RTUE_NIC_D base address */ #define IP_RTU1__RTUE_NIC_D_BASE (0x75700000u) /** Peripheral RTU1__RTUE_NIC_D base pointer */ #define IP_RTU1__RTUE_NIC_D ((RTUE_NIC_D_Type *)IP_RTU1__RTUE_NIC_D_BASE) /** Array initializer of RTUE_NIC_D peripheral base addresses */ #define IP_RTUE_NIC_D_BASE_ADDRS { IP_RTU0__RTUE_NIC_D_BASE, IP_RTU1__RTUE_NIC_D_BASE } /** Array initializer of RTUE_NIC_D peripheral base pointers */ #define IP_RTUE_NIC_D_BASE_PTRS { IP_RTU0__RTUE_NIC_D, IP_RTU1__RTUE_NIC_D } /* ---------------------------------------------------------------------------- -- RTUE_NIC_D Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup RTUE_NIC_D_Register_Masks RTUE_NIC_D Register Masks * @{ */ /*! @name REMAP - Remap */ /*! @{ */ #define RTUE_NIC_D_REMAP_remap_MASK (0x3U) #define RTUE_NIC_D_REMAP_remap_SHIFT (0U) #define RTUE_NIC_D_REMAP_remap_WIDTH (2U) #define RTUE_NIC_D_REMAP_remap(x) (((uint32_t)(((uint32_t)(x)) << RTUE_NIC_D_REMAP_remap_SHIFT)) & RTUE_NIC_D_REMAP_remap_MASK) /*! @} */ /*! * @} */ /* end of group RTUE_NIC_D_Register_Masks */ /*! * @} */ /* end of group RTUE_NIC_D_Peripheral_Access_Layer */ #endif /* #if !defined(S32Z2_RTUE_NIC_D_H_) */