mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
182 lines
9.2 KiB
C
182 lines
9.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_BOARD_InitPeripherals_PBCFG_H
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PBCFG_H
|
|
|
|
/**
|
|
* @file Emios_Pwm_Ip_PBcfg.h
|
|
*
|
|
* @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 "Emios_Pwm_Ip_Types.h"
|
|
|
|
/*==================================================================================================
|
|
* SOURCE FILE VERSION INFORMATION
|
|
==================================================================================================*/
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_VENDOR_ID 43
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_MODULE_ID 121
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_AR_RELEASE_MAJOR_VERSION 4
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_AR_RELEASE_MINOR_VERSION 4
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_AR_RELEASE_REVISION_VERSION 0
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_SW_MAJOR_VERSION 0
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_SW_MINOR_VERSION 9
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_SW_PATCH_VERSION 0
|
|
|
|
/*==================================================================================================
|
|
* FILE VERSION CHECKS
|
|
==================================================================================================*/
|
|
/* Check if header file and Emios_Pwm_Ip_Types header file are of the same vendor */
|
|
#if (EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_VENDOR_ID != EMIOS_PWM_IP_TYPES_VENDOR_ID)
|
|
#error "Vendor IDs of Emios_Pwm_Ip_BOARD_InitPeripherals_PBcfg.h and Emios_Pwm_Ip_Types.h are different."
|
|
#endif
|
|
|
|
/* Check if header file and Emios_Pwm_Ip_Types header file are of the same AUTOSAR version */
|
|
#if ((EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_AR_RELEASE_MAJOR_VERSION != EMIOS_PWM_IP_TYPES_AR_RELEASE_MAJOR_VERSION) || \
|
|
(EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_AR_RELEASE_MINOR_VERSION != EMIOS_PWM_IP_TYPES_AR_RELEASE_MINOR_VERSION) || \
|
|
(EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_AR_RELEASE_REVISION_VERSION != EMIOS_PWM_IP_TYPES_AR_RELEASE_REVISION_VERSION))
|
|
#error "AUTOSAR version numbers of Emios_Pwm_Ip_BOARD_InitPeripherals_PBcfg.h and Emios_Pwm_Ip_Types.h are different."
|
|
#endif
|
|
|
|
/* Check if header file and Emios_Pwm_Ip_Types header file are of the same software version */
|
|
#if ((EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_SW_MAJOR_VERSION != EMIOS_PWM_IP_TYPES_SW_MAJOR_VERSION) || \
|
|
(EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_SW_MINOR_VERSION != EMIOS_PWM_IP_TYPES_SW_MINOR_VERSION) || \
|
|
(EMIOS_PWM_IP_BOARD_InitPeripherals_PB_CFG_SW_PATCH_VERSION != EMIOS_PWM_IP_TYPES_SW_PATCH_VERSION))
|
|
#error "Software version numbers of Emios_Pwm_Ip_BOARD_InitPeripherals_PBcfg.h and Emios_Pwm_Ip_Types.h are different."
|
|
#endif
|
|
|
|
/*==================================================================================================
|
|
* CONSTANTS
|
|
==================================================================================================*/
|
|
/* Emios instance index for configuration PwmEmios_0/PwmEmiosChannels_0 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I0_CH0_CFG (0U)
|
|
/* Emios instance index for configuration PwmEmios_0/PwmEmiosChannels_1 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I0_CH1_CFG (0U)
|
|
/* Emios instance index for configuration PwmEmios_0/PwmEmiosChannels_2 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I0_CH2_CFG (0U)
|
|
/* Emios instance index for configuration PwmEmios_0/PwmEmiosChannels_3 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I0_CH3_CFG (0U)
|
|
/* Emios instance index for configuration PwmEmios_1/PwmEmiosChannels_0 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I1_CH1_CFG (1U)
|
|
/* Emios instance index for configuration PwmEmios_1/PwmEmiosChannels_1 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I1_CH2_CFG (1U)
|
|
/* Emios instance index for configuration PwmEmios_1/PwmEmiosChannels_2 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I1_CH3_CFG (1U)
|
|
/* Emios instance index for configuration PwmEmios_1/PwmEmiosChannels_3 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I1_CH16_CFG (1U)
|
|
/* Emios instance index for configuration PwmEmios_1/PwmEmiosChannels_4 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I1_CH19_CFG (1U)
|
|
/* Emios instance index for configuration PwmEmios_1/PwmEmiosChannels_5 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I1_CH22_CFG (1U)
|
|
/* Emios instance index for configuration PwmEmios_2/PwmEmiosChannels_0 */
|
|
#define EMIOS_PWM_IP_BOARD_InitPeripherals_I2_CH2_CFG (2U)
|
|
|
|
/*==================================================================================================
|
|
* DEFINES AND MACROS
|
|
==================================================================================================*/
|
|
|
|
/*==================================================================================================
|
|
* ENUMS
|
|
==================================================================================================*/
|
|
|
|
/*==================================================================================================
|
|
* STRUCTURES AND OTHER TYPEDEFS
|
|
==================================================================================================*/
|
|
|
|
/*==================================================================================================
|
|
* GLOBAL VARIABLE DECLARATIONS
|
|
==================================================================================================*/
|
|
#ifndef EMIOS_PWM_IP_PRECOMPILE_SUPPORT
|
|
#define PWM_START_SEC_CONFIG_DATA_UNSPECIFIED
|
|
#include "Pwm_MemMap.h"
|
|
|
|
/* Channel configurations for Emios instance 0 */
|
|
/* Emios channel 0 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I0_Ch0;
|
|
|
|
/* Emios channel 1 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I0_Ch1;
|
|
|
|
/* Emios channel 2 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I0_Ch2;
|
|
|
|
/* Emios channel 3 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I0_Ch3;
|
|
|
|
|
|
/* Channel configurations for Emios instance 1 */
|
|
/* Emios channel 1 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I1_Ch1;
|
|
|
|
/* Emios channel 2 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I1_Ch2;
|
|
|
|
/* Emios channel 3 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I1_Ch3;
|
|
|
|
/* Emios channel 16 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I1_Ch16;
|
|
|
|
/* Emios channel 19 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I1_Ch19;
|
|
|
|
/* Emios channel 22 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I1_Ch22;
|
|
|
|
|
|
/* Channel configurations for Emios instance 2 */
|
|
/* Emios channel 2 configuration */
|
|
extern const Emios_Pwm_Ip_ChannelConfigType Emios_Pwm_Ip_BOARD_InitPeripherals_I2_Ch2;
|
|
|
|
#define PWM_STOP_SEC_CONFIG_DATA_UNSPECIFIED
|
|
#include "Pwm_MemMap.h"
|
|
#endif /* EMIOS_PWM_IP_PRECOMPILE_SUPPORT */
|
|
|
|
/*==================================================================================================
|
|
* FUNCTION PROTOTYPES
|
|
==================================================================================================*/
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|
|
|
|
#endif /* EMIOS_PWM_IP_BOARD_InitPeripherals_PBCFG_H */
|
|
|