/* * Copyright 2022-2024 NXP * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef MRU_IP_CFG_DEFINES_H_ #define MRU_IP_CFG_DEFINES_H_ #ifdef __cplusplus extern "C"{ #endif /*================================================================================================== INCLUDE FILES ==================================================================================================*/ #include "Std_Types.h" /*================================================================================================== * SOURCE FILE VERSION INFORMATION ==================================================================================================*/ #define CDD_PLATFORM_MRU_IP_CFG_DEFINES_VENDOR_ID 43 #define CDD_PLATFORM_MRU_IP_CFG_DEFINES_SW_MAJOR_VERSION 2 #define CDD_PLATFORM_MRU_IP_CFG_DEFINES_SW_MINOR_VERSION 0 #define CDD_PLATFORM_MRU_IP_CFG_DEFINES_SW_PATCH_VERSION 0 #define CDD_PLATFORM_MRU_IP_CFG_DEFINES_AR_RELEASE_MAJOR_VERSION 4 #define CDD_PLATFORM_MRU_IP_CFG_DEFINES_AR_RELEASE_MINOR_VERSION 7 #define CDD_PLATFORM_MRU_IP_CFG_DEFINES_AR_RELEASE_REVISION_VERSION 0 /*================================================================================================== CONSTANTS ==================================================================================================*/ /*================================================================================================== * DEFINES AND MACROS ==================================================================================================*/ /** @brief IP enablement checking */ #define PLATFORM_IP_ENABLE_MRU (STD_ON) /** * @brief Enable User Mode Support. * @details When MruEnableUserModeSupport = TRUE, * the MRU driver can be executed from both supervisor and user mode. * * @api */ #define MRU_IP_ENABLE_USER_MODE_SUPPORT (STD_OFF) /** @brief Adds or removes the service Mru_Ip_ResetChannel(). */ #define MRU_IP_CHANNEL_RESET_API (STD_OFF) /** @brief Adds or removes the service Mru_Ip_ResetInstance(). */ #define MRU_IP_INSTANCE_RESET_API (STD_OFF) /** @brief Adds or removes the service Mru_Ip_EnableChannel(). */ #define MRU_IP_CHANNEL_ENABLE_API (STD_OFF) /** @brief Adds or removes the service Mru_Ip_DisableChannel(). */ #define MRU_IP_CHANNEL_DISABLE_API (STD_OFF) /** * @brief Switches ON or OFF for the detection and reporting of development errors(API parameter checking) at IP level. */ /** @implements MRU_IP_DEV_ERROR_DETECT_define */ #define MRU_IP_DEV_ERROR_DETECT (STD_OFF) #define NOTIFY_STATUS_COUNT (2U) #define INTERRUPT_GROUP_0 (0U) #define INTERRUPT_GROUP_1 (1U) #define MRU_IP_CH_CFG0_CHE_MASK (0x1U) #define MRU_IP_CH_CFG0_IE_MASK (0x4U) #define MRU_IP_CH_MBSTAT_MBS0_MASK (0x10000U) #define MRU_IP_CH_CFG0_MBE0_MASK (0x10000U) #define MRU_CH_MBSTAT_MBS0_WIDTH (1U) #define MRU_IP_MRU_CH_CFG0_MBE0_SHIFT (16U) #define MRU_IP_CH_MBSTAT_MBS0_SHIFT (16U) #define MRU_IP_CH_CFG1_MBIC0_MASK (0x10000U) #define MRU_IP_CH_CFG1_MBIC0_SHIFT (16U) #define MRU_CH_CFG1_MBIC0_WIDTH (1U) #define MRU_IP_NOTIFY_CH1_IS_MASK (0x1U) /*The notify status mask of first channel*/ #define PLATFORM_TIMEOUT_TYPE (OSIF_COUNTER_DUMMY) #ifdef __cplusplus } #endif #endif /* MRU_IP_CFG_DEFINES_H_ */ /** @} */