-
Notifications
You must be signed in to change notification settings - Fork 2
/
Compiler.h
68 lines (53 loc) · 3.41 KB
/
Compiler.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*******************************************************************************
** **
** Copyright (C) AUTOSarZs olc (2019) **
** **
** All rights reserved. **
** **
** This document contains proprietary information belonging to AUTOSarZs **
** olc . Passing on and copying of this document, and communication **
** of its contents is not permitted without prior written authorization. **
** **
********************************************************************************
** **
** FILENAME : Compiler.h **
** **
** VERSION : 1.0.0 **
** **
** DATE : 2019-09-22 **
** **
** VARIANT : Variant PB **
** **
** PLATFORM : TIVA C **
** **
** AUTHOR : AUTOSarZs-DevTeam **
** **
** VENDOR : AUTOSarZs OLC **
** **
** **
** DESCRIPTION : CAN Driver source file **
** **
** SPECIFICATION(S) : Specification of CAN Driver, AUTOSAR Release 4.3.1 **
** **
** MAY BE CHANGED BY USER : no **
** **
*******************************************************************************/
#ifndef COMPILER_H
#define COMPILER_H
#define AUTOMATIC
#define TYPEDEF typedef
#define STATIC static
#define INLINE __inline__
#define FUNC(rettype,memclass) rettype
#define FUNC_P2VAR(rettype, ptrclass, memclass) rettype *(memclass)
#define FUNC_P2CONST(rettype, ptrclass, memclass)const rettype *(memclass)
#define P2VAR(ptrtype, memclass, ptrclass) ptrtype *
#define P2CONST(ptrtype, memclass, ptrclass) const ptrtype *
#define CONSTP2VAR(ptrtype,memclass,ptrclass) ptrtype * const
#define CONSTP2CONST(ptrtype, memclass, ptrclass) const ptrtype * const
#define P2FUNC(rettype,ptrclass,fctname) rettype (*fctname)
#ifndef CONST
#define CONST(consttype,memclass) const consttype
#endif
#define VAR(vartype,memclass) vartype
#endif /* COMPILER_H */