123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- /*==================================================================================================
- * Project : RTD AUTOSAR 4.4
- * Platform : CORTEXM
- * Peripheral : ADC
- * Dependencies : none
- *
- * Autosar Version : 4.4.0
- * Autosar Revision : ASR_REL_4_4_REV_0000
- * Autosar Conf.Variant :
- * SW Version : 1.0.0
- * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
- *
- * (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.
- ==================================================================================================*/
- /**
- * @file
- *
- * @addtogroup pdb_adc_ip_config Pdb Adc IPL Configuration
- * @{
- */
- #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 "Pdb_Adc_Ip_VS_0_PBcfg.h"
- /*==================================================================================================
- * SOURCE FILE VERSION INFORMATION
- ==================================================================================================*/
- #define PDB_ADC_IP_VENDOR_ID_VS_0_PBCFG_C 43
- #define PDB_ADC_IP_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_C 4
- #define PDB_ADC_IP_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_C 4
- #define PDB_ADC_IP_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_C 0
- #define PDB_ADC_IP_SW_MAJOR_VERSION_VS_0_PBCFG_C 1
- #define PDB_ADC_IP_SW_MINOR_VERSION_VS_0_PBCFG_C 0
- #define PDB_ADC_IP_SW_PATCH_VERSION_VS_0_PBCFG_C 0
- /*==================================================================================================
- * FILE VERSION CHECKS
- ==================================================================================================*/
- /* Check if Pdb_Adc_Ip_VS_0_PBcfg.c file and Pdb_Adc_Ip_VS_0_PBcfg.h file are of the same vendor */
- #if (PDB_ADC_IP_VENDOR_ID_VS_0_PBCFG_C != PDB_ADC_IP_VENDOR_ID_VS_0_PBCFG_H)
- #error "Pdb_Adc_Ip_VS_0_PBcfg.c and Pdb_Adc_Ip_VS_0_PBcfg.h have different vendor ids"
- #endif
- /* Check if Pdb_Adc_Ip_VS_0_PBcfg.c file and Pdb_Adc_Ip_VS_0_PBcfg.h file are of the same Autosar version */
- #if ((PDB_ADC_IP_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_C != PDB_ADC_IP_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_H) || \
- (PDB_ADC_IP_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_C != PDB_ADC_IP_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_H) || \
- (PDB_ADC_IP_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_C != PDB_ADC_IP_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_H) \
- )
- #error "AutoSar Version Numbers of Pdb_Adc_Ip_VS_0_PBcfg.c and Pdb_Adc_Ip_VS_0_PBcfg.h are different"
- #endif
- /* Check if Pdb_Adc_Ip_VS_0_PBcfg.c file and Pdb_Adc_Ip_VS_0_PBcfg.h file are of the same Software version */
- #if ((PDB_ADC_IP_SW_MAJOR_VERSION_VS_0_PBCFG_C != PDB_ADC_IP_SW_MAJOR_VERSION_VS_0_PBCFG_H) || \
- (PDB_ADC_IP_SW_MINOR_VERSION_VS_0_PBCFG_C != PDB_ADC_IP_SW_MINOR_VERSION_VS_0_PBCFG_H) || \
- (PDB_ADC_IP_SW_PATCH_VERSION_VS_0_PBCFG_C != PDB_ADC_IP_SW_PATCH_VERSION_VS_0_PBCFG_H) \
- )
- #error "Software Version Numbers of Pdb_Adc_Ip_VS_0_PBcfg.c and Pdb_Adc_Ip_VS_0_PBcfg.h are different"
- #endif
- /*==================================================================================================
- * LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
- ==================================================================================================*/
- /*==================================================================================================
- * LOCAL MACROS
- ==================================================================================================*/
- /*==================================================================================================
- * LOCAL CONSTANTS
- ==================================================================================================*/
- /*==================================================================================================
- * LOCAL VARIABLES
- ==================================================================================================*/
- /*==================================================================================================
- * GLOBAL CONSTANTS
- ==================================================================================================*/
- /*==================================================================================================
- * GLOBAL VARIABLES
- ==================================================================================================*/
- #define ADC_START_SEC_CONFIG_DATA_UNSPECIFIED
- #include "Adc_MemMap.h"
- /**
- * @brief PDB Ip Config for Hardware Unit ADC1 for configuration variant VS_0.
- */
- const Pdb_Adc_Ip_ConfigType PdbAdcIpConfig_0_VS_0 =
- {
- PDB_ADC_IP_LOAD_VAL_IMMEDIATELY, /* LoadValueMode */
- (Pdb_Adc_Ip_ClkPrescalerDivType) 0U, /* PrescalerDiv */
- (Pdb_Adc_Ip_ClkPrescalerMultFactType) 0U, /* ClkPreMultFactor */
- PDB_ADC_IP_SOFTWARE_TRIGGER, /* TriggerSource */
- (boolean)FALSE, /* ContinuousModeEnable */
- (boolean)FALSE, /* DmaEnable */
- 65535U, /* ModValue */
- #if (STD_ON == FEATURE_PDB_HAS_INSTANCE_BACKTOBACK)
- (boolean)FALSE, /* InstanceBackToBackEnable */
- #endif /* (STD_ON == FEATURE_PDB_HAS_INSTANCE_BACKTOBACK) */
- #if (STD_ON == FEATURE_PDB_HAS_INTERCHANNEL_BACKTOBACK)
- (boolean)FALSE, /* InterChannelBackToBackEnable */
- #endif /* (STD_ON == FEATURE_PDB_HAS_INTERCHANNEL_BACKTOBACK) */
- 0u, /* NumChans */
- NULL_PTR, /* ChanConfigs */
- NULL_PTR /* SeqErrNotification */
- };
- #define ADC_STOP_SEC_CONFIG_DATA_UNSPECIFIED
- #include "Adc_MemMap.h"
- /*==================================================================================================
- * LOCAL FUNCTION PROTOTYPES
- ==================================================================================================*/
- /*==================================================================================================
- * LOCAL FUNCTIONS
- ==================================================================================================*/
- /*==================================================================================================
- * GLOBAL FUNCTIONS
- ==================================================================================================*/
- #ifdef __cplusplus
- }
- #endif
- /** @} */
|