123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- #ifndef ADC_CFG_H
- #define ADC_CFG_H
- #ifdef __cplusplus
- extern "C"{
- #endif
- #include "Adc_CfgDefines.h"
- #include "Adc_Types.h"
- #include "Adc_VS_0_PBcfg.h"
- #define ADC_VENDOR_ID_CFG 43
- #define ADC_AR_RELEASE_MAJOR_VERSION_CFG 4
- #define ADC_AR_RELEASE_MINOR_VERSION_CFG 4
- #define ADC_AR_RELEASE_REVISION_VERSION_CFG 0
- #define ADC_SW_MAJOR_VERSION_CFG 1
- #define ADC_SW_MINOR_VERSION_CFG 0
- #define ADC_SW_PATCH_VERSION_CFG 0
- #if (ADC_VENDOR_ID_CFG != ADC_VENDOR_ID_CFGDEFINES_H)
- #error "Adc_Cfg.h and Adc_CfgDefines.h have different vendor ids"
- #endif
- #if ((ADC_AR_RELEASE_MAJOR_VERSION_CFG != ADC_AR_RELEASE_MAJOR_VERSION_CFGDEFINES_H) || \
- (ADC_AR_RELEASE_MINOR_VERSION_CFG != ADC_AR_RELEASE_MINOR_VERSION_CFGDEFINES_H) || \
- (ADC_AR_RELEASE_REVISION_VERSION_CFG != ADC_AR_RELEASE_REVISION_VERSION_CFGDEFINES_H) \
- )
- #error "AutoSar Version Numbers of Adc_Cfg.h and Adc_CfgDefines.h are different"
- #endif
- #if ((ADC_SW_MAJOR_VERSION_CFG != ADC_SW_MAJOR_VERSION_CFGDEFINES_H) || \
- (ADC_SW_MINOR_VERSION_CFG != ADC_SW_MINOR_VERSION_CFGDEFINES_H) || \
- (ADC_SW_PATCH_VERSION_CFG != ADC_SW_PATCH_VERSION_CFGDEFINES_H) \
- )
- #error "Software Version Numbers of Adc_Cfg.h and Adc_CfgDefines.h are different"
- #endif
- #if (ADC_VENDOR_ID_CFG != ADC_VENDOR_ID_TYPES_H)
- #error "Adc_Cfg.h and Adc_Types.h have different vendor ids"
- #endif
- #if ((ADC_AR_RELEASE_MAJOR_VERSION_CFG != ADC_AR_RELEASE_MAJOR_VERSION_TYPES_H) || \
- (ADC_AR_RELEASE_MINOR_VERSION_CFG != ADC_AR_RELEASE_MINOR_VERSION_TYPES_H) || \
- (ADC_AR_RELEASE_REVISION_VERSION_CFG != ADC_AR_RELEASE_REVISION_VERSION_TYPES_H) \
- )
- #error "AutoSar Version Numbers of Adc_Cfg.h and Adc_Types.h are different"
- #endif
- #if ((ADC_SW_MAJOR_VERSION_CFG != ADC_SW_MAJOR_VERSION_TYPES_H) || \
- (ADC_SW_MINOR_VERSION_CFG != ADC_SW_MINOR_VERSION_TYPES_H) || \
- (ADC_SW_PATCH_VERSION_CFG != ADC_SW_PATCH_VERSION_TYPES_H) \
- )
- #error "Software Version Numbers of Adc_Cfg.h and Adc_Types.h are different"
- #endif
- #if (ADC_VENDOR_ID_VS_0_PBCFG_H != ADC_VENDOR_ID_CFG)
- #error "Adc_VS_0_PBcfg.h and Adc_Cfg.h have different vendor IDs"
- #endif
- #if ((ADC_AR_RELEASE_MAJOR_VERSION_VS_0_PBCFG_H != ADC_AR_RELEASE_MAJOR_VERSION_CFG) || \
- (ADC_AR_RELEASE_MINOR_VERSION_VS_0_PBCFG_H != ADC_AR_RELEASE_MINOR_VERSION_CFG) || \
- (ADC_AR_RELEASE_REVISION_VERSION_VS_0_PBCFG_H != ADC_AR_RELEASE_REVISION_VERSION_CFG) \
- )
- #error "AutoSar Version Numbers of Adc_VS_0_PBcfg.h and Adc_Cfg.h are different"
- #endif
- #if ((ADC_SW_MAJOR_VERSION_VS_0_PBCFG_H != ADC_SW_MAJOR_VERSION_CFG) || \
- (ADC_SW_MINOR_VERSION_VS_0_PBCFG_H != ADC_SW_MINOR_VERSION_CFG) || \
- (ADC_SW_PATCH_VERSION_VS_0_PBCFG_H != ADC_SW_PATCH_VERSION_CFG) \
- )
- #error "Software Version Numbers of Adc_VS_0_PBcfg.h and Adc_Cfg.h are different"
- #endif
- #define ADC_CONFIG_EXT \
- ADC_CONFIG_VS_0_PB \
- #ifdef __cplusplus
- }
- #endif
- #endif
|