/**
*   @file    Mcu_PLLDIG_Irq.c
*   @version 1.0.0
*
*   @brief   AUTOSAR Mcu - Power Control Unit module functions implementation.
*   @details Specific functions for PLLDIG configuration and control.
*
*   @addtogroup MCU
*   @{
*/
/*==================================================================================================
*   Project              : AUTOSAR 4.3 MCAL
*   Platform             : PA
*   Peripheral           : MC
*   Dependencies         : none
*
*   Autosar Version      : 4.3.1
*   Autosar Revision     : ASR_REL_4_3_REV_0001
*   Autosar Conf.Variant :
*   SW Version           : 1.0.0
*   Build Version        : MPC5777C_MCAL_1_0_0_RTM_ASR_REL_4_3_REV_0001_20190315
*
*   (c) Copyright 2006-2016 Freescale Semiconductor, Inc. 
*       Copyright 2017-2019 NXP
*   All Rights Reserved.
==================================================================================================*/
/*==================================================================================================
==================================================================================================*/


#ifdef __cplusplus
extern "C"
{
#endif


/**
* @page misra_violations MISRA-C:2012 violations
*
* @section Mcu_PLLDIG_IRQ_c_REF_1
* Violates MISRA 2012 Advisory Rule 20.1, #include directives should only be preceded by preprocessor
* directives or comments. AUTOSAR imposes the specification of the sections in which certain parts
* of the driver must be placed.
*
* @section Mcu_PLLDIG_IRQ_c_REF_2
* Violates MISRA 2012 Required Directive 4.10, Precautions shall be taken in order to prevent the contents
* of a header file being included more than once. This comes from the order of includes in the .c file
* and from include dependencies. As a safe approach, any file must include all its dependencies.
* Header files are already protected against double inclusions. The inclusion of Mcu_MemMap.h is as
* per AUTOSAR requirement [SWS_MemMap_00003].
*
* @section Mcu_PLLDIG_IRQ_c_REF_3
* Violates MISRA 2012 Required Rule 14.4, The controlling expression of an if statement and the controlling expression of an 
* iteration-statement shall have essentially Boolean type.
*
* @section Mcu_PLLDIG_IRQ_c_REF_4
* Violates MISRA 2012 Advisory Rule 8.7, Functions and objects should not be defined with external linkage if
* they are referenced in only one translation unit.
* These functions represent the API of the driver. External linkage is needed to "export" the API.
*
* @section [global]
* Violates MISRA 2012 Required Rule 5.4, Macro identifiers shall be distinct.
* This violation is due to the AUTOSAR requirement [SWS_BSW_00036] (perform inter module checks).
*
* @section [global]
* Violates MISRA 2012 Required Rule 5.1, External identifiers shall be distinct.
* This rule does not apply if either identifier is a macro identifier, because this case is covered
* by Rule 5.4 and Rule 5.5.
*
* @section [global]
* Violates MISRA 2012 Required Rule 5.2, Identifiers declared in the same scope and name space shall be distinct.
* This rule does not apply if either identifier is a macro identifier, because this case is covered
* by Rule 5.4 and Rule 5.5.
*
* @section [global]
* Violates MISRA 2012 Required Rule 5.5, Identifiers shall be distinct from macro names.
* The identifier clash is between macro identifiers. Therefore, this rule is incorrectly reported by the tool.
*/

/*==================================================================================================
                                         INCLUDE FILES
 1) system and project includes
 2) needed interfaces from external units
 3) internal and external interfaces from this unit
==================================================================================================*/
#include "Mcal.h"
#include "Mcu_PLLDIG.h"

/*==================================================================================================
*                              SOURCE FILE VERSION INFORMATION
=================================================================================================*/
#define MCU_PLLDIG_VENDOR_ID_IRQ_C                      43
#define MCU_PLLDIG_AR_RELEASE_MAJOR_VERSION_IRQ_C       4
#define MCU_PLLDIG_AR_RELEASE_MINOR_VERSION_IRQ_C       3
#define MCU_PLLDIG_AR_RELEASE_REVISION_VERSION_IRQ_C    1
#define MCU_PLLDIG_SW_MAJOR_VERSION_IRQ_C               1
#define MCU_PLLDIG_SW_MINOR_VERSION_IRQ_C               0
#define MCU_PLLDIG_SW_PATCH_VERSION_IRQ_C               0


/*==================================================================================================
                                     FILE VERSION CHECKS
==================================================================================================*/
/* Check if current file and Mcal header file are of the same version */
#ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
    #if ((MCU_PLLDIG_AR_RELEASE_MAJOR_VERSION_IRQ_C != MCAL_AR_RELEASE_MAJOR_VERSION) || \
         (MCU_PLLDIG_AR_RELEASE_MINOR_VERSION_IRQ_C != MCAL_AR_RELEASE_MINOR_VERSION))
        #error "AutoSar Version Numbers of Mcu_PLLDIG_Irq.c and Mcal.h are different"
    #endif
#endif

/* Check if source file and Mcu_PLLDIG header file are of the same vendor. */
#if (MCU_PLLDIG_VENDOR_ID_IRQ_C != MCU_PLLDIG_VENDOR_ID)
    #error "Mcu_PLLDIG_Irq.c and Mcu_PLLDIG.h have different Vendor IDs."
#endif
/* Check if source file and Mcu_PLLDIG header file are of the same Autosar version. */
#if ( (MCU_PLLDIG_AR_RELEASE_MAJOR_VERSION_IRQ_C != MCU_PLLDIG_AR_RELEASE_MAJOR_VERSION) || \
    (MCU_PLLDIG_AR_RELEASE_MINOR_VERSION_IRQ_C != MCU_PLLDIG_AR_RELEASE_MINOR_VERSION) || \
    (MCU_PLLDIG_AR_RELEASE_REVISION_VERSION_IRQ_C != MCU_PLLDIG_AR_RELEASE_REVISION_VERSION) \
  )
    #error "AutoSar Version Numbers of Mcu_PLLDIG_Irq.c and Mcu_PLLDIG.h are different."
#endif
/* Check if source file and Mcu_PLLDIG header file are of the same Software version. */
#if ( (MCU_PLLDIG_SW_MAJOR_VERSION_IRQ_C != MCU_PLLDIG_SW_MAJOR_VERSION) || \
      (MCU_PLLDIG_SW_MINOR_VERSION_IRQ_C != MCU_PLLDIG_SW_MINOR_VERSION) || \
      (MCU_PLLDIG_SW_PATCH_VERSION_IRQ_C != MCU_PLLDIG_SW_PATCH_VERSION) \
    )
    #error "Software Version Numbers of Mcu_PLLDIG_Irq.c and Mcu_PLLDIG.h are different."
#endif

/*==================================================================================================
                          LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
==================================================================================================*/


/*==================================================================================================
                                       LOCAL MACROS
==================================================================================================*/


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


/*==================================================================================================
                                       LOCAL VARIABLES
==================================================================================================*/


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


/*==================================================================================================
                                       GLOBAL VARIABLES
==================================================================================================*/


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


/*==================================================================================================
                                       LOCAL FUNCTIONS
==================================================================================================*/


/*==================================================================================================
                                     FUNCTION PROTOTYPES
==================================================================================================*/
#define MCU_START_SEC_CODE
/**
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_2 Precautions shall be taken in order to prevent the contents
* of a header file being included more than once.
*/
#include "Mcu_MemMap.h"

#if (IPV_PLLDIG == IPV_PLLDIG_01_08_61_00)
#if (((MCU_PLL0_UNDER_MCU_CONTROL == STD_ON) && (MCU_PLLDIG_PLL0_LOL_ISR_USED == STD_ON)) || \
     ((MCU_PLL1_UNDER_MCU_CONTROL == STD_ON) && (MCU_PLLDIG_PLL1_LOL_ISR_USED == STD_ON)) \
    )
ISR( Mcu_PllDig_Pll_LossOfLockIsr );
#endif
#endif

#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23))
#if (MCU_PLL0_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL0_EXTPD_ISR_USED == STD_ON)
ISR( Mcu_PllDig_Pll0_PowerDownCompleteIsr );
#endif /* MCU_PLLDIG_PLL0_EXTPD_ISR_USED == STD_ON */
#endif /* (MCU_PLL0_UNDER_MCU_CONTROL == STD_ON) */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) */

#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_00) || \
     (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_01) || \
     (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29) || (IPV_PLLDIG == IPV_PLLDIG_01_08_61_00) \
    )
#if (MCU_PLL0_UNDER_MCU_CONTROL == STD_ON)
#if ( MCU_PLLDIG_PLL0_LOL_ISR_USED == STD_ON )
ISR( Mcu_PllDig_Pll0_LossOfLockIsr );
#endif /* MCU_PLLDIG_PLL0_LOL_ISR_USED == STD_ON */
#endif /* (MCU_PLL0_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_00)) */


#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23))
#ifdef MCU_PLL1_UNDER_MCU_CONTROL
#if (MCU_PLL1_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL1_EXTPD_ISR_USED == STD_ON)
ISR( Mcu_PllDig_Pll1_PowerDownCompleteIsr );
#endif /* MCU_PLLDIG_PLL1_EXTPD_ISR_USED */
#endif /* (MCU_PLL1_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL1_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) */

#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_00) || \
     (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_01) || \
     (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29) || (IPV_PLLDIG == IPV_PLLDIG_01_08_61_00) \
    )
#ifdef MCU_PLL1_UNDER_MCU_CONTROL
#if (MCU_PLL1_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL1_LOL_ISR_USED == STD_ON)
ISR( Mcu_PllDig_Pll1_LossOfLockIsr );
#endif /* MCU_PLLDIG_PLL1_LOL_ISR_USED */
#endif /* (MCU_PLL1_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL1_UNDER_MCU_CONTROL */
#endif /* ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_00)) */


#if (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23)
#ifdef MCU_PLL2_UNDER_MCU_CONTROL
#if (MCU_PLL2_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL2_EXTPD_ISR_USED == STD_ON)
ISR( Mcu_PllDig_Pll2_PowerDownCompleteIsr );
#endif /* MCU_PLLDIG_PLL2_EXTPD_ISR_USED == STD_ON */
#endif /* (MCU_PLL2_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL2_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */

#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29))
#ifdef MCU_PLL2_UNDER_MCU_CONTROL
#if (MCU_PLL2_UNDER_MCU_CONTROL == STD_ON)
#if ( MCU_PLLDIG_PLL2_LOL_ISR_USED == STD_ON )
ISR( Mcu_PllDig_Pll2_LossOfLockIsr );
#endif /* MCU_PLLDIG_PLL2_LOL_ISR_USED == STD_ON */
#endif /* (MCU_PLL2_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL2_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */


#if (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23)
#ifdef MCU_PLL3_UNDER_MCU_CONTROL
#if (MCU_PLL3_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL3_EXTPD_ISR_USED == STD_ON)
ISR( Mcu_PllDig_Pll3_PowerDownCompleteIsr );
#endif /* MCU_PLLDIG_PLL3_EXTPD_ISR_USED == STD_ON */
#endif /* (MCU_PLL3_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL3_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */

#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29))
#ifdef MCU_PLL3_UNDER_MCU_CONTROL
#if (MCU_PLL3_UNDER_MCU_CONTROL == STD_ON)
#if ( MCU_PLLDIG_PLL3_LOL_ISR_USED == STD_ON )
ISR( Mcu_PllDig_Pll3_LossOfLockIsr );
#endif /* MCU_PLLDIG_PLL3_LOL_ISR_USED == STD_ON */
#endif /* (MCU_PLL3_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL3_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */

#if (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29)
#ifdef MCU_PLL4_UNDER_MCU_CONTROL
#if (MCU_PLL4_UNDER_MCU_CONTROL == STD_ON)
#if ( MCU_PLLDIG_PLL4_LOL_ISR_USED == STD_ON )
ISR( Mcu_PllDig_Pll4_LossOfLockIsr );
#endif /* MCU_PLLDIG_PLL4_LOL_ISR_USED == STD_ON */
#endif /* (MCU_PLL4_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL4_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */

#define MCU_STOP_SEC_CODE
/**
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_1 #include directives should only be preceded by preprocessor
* directives or comments.
*
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_2 Precautions shall be taken in order to prevent the contents
* of a header file being included more than once.
*/
#include "Mcu_MemMap.h"
/*==================================================================================================
                                       GLOBAL FUNCTIONS
==================================================================================================*/
#define MCU_START_SEC_CODE
/**
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_1 #include directives should only be preceded by preprocessor
* directives or comments.
*
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_2 Precautions shall be taken in order to prevent the contents
* of a header file being included more than once.
*/
#include "Mcu_MemMap.h"


#if (IPV_PLLDIG == IPV_PLLDIG_01_08_61_00)
#if (((MCU_PLL0_UNDER_MCU_CONTROL == STD_ON) && (MCU_PLLDIG_PLL0_LOL_ISR_USED == STD_ON)) || \
     ((MCU_PLL1_UNDER_MCU_CONTROL == STD_ON) && (MCU_PLLDIG_PLL1_LOL_ISR_USED == STD_ON)) \
    )
/**
* @brief        PLLDIG Pll ISR.
* @details      This ISR is generated by the PLLDIG IP when the Pll0 or PLL1 module loses lock.
*
* @isr
*
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_4 Functions and objects should not be defined with external linkage if
* they are referenced in only one translation unit.
*/
ISR( Mcu_PllDig_Pll_LossOfLockIsr )
{
#if ((MCU_PLL0_UNDER_MCU_CONTROL == STD_ON) && (MCU_PLLDIG_PLL0_LOL_ISR_USED == STD_ON))
    Mcu_PLLDIG_PLL0LossOfLockIsr();
#endif

#if ((MCU_PLL1_UNDER_MCU_CONTROL == STD_ON) && (MCU_PLLDIG_PLL1_LOL_ISR_USED == STD_ON))
    Mcu_PLLDIG_PLL1LossOfLockIsr();
#endif
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif
#endif


#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23))
#if (MCU_PLL0_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL0_EXTPD_ISR_USED == STD_ON)
/**
* @brief        PLLDIG Pll0 EXTPD ISR.
* @details      This ISR is generated by the PLLDIG Ip when External Power Down Cycle Complete.
*
* @isr
*
*/
/** @violates @ref Mcu_PLLDIG_c_REF_6 The IRQ handler is used by external code */
ISR( Mcu_PllDig_Pll0_PowerDownCompleteIsr )
{
    Mcu_PLLDIG_PLL0PowerDownCompleteIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL0_EXTPD_ISR_USED == STD_ON */
#endif /* (MCU_PLL0_UNDER_MCU_CONTROL == STD_ON) */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) */


#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_00) || \
     (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_01) || \
     (IPV_PLLDIG == IPV_PLLDIG_01_08_61_00) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29) \
    )
#if (MCU_PLL0_UNDER_MCU_CONTROL == STD_ON)
#if ( MCU_PLLDIG_PLL0_LOL_ISR_USED == STD_ON )
/**
* @brief        PLLDIG Pll0 ISR.
* @details      This ISR is generated by the PLLDIG Ip when the Pll0 module loses lock.
*
* @isr
*
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_4 Functions and objects should not be defined with external linkage if
* they are referenced in only one translation unit.
*/
ISR( Mcu_PllDig_Pll0_LossOfLockIsr )
{
    Mcu_PLLDIG_PLL0LossOfLockIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL0_LOL_ISR_USED == STD_ON */
#endif /* (MCU_PLL0_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_00)) */


#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23))
#ifdef MCU_PLL1_UNDER_MCU_CONTROL
#if (MCU_PLL1_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL1_EXTPD_ISR_USED == STD_ON)
/**
* @brief        PLLDIG Pll1 EXTPD ISR.
* @details      This ISR is generated by the PLLDIG Ip when External Power Down Cycle Complete.
*
* @isr
*
*/
ISR( Mcu_PllDig_Pll1_PowerDownCompleteIsr )
{
    Mcu_PLLDIG_PLL1PowerDownCompleteIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL1_EXTPD_ISR_USED */
#endif /* (MCU_PLL1_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL1_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) */


#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_00) || \
     (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_01) || \
     (IPV_PLLDIG == IPV_PLLDIG_01_08_61_00) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29) \
    )
#ifdef MCU_PLL1_UNDER_MCU_CONTROL
#if (MCU_PLL1_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL1_LOL_ISR_USED == STD_ON)
/**
* @brief        PLLDIG Pll1 ISR.
* @details      This ISR is generated by the PLLDIG Ip when the Pll1 module loses lock.
*
* @isr
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_4 Functions and objects should not be defined with external linkage if
* they are referenced in only one translation unit.
*
*/
ISR( Mcu_PllDig_Pll1_LossOfLockIsr )
{
    Mcu_PLLDIG_PLL1LossOfLockIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL1_LOL_ISR_USED */
#endif /* (MCU_PLL1_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL1_UNDER_MCU_CONTROL */
#endif /* ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_13) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_00)) */


#if (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23)
#ifdef MCU_PLL2_UNDER_MCU_CONTROL
#if (MCU_PLL2_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL2_EXTPD_ISR_USED == STD_ON)
/**
* @brief        PLLDIG Pll2 EXTPD ISR.
* @details      This ISR is generated by the PLLDIG Ip when External Power Down Cycle Complete.
*
* @isr
*
*/
ISR( Mcu_PllDig_Pll2_PowerDownCompleteIsr )
{
    Mcu_PLLDIG_PLL2PowerDownCompleteIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL2_EXTPD_ISR_USED */
#endif /* (MCU_PLL2_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL2_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */


#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29))
#ifdef MCU_PLL2_UNDER_MCU_CONTROL
#if (MCU_PLL2_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL2_LOL_ISR_USED == STD_ON)
/**
* @brief        PLLDIG Pll2 ISR.
* @details      This ISR is generated by the PLLDIG Ip when the Pll1 module loses lock.
*
* @isr
*
*/
ISR( Mcu_PllDig_Pll2_LossOfLockIsr )
{
    Mcu_PLLDIG_PLL2LossOfLockIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL2_LOL_ISR_USED */
#endif /* (MCU_PLL2_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL2_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */


#if (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23)
#ifdef MCU_PLL3_UNDER_MCU_CONTROL
#if (MCU_PLL3_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL3_EXTPD_ISR_USED == STD_ON)
/**
* @brief        PLLDIG Pll3 EXTPD ISR.
* @details      This ISR is generated by the PLLDIG Ip when External Power Down Cycle Complete.
*
* @isr
*
*/
ISR( Mcu_PllDig_Pll3_PowerDownCompleteIsr )
{
    Mcu_PLLDIG_PLL3PowerDownCompleteIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL3_EXTPD_ISR_USED */
#endif /* (MCU_PLL3_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL3_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */


#if ((IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) || (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29))
#ifdef MCU_PLL3_UNDER_MCU_CONTROL
#if (MCU_PLL3_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL3_LOL_ISR_USED == STD_ON)
/**
* @brief        PLLDIG Pll3 ISR.
* @details      This ISR is generated by the PLLDIG Ip when the Pll1 module loses lock.
*
* @isr
*
*/
ISR( Mcu_PllDig_Pll3_LossOfLockIsr )
{
    Mcu_PLLDIG_PLL3LossOfLockIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL3_LOL_ISR_USED */
#endif /* (MCU_PLL3_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL3_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */

#if (IPV_PLLDIG == IPV_PLLDIG_02_00_04_29)
#ifdef MCU_PLL4_UNDER_MCU_CONTROL
#if (MCU_PLL4_UNDER_MCU_CONTROL == STD_ON)
#if (MCU_PLLDIG_PLL4_LOL_ISR_USED == STD_ON)
/**
* @brief        PLLDIG Pll4 ISR.
* @details      This ISR is generated by the PLLDIG Ip when the Pll1 module loses lock.
*
* @isr
*
*/
ISR( Mcu_PllDig_Pll4_LossOfLockIsr )
{
    Mcu_PLLDIG_PLL4LossOfLockIsr();
    /** @violates @ref Mcu_PLLDIG_IRQ_c_REF_3 This while() loop was used for keeping coding rule.*/
    EXIT_INTERRUPT();
}
#endif /* MCU_PLLDIG_PLL4_LOL_ISR_USED */
#endif /* (MCU_PLL4_UNDER_MCU_CONTROL == STD_ON) */
#endif /* ifdef MCU_PLL4_UNDER_MCU_CONTROL */
#endif /* (IPV_PLLDIG == IPV_PLLDIG_02_00_04_23) */


#define MCU_STOP_SEC_CODE
/**
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_1 #include directives should only be preceded by preprocessor
* directives or comments.
*
* @violates @ref Mcu_PLLDIG_IRQ_c_REF_2 Precautions shall be taken in order to prevent the contents
* of a header file being included more than once.
*/
#include "Mcu_MemMap.h"


#ifdef __cplusplus
}
#endif

/** @} */
