目录
前往《Autosar深入理解-总目录》
前往《教你如何阅读Autosar代码-总目录》
1 CONST
/* CONST macro for the declaration and definition of constants
type type of the constant
memclass classification of the constant itself
*/
# define CONST(type, memclass) const type
type:常量的类型;
memclass:常量本身的分类;
编译器抽象应该为常量的声明和定义定义CONST宏。
2 VAR
/* VAR macro for the declaration and definition of variables
vartype