ADM/GW/RTD/include/Emios_Pwm_Ip_Irq.h
2024-08-08 10:00:15 +09:00

118 lines
5.2 KiB
C

/*==================================================================================================
* Project : RTD AUTOSAR 4.4
* Platform : CORTEXM
* Peripheral : 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_PWM_IP_IRQ_H
#define EMIOS_PWM_IP_IRQ_H
/**
* @file Emios_Pwm_Ip_Irq.h
*
* @internal
* @addtogroup emios_pwm_ip Emios Pwm IPL
* @{
*/
#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 "StandardTypes.h"
/*==================================================================================================
* SOURCE FILE VERSION INFORMATION
==================================================================================================*/
#define EMIOS_PWM_IP_IRQ_VENDOR_ID 43
#define EMIOS_PWM_IP_IRQ_MODULE_ID 121
#define EMIOS_PWM_IP_IRQ_AR_RELEASE_MAJOR_VERSION 4
#define EMIOS_PWM_IP_IRQ_AR_RELEASE_MINOR_VERSION 4
#define EMIOS_PWM_IP_IRQ_AR_RELEASE_REVISION_VERSION 0
#define EMIOS_PWM_IP_IRQ_SW_MAJOR_VERSION 0
#define EMIOS_PWM_IP_IRQ_SW_MINOR_VERSION 9
#define EMIOS_PWM_IP_IRQ_SW_PATCH_VERSION 0
/*==================================================================================================
* FILE VERSION CHECKS
==================================================================================================*/
#ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
/* Check if header file and StandardTypes.h are of the same AUTOSAR version */
#if ((EMIOS_PWM_IP_IRQ_AR_RELEASE_MAJOR_VERSION != STD_AR_RELEASE_MAJOR_VERSION) || \
(EMIOS_PWM_IP_IRQ_AR_RELEASE_MINOR_VERSION != STD_AR_RELEASE_MINOR_VERSION))
#error "AUTOSAR Version Numbers of Emios_Pwm_Ip_Irq.h and StandardTypes.h are different"
#endif
#endif
/*==================================================================================================
* CONSTANTS
==================================================================================================*/
/*==================================================================================================
* DEFINES AND MACROS
==================================================================================================*/
/*==================================================================================================
* ENUMS
==================================================================================================*/
/*==================================================================================================
* STRUCTURES AND OTHER TYPEDEFS
==================================================================================================*/
/*==================================================================================================
* GLOBAL VARIABLE DECLARATIONS
==================================================================================================*/
/*==================================================================================================
* FUNCTION PROTOTYPES
==================================================================================================*/
#define PWM_START_SEC_CODE
#include "Pwm_MemMap.h"
/**
* @brief Interrupt handler for Emios Pwm channels.
* @details Interrupt handler that clears the flags and calls the user notification function.
*
* @param[in] instance Emios instance id on which the interrupt occured.
* @param[in] channel Channell id within the emios instance that triggered the interrupt.
*/
void Emios_Pwm_Ip_IrqHandler(uint8 instance, uint8 channel);
#define PWM_STOP_SEC_CODE
#include "Pwm_MemMap.h"
#ifdef __cplusplus
}
#endif
/** @} */
#endif /* EMIOS_PWM_IP_IRQ_H */