ADM/GW/generate/include/Emios_Mcl_Ip_Cfg_Defines.h
2024-08-08 10:00:15 +09:00

112 lines
5.0 KiB
C

/*==================================================================================================
* Project : RTD AUTOSAR 4.4
* Platform : CORTEXM
* Peripheral : DMA,CACHE,TRGMUX,LCU,EMIOS,FLEXIO
* Dependencies : none
*
* Autosar Version : 4.4.0
* Autosar Revision : ASR_REL_4_4_REV_0000
* Autosar Conf.Variant :
* SW Version : 0.9.0
* Build Version : S32K3_RTD_0_9_0__ASR_REL_4_4_REV_0000_20210326
*
* (c) Copyright 2020 - 2021 NXP Semiconductors
* 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 EMIOS_MCL_IP_CFG_DEFINES_H
#define EMIOS_MCL_IP_CFG_DEFINES_H
#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 "Emios_Mcl_Ip_Cfg_DeviceRegisters.h"
#include "Emios_Pwm_Ip_CfgDefines.h"
/*==================================================================================================
* SOURCE FILE VERSION INFORMATION
==================================================================================================*/
/*==================================================================================================
* FILE VERSION CHECKS
==================================================================================================*/
/*==================================================================================================
* CONSTANTS
==================================================================================================*/
/*==================================================================================================
* DEFINES AND MACROS
==================================================================================================*/
/* Macros that indicate EMIOS channels used by MCL. */
#ifndef EMIOS_0_CH_23_USED
#define EMIOS_0_CH_23_USED
#else
#error "EMIOS_0_CH_23 channel cannot be used by MCL driver. Channel locked by other driver!"
#endif
#ifndef EMIOS_1_CH_23_USED
#define EMIOS_1_CH_23_USED
#else
#error "EMIOS_1_CH_23 channel cannot be used by MCL driver. Channel locked by other driver!"
#endif
#ifndef EMIOS_2_CH_23_USED
#define EMIOS_2_CH_23_USED
#else
#error "EMIOS_2_CH_23 channel cannot be used by MCL driver. Channel locked by other driver!"
#endif
/* Macros that indicate EMIOS interrupts used by MCL. */
#define MCL_EMIOS_0_CH_23_ISR_USED
#define MCL_EMIOS_1_CH_23_ISR_USED
#define MCL_EMIOS_2_CH_23_ISR_USED
/* Macros used to save logic MCL EMIOS channel encoding. */
#define MCL_EMIOS_LOGIC_CH0 (uint16)((0U << 8U) + 23U)
#define MCL_EMIOS_LOGIC_CH1 (uint16)((1U << 8U) + 23U)
#define MCL_EMIOS_LOGIC_CH2 (uint16)((2U << 8U) + 23U)
#define EMIOS_MCL_IP_DEV_ERROR_DETECT (STD_ON)
/** @brief Disable EMIOS multicore support at IP layer */
#define EMIOS_IP_MULTICORE_IS_AVAILABLE (STD_OFF)
/*==================================================================================================
* ENUMS
==================================================================================================*/
/*==================================================================================================
* STRUCTURES AND OTHER TYPEDEFS
==================================================================================================*/
/*==================================================================================================
* GLOBAL VARIABLE DECLARATIONS
==================================================================================================*/
/*==================================================================================================
* FUNCTION PROTOTYPES
==================================================================================================*/
#ifdef __cplusplus
}
#endif
#endif /* EMIOS_MCL_IP_CFG_DEFINES_H */