/*==================================================================================================
*   Project              : RTD AUTOSAR 4.4
*   Platform             : CORTEXM
*   Peripheral           : 
*   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.
==================================================================================================*/

#ifdef __cplusplus
extern "C" {
#endif

/*==================================================================================================
                                         INCLUDE FILES
==================================================================================================*/
#include "IntCtrl_Ip_Cfg.h"

/*==================================================================================================
                                       GLOBAL VARIABLES
==================================================================================================*/
#define PLATFORM_START_SEC_CONFIG_DATA_UNSPECIFIED
#include "Platform_MemMap.h"

/* List of configuration for interrupts #1 */
static const IntCtrl_Ip_IrqConfigType aIrqConfig1[] = {
    {INT0_IRQn, (boolean)FALSE, 0U},
    {INT1_IRQn, (boolean)FALSE, 0U},
    {INT2_IRQn, (boolean)FALSE, 0U},
    {INT3_IRQn, (boolean)FALSE, 0U},
    {DMATCD0_IRQn, (boolean)FALSE, 0U},
    {DMATCD1_IRQn, (boolean)FALSE, 0U},
    {DMATCD2_IRQn, (boolean)FALSE, 0U},
    {DMATCD3_IRQn, (boolean)FALSE, 0U},
    {DMATCD4_IRQn, (boolean)FALSE, 0U},
    {DMATCD5_IRQn, (boolean)FALSE, 0U},
    {DMATCD6_IRQn, (boolean)FALSE, 0U},
    {DMATCD7_IRQn, (boolean)FALSE, 0U},
    {DMATCD8_IRQn, (boolean)FALSE, 0U},
    {DMATCD9_IRQn, (boolean)FALSE, 0U},
    {DMATCD10_IRQn, (boolean)FALSE, 0U},
    {DMATCD11_IRQn, (boolean)FALSE, 0U},
    {DMATCD12_IRQn, (boolean)FALSE, 0U},
    {DMATCD13_IRQn, (boolean)FALSE, 0U},
    {DMATCD14_IRQn, (boolean)FALSE, 0U},
    {DMATCD15_IRQn, (boolean)FALSE, 0U},
    {DMATCD16_IRQn, (boolean)FALSE, 0U},
    {DMATCD17_IRQn, (boolean)FALSE, 0U},
    {DMATCD18_IRQn, (boolean)FALSE, 0U},
    {DMATCD19_IRQn, (boolean)FALSE, 0U},
    {DMATCD20_IRQn, (boolean)FALSE, 0U},
    {DMATCD21_IRQn, (boolean)FALSE, 0U},
    {DMATCD22_IRQn, (boolean)FALSE, 0U},
    {DMATCD23_IRQn, (boolean)FALSE, 0U},
    {DMATCD24_IRQn, (boolean)FALSE, 0U},
    {DMATCD25_IRQn, (boolean)FALSE, 0U},
    {DMATCD26_IRQn, (boolean)FALSE, 0U},
    {DMATCD27_IRQn, (boolean)FALSE, 0U},
    {DMATCD28_IRQn, (boolean)FALSE, 0U},
    {DMATCD29_IRQn, (boolean)FALSE, 0U},
    {DMATCD30_IRQn, (boolean)FALSE, 0U},
    {DMATCD31_IRQn, (boolean)FALSE, 0U},
    {ERM_0_IRQn, (boolean)FALSE, 0U},
    {ERM_1_IRQn, (boolean)FALSE, 0U},
    {MCM_IRQn, (boolean)FALSE, 0U},
    {STM0_IRQn, (boolean)FALSE, 0U},
    {STM1_IRQn, (boolean)FALSE, 0U},
    {SWT0_IRQn, (boolean)FALSE, 0U},
    {SWT1_IRQn, (boolean)FALSE, 0U},
    {CTI0_IRQn, (boolean)FALSE, 0U},
    {CTI1_IRQn, (boolean)FALSE, 0U},
    {FLASH_0_IRQn, (boolean)FALSE, 0U},
    {FLASH_1_IRQn, (boolean)FALSE, 0U},
    {FLASH_2_IRQn, (boolean)FALSE, 0U},
    {RGM_IRQn, (boolean)FALSE, 0U},
    {PMC_IRQn, (boolean)FALSE, 0U},
    {SIUL_0_IRQn, (boolean)FALSE, 0U},
    {SIUL_1_IRQn, (boolean)FALSE, 0U},
    {SIUL_2_IRQn, (boolean)FALSE, 0U},
    {SIUL_3_IRQn, (boolean)FALSE, 0U},
    {EMIOS0_0_IRQn, (boolean)FALSE, 0U},
    {EMIOS0_1_IRQn, (boolean)FALSE, 0U},
    {EMIOS0_2_IRQn, (boolean)FALSE, 0U},
    {EMIOS0_3_IRQn, (boolean)FALSE, 0U},
    {EMIOS0_4_IRQn, (boolean)FALSE, 0U},
    {EMIOS0_5_IRQn, (boolean)FALSE, 0U},
    {EMIOS1_0_IRQn, (boolean)FALSE, 0U},
    {EMIOS1_1_IRQn, (boolean)FALSE, 0U},
    {EMIOS1_2_IRQn, (boolean)FALSE, 0U},
    {EMIOS1_3_IRQn, (boolean)FALSE, 0U},
    {EMIOS1_4_IRQn, (boolean)FALSE, 0U},
    {EMIOS1_5_IRQn, (boolean)FALSE, 0U},
    {EMIOS2_0_IRQn, (boolean)FALSE, 0U},
    {EMIOS2_1_IRQn, (boolean)FALSE, 0U},
    {EMIOS2_2_IRQn, (boolean)FALSE, 0U},
    {EMIOS2_3_IRQn, (boolean)FALSE, 0U},
    {EMIOS2_4_IRQn, (boolean)FALSE, 0U},
    {EMIOS2_5_IRQn, (boolean)FALSE, 0U},
    {WKPU_IRQn, (boolean)FALSE, 0U},
    {CMU0_IRQn, (boolean)FALSE, 0U},
    {CMU1_IRQn, (boolean)FALSE, 0U},
    {CMU2_IRQn, (boolean)FALSE, 0U},
    {BCTU_IRQn, (boolean)FALSE, 0U},
    {LCU0_IRQn, (boolean)FALSE, 0U},
    {LCU1_IRQn, (boolean)FALSE, 0U},
    {PIT0_IRQn, (boolean)TRUE, 0U},
    {PIT1_IRQn, (boolean)FALSE, 0U},
    {PIT2_IRQn, (boolean)FALSE, 0U},
    {RTC_IRQn, (boolean)FALSE, 0U},
    {EMAC_0_IRQn, (boolean)FALSE, 0U},
    {EMAC_1_IRQn, (boolean)FALSE, 0U},
    {EMAC_2_IRQn, (boolean)FALSE, 0U},
    {EMAC_3_IRQn, (boolean)FALSE, 0U},
    {FlexCAN0_0_IRQn, (boolean)TRUE, 2U},
    {FlexCAN0_1_IRQn, (boolean)TRUE, 1U},
    {FlexCAN0_2_IRQn, (boolean)FALSE, 0U},
    {FlexCAN0_3_IRQn, (boolean)FALSE, 0U},
    {FlexCAN1_0_IRQn, (boolean)TRUE, 2U},
    {FlexCAN1_1_IRQn, (boolean)TRUE, 1U},
    {FlexCAN1_2_IRQn, (boolean)FALSE, 0U},
    {FlexCAN2_0_IRQn, (boolean)TRUE, 2U},
    {FlexCAN2_1_IRQn, (boolean)TRUE, 1U},
    {FlexCAN2_2_IRQn, (boolean)FALSE, 0U},
    {FlexCAN3_0_IRQn, (boolean)TRUE, 2U},
    {FlexCAN3_1_IRQn, (boolean)TRUE, 1U},
    {FlexCAN4_0_IRQn, (boolean)TRUE, 2U},
    {FlexCAN4_1_IRQn, (boolean)TRUE, 1U},
    {FlexCAN5_0_IRQn, (boolean)TRUE, 2U},
    {FlexCAN5_1_IRQn, (boolean)TRUE, 1U},
    {FLEXIO_IRQn, (boolean)FALSE, 0U},
    {LPUART0_IRQn, (boolean)TRUE, 2U},
    {LPUART1_IRQn, (boolean)TRUE, 0U},
    {LPUART2_IRQn, (boolean)TRUE, 2U},
    {LPUART3_IRQn, (boolean)FALSE, 0U},
    {LPUART4_IRQn, (boolean)FALSE, 0U},
    {LPUART5_IRQn, (boolean)FALSE, 0U},
    {LPUART6_IRQn, (boolean)FALSE, 0U},
    {LPUART7_IRQn, (boolean)FALSE, 0U},
    {LPUART8_IRQn, (boolean)FALSE, 0U},
    {LPUART9_IRQn, (boolean)TRUE, 0U},
    {LPUART10_IRQn, (boolean)FALSE, 0U},
    {LPUART11_IRQn, (boolean)FALSE, 0U},
    {LPUART12_IRQn, (boolean)FALSE, 0U},
    {LPUART13_IRQn, (boolean)FALSE, 0U},
    {LPUART14_IRQn, (boolean)FALSE, 0U},
    {LPUART15_IRQn, (boolean)FALSE, 0U},
    {LPI2C0_IRQn, (boolean)FALSE, 0U},
    {LPI2C1_IRQn, (boolean)TRUE, 3U},
    {LPSPI0_IRQn, (boolean)FALSE, 0U},
    {LPSPI1_IRQn, (boolean)FALSE, 0U},
    {LPSPI2_IRQn, (boolean)FALSE, 0U},
    {LPSPI3_IRQn, (boolean)FALSE, 0U},
    {LPSPI4_IRQn, (boolean)FALSE, 0U},
    {LPSPI5_IRQn, (boolean)FALSE, 0U},
    {QSPI_IRQn, (boolean)FALSE, 0U},
    {SAI0_IRQn, (boolean)FALSE, 0U},
    {SAI1_IRQn, (boolean)FALSE, 0U},
    {JDC_IRQn, (boolean)FALSE, 0U},
    {ADC0_IRQn, (boolean)TRUE, 2U},
    {ADC1_IRQn, (boolean)TRUE, 2U},
    {ADC2_IRQn, (boolean)FALSE, 2U},
    {LPCMP0_IRQn, (boolean)FALSE, 0U},
    {LPCMP1_IRQn, (boolean)FALSE, 0U},
    {LPCMP2_IRQn, (boolean)FALSE, 0U},
    {FCCU_0_IRQn, (boolean)FALSE, 0U},
    {FCCU_1_IRQn, (boolean)FALSE, 0U},
    {STCU_LBIST_MBIST_IRQn, (boolean)FALSE, 0U},
    {HSE_B_0_IRQn, (boolean)FALSE, 0U},
    {HSE_B_1_IRQn, (boolean)FALSE, 0U},
    {HSE_B_2_IRQn, (boolean)FALSE, 0U},
    {HSE_B_3_IRQn, (boolean)FALSE, 0U},
    {HSE_B_4_IRQn, (boolean)FALSE, 0U},
    {HSE_B_5_IRQn, (boolean)FALSE, 0U},
    {MU_A_0_IRQn, (boolean)FALSE, 0U},
    {MU_A_1_IRQn, (boolean)FALSE, 0U},
    {MU_A_2_IRQn, (boolean)FALSE, 0U},
    {MU_B_0_IRQn, (boolean)FALSE, 0U},
    {MU_B_1_IRQn, (boolean)FALSE, 0U},
    {MU_B_2_IRQn, (boolean)FALSE, 0U},
};

/* Configuration structure for interrupt controller #1*/
const IntCtrl_Ip_CtrlConfigType IntCtrlConfig_0 = {
    153U,
    aIrqConfig1
};

/* List of configurations for routing interrupts */
static const IntCtrl_Ip_IrqRouteConfigType aIrqRouteConfig[] = {
    {INT0_IRQn, 1U, undefined_handler},
    {INT1_IRQn, 1U, undefined_handler},
    {INT2_IRQn, 1U, undefined_handler},
    {INT3_IRQn, 1U, undefined_handler},
    {DMATCD0_IRQn, 1U, undefined_handler},
    {DMATCD1_IRQn, 1U, undefined_handler},
    {DMATCD2_IRQn, 1U, undefined_handler},
    {DMATCD3_IRQn, 1U, undefined_handler},
    {DMATCD4_IRQn, 1U, undefined_handler},
    {DMATCD5_IRQn, 1U, undefined_handler},
    {DMATCD6_IRQn, 1U, undefined_handler},
    {DMATCD7_IRQn, 1U, undefined_handler},
    {DMATCD8_IRQn, 1U, undefined_handler},
    {DMATCD9_IRQn, 1U, undefined_handler},
    {DMATCD10_IRQn, 1U, undefined_handler},
    {DMATCD11_IRQn, 1U, undefined_handler},
    {DMATCD12_IRQn, 1U, undefined_handler},
    {DMATCD13_IRQn, 1U, undefined_handler},
    {DMATCD14_IRQn, 1U, undefined_handler},
    {DMATCD15_IRQn, 1U, undefined_handler},
    {DMATCD16_IRQn, 1U, undefined_handler},
    {DMATCD17_IRQn, 1U, undefined_handler},
    {DMATCD18_IRQn, 1U, undefined_handler},
    {DMATCD19_IRQn, 1U, undefined_handler},
    {DMATCD20_IRQn, 1U, undefined_handler},
    {DMATCD21_IRQn, 1U, undefined_handler},
    {DMATCD22_IRQn, 1U, undefined_handler},
    {DMATCD23_IRQn, 1U, undefined_handler},
    {DMATCD24_IRQn, 1U, undefined_handler},
    {DMATCD25_IRQn, 1U, undefined_handler},
    {DMATCD26_IRQn, 1U, undefined_handler},
    {DMATCD27_IRQn, 1U, undefined_handler},
    {DMATCD28_IRQn, 1U, undefined_handler},
    {DMATCD29_IRQn, 1U, undefined_handler},
    {DMATCD30_IRQn, 1U, undefined_handler},
    {DMATCD31_IRQn, 1U, undefined_handler},
    {ERM_0_IRQn, 1U, undefined_handler},
    {ERM_1_IRQn, 1U, undefined_handler},
    {MCM_IRQn, 1U, undefined_handler},
    {STM0_IRQn, 1U, undefined_handler},
    {STM1_IRQn, 1U, undefined_handler},
    {SWT0_IRQn, 1U, undefined_handler},
    {SWT1_IRQn, 1U, undefined_handler},
    {CTI0_IRQn, 1U, undefined_handler},
    {CTI1_IRQn, 1U, undefined_handler},
    {FLASH_0_IRQn, 1U, undefined_handler},
    {FLASH_1_IRQn, 1U, undefined_handler},
    {FLASH_2_IRQn, 1U, undefined_handler},
    {RGM_IRQn, 1U, undefined_handler},
    {PMC_IRQn, 1U, undefined_handler},
    {SIUL_0_IRQn, 1U, undefined_handler},
    {SIUL_1_IRQn, 1U, undefined_handler},
    {SIUL_2_IRQn, 1U, undefined_handler},
    {SIUL_3_IRQn, 1U, undefined_handler},
    {EMIOS0_0_IRQn, 1U, undefined_handler},
    {EMIOS0_1_IRQn, 1U, undefined_handler},
    {EMIOS0_2_IRQn, 1U, undefined_handler},
    {EMIOS0_3_IRQn, 1U, undefined_handler},
    {EMIOS0_4_IRQn, 1U, undefined_handler},
    {EMIOS0_5_IRQn, 1U, undefined_handler},
    {EMIOS1_0_IRQn, 1U, undefined_handler},
    {EMIOS1_1_IRQn, 1U, undefined_handler},
    {EMIOS1_2_IRQn, 1U, undefined_handler},
    {EMIOS1_3_IRQn, 1U, undefined_handler},
    {EMIOS1_4_IRQn, 1U, undefined_handler},
    {EMIOS1_5_IRQn, 1U, undefined_handler},
    {EMIOS2_0_IRQn, 1U, undefined_handler},
    {EMIOS2_1_IRQn, 1U, undefined_handler},
    {EMIOS2_2_IRQn, 1U, undefined_handler},
    {EMIOS2_3_IRQn, 1U, undefined_handler},
    {EMIOS2_4_IRQn, 1U, undefined_handler},
    {EMIOS2_5_IRQn, 1U, undefined_handler},
    {WKPU_IRQn, 1U, undefined_handler},
    {CMU0_IRQn, 1U, undefined_handler},
    {CMU1_IRQn, 1U, undefined_handler},
    {CMU2_IRQn, 1U, undefined_handler},
    {BCTU_IRQn, 1U, undefined_handler},
    {LCU0_IRQn, 1U, undefined_handler},
    {LCU1_IRQn, 1U, undefined_handler},
    {PIT0_IRQn, 1U, PIT_0_ISR},
    {PIT1_IRQn, 1U, undefined_handler},
    {PIT2_IRQn, 1U, undefined_handler},
    {RTC_IRQn, 1U, undefined_handler},
    {EMAC_0_IRQn, 1U, undefined_handler},
    {EMAC_1_IRQn, 1U, undefined_handler},
    {EMAC_2_IRQn, 1U, undefined_handler},
    {EMAC_3_IRQn, 1U, undefined_handler},
    {FlexCAN0_0_IRQn, 1U, undefined_handler},
    {FlexCAN0_1_IRQn, 1U, undefined_handler},
    {FlexCAN0_2_IRQn, 1U, undefined_handler},
    {FlexCAN0_3_IRQn, 1U, undefined_handler},
    {FlexCAN1_0_IRQn, 1U, undefined_handler},
    {FlexCAN1_1_IRQn, 1U, undefined_handler},
    {FlexCAN1_2_IRQn, 1U, undefined_handler},
    {FlexCAN2_0_IRQn, 1U, undefined_handler},
    {FlexCAN2_1_IRQn, 1U, undefined_handler},
    {FlexCAN2_2_IRQn, 1U, undefined_handler},
    {FlexCAN3_0_IRQn, 1U, undefined_handler},
    {FlexCAN3_1_IRQn, 1U, undefined_handler},
    {FlexCAN4_0_IRQn, 1U, undefined_handler},
    {FlexCAN4_1_IRQn, 1U, undefined_handler},
    {FlexCAN5_0_IRQn, 1U, undefined_handler},
    {FlexCAN5_1_IRQn, 1U, undefined_handler},
    {FLEXIO_IRQn, 1U, undefined_handler},
    {LPUART0_IRQn, 1U, undefined_handler},
    {LPUART1_IRQn, 1U, undefined_handler},
    {LPUART2_IRQn, 1U, undefined_handler},
    {LPUART3_IRQn, 1U, undefined_handler},
    {LPUART4_IRQn, 1U, undefined_handler},
    {LPUART5_IRQn, 1U, undefined_handler},
    {LPUART6_IRQn, 1U, undefined_handler},
    {LPUART7_IRQn, 1U, undefined_handler},
    {LPUART8_IRQn, 1U, undefined_handler},
    {LPUART9_IRQn, 1U, undefined_handler},
    {LPUART10_IRQn, 1U, undefined_handler},
    {LPUART11_IRQn, 1U, undefined_handler},
    {LPUART12_IRQn, 1U, undefined_handler},
    {LPUART13_IRQn, 1U, undefined_handler},
    {LPUART14_IRQn, 1U, undefined_handler},
    {LPUART15_IRQn, 1U, undefined_handler},
    {LPI2C0_IRQn, 1U, undefined_handler},
    {LPI2C1_IRQn, 1U, undefined_handler},
    {LPSPI0_IRQn, 1U, undefined_handler},
    {LPSPI1_IRQn, 1U, undefined_handler},
    {LPSPI2_IRQn, 1U, undefined_handler},
    {LPSPI3_IRQn, 1U, undefined_handler},
    {LPSPI4_IRQn, 1U, undefined_handler},
    {LPSPI5_IRQn, 1U, undefined_handler},
    {QSPI_IRQn, 1U, undefined_handler},
    {SAI0_IRQn, 1U, undefined_handler},
    {SAI1_IRQn, 1U, undefined_handler},
    {JDC_IRQn, 1U, undefined_handler},
    {ADC0_IRQn, 1U, undefined_handler},
    {ADC1_IRQn, 1U, undefined_handler},
    {ADC2_IRQn, 1U, undefined_handler},
    {LPCMP0_IRQn, 1U, undefined_handler},
    {LPCMP1_IRQn, 1U, undefined_handler},
    {LPCMP2_IRQn, 1U, undefined_handler},
    {FCCU_0_IRQn, 1U, undefined_handler},
    {FCCU_1_IRQn, 1U, undefined_handler},
    {STCU_LBIST_MBIST_IRQn, 1U, undefined_handler},
    {HSE_B_0_IRQn, 1U, undefined_handler},
    {HSE_B_1_IRQn, 1U, undefined_handler},
    {HSE_B_2_IRQn, 1U, undefined_handler},
    {HSE_B_3_IRQn, 1U, undefined_handler},
    {HSE_B_4_IRQn, 1U, undefined_handler},
    {HSE_B_5_IRQn, 1U, undefined_handler},
    {MU_A_0_IRQn, 1U, undefined_handler},
    {MU_A_1_IRQn, 1U, undefined_handler},
    {MU_A_2_IRQn, 1U, undefined_handler},
    {MU_B_0_IRQn, 1U, undefined_handler},
    {MU_B_1_IRQn, 1U, undefined_handler},
    {MU_B_2_IRQn, 1U, undefined_handler},
};
/* Configuration structure for interrupt routing */
const IntCtrl_Ip_GlobalRouteConfigType intRouteConfig = {
    153U,
    aIrqRouteConfig
};

#define PLATFORM_STOP_SEC_CONFIG_DATA_UNSPECIFIED
#include "Platform_MemMap.h"

#ifdef __cplusplus
}
#endif

