123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- #ifndef OS_CFG_H
- #define OS_CFG_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "Std_Types.h"
- #define OS_CFG_VENDOR_ID 43
- #define OS_CFG_MODULE_ID 0x01
- #define OS_CFG_AR_RELEASE_MAJOR_VERSION_H 4
- #define OS_CFG_AR_RELEASE_MINOR_VERSION_H 4
- #define OS_CFG_AR_RELEASE_REVISION_VERSION_H 0
- #define OS_CFG_SW_MAJOR_VERSION_H 1
- #define OS_CFG_SW_MINOR_VERSION_H 0
- #define OS_CFG_SW_PATCH_VERSION_H 0
- #ifndef DISABLE_MCAL_INTERMODULE_ASR_CHECK
-
- #if ((OS_CFG_AR_RELEASE_MAJOR_VERSION_H != STD_AR_RELEASE_MAJOR_VERSION) || \
- (OS_CFG_AR_RELEASE_MINOR_VERSION_H != STD_AR_RELEASE_MINOR_VERSION))
- #error "AutoSar Version Numbers of Os_cfg.h and Std_Types.h are different"
- #endif
- #endif
- #define OsCounter_0 0
- #define OS_TICKS2NS_OsCounter_0(x) 1000000000000U
- #define OS_TICKS2US_OsCounter_0(x) 1000000000U
- #ifdef __cplusplus
- }
- #endif
- #endif
|