尧图网络 高端网站定制 · 原创设计
免费咨询热线
400-888-6620
免费获取方案
[AutoSar]DaVinci Developer 命名规范
目录关键词平台说明一、背景二、Component命名约定2.1Component Type CompositionCtCo2.2Component Type Application CtAp2.3Component Type SensorActuatorCtSa2.4Component Type Complex Driver CtCd2.5Component Type I/O Hardware Abstraction CtIo2.6Component Type Non_VoatileMemoryBlock CtNv2.7Component Type Service Proxy CtSp2.8Component Type Calibration CtCa2.9Component Prototype Cp三、Data命名约定3.1Application Data Type Adt3.2Implementation Data Type Idt3.3Compu Methods Cm3.4Data Contraints Dc3.5Constants C四、interface命名约定4.1Applacation S/R Port Interface Asr4.2Applacation C/S Port Interface Acs4.3Server S/R Port Interface Ssr4.4Server C/S Port Interface Scs五、runnable命名约定5.Runnable Entity关键词嵌入式、C语言、autosar、DaVinci Developer、命名规范 平台说明项目ValueOSautosar OSautosar厂商vector芯片厂商TI编程语言CC编译器HighTec (GCC)回到总目录一、背景该内容根据Vector 标准文档整理仅作参考根据项目添加了部分自定义内容为方便今后开发快速查阅。二、Component命名约定2.1Component Type CompositionCtCoConventionCtCo[Name]ExampleCtCOfunctionDescr该类型为多个component集合体常用于一个component无法实现功能需要分解为多个component。该类型可以被其他CtCo封装。Name的命名应该考虑到集合下的所有component的总体功能.2.2Component Type Application CtApConventionCtAp[Name]ExampleCtApMySwcDescr用于创建应用类型component。name 对应具体功能如信号处理滤波等2.3Component Type SensorActuatorCtSaConventionCtSa[Name]ExampleCtSaDoorDescr用于创建传感器或者执行器类型的component 例如开门温度传感器2.4Component Type Complex Driver CtCdConventionCtCd[Name]ExampleCtCOfunctionDescr用于创建复杂驱动类型的component2.5Component Type I/O Hardware Abstraction CtIoConventionCtIo[Name]ExampleCtIoOIAUC120Descr用于创建IO硬件抽象类型的component 一般用CS端口访问可直接与其他BSW模块交互2.6Component Type Non_VoatileMemoryBlock CtNvConventionCtNv[Name]ExampleCtNvStorageDescr创建用于操作非易失内存的component用于SWC直接操作NV2.7Component Type Service Proxy CtSpConventionCtSp[Name]ExampleCtSpEcu1Descr用于创建ECU之间的代理副本详情见官方文档AUTOSAR_EXP_VFB.pdf2.8Component Type Calibration CtCaConventionCtCa[Name]ExampleCtCaAngleDescr创建用于标定类型的component2.9Component Prototype CpConventionCpAp/Sa/Cd/Io/Ca [Name]ExampleCpCaAngleDescr用于在software design中的component实现三、Data命名约定3.1Application Data Type AdtConventionAdtb/v/s/ar/r/ Module NameExampleAdtvDoorAngleDescrb Booleanv Values Stringar Arrayr Record3.2Implementation Data Type IdtConventionIdtb/v/s/ar/r/ NameExampleIdtvDoorAngleDescrb Booleanv Values Stringar Arrayr Record3.3Compu Methods CmConventionCm Module NameExampleCmDoorAngleDescr3.4Data Contraints DcConventionDc Module NameExampleDescr3.5Constants CConventionCtc/nc/ac/rc/rec/apc_ NameExampleDescrtc Textual Constantnc Numeric Constantac Array Constantrc Reference Constantrec Reference Constant;apc Application Constant四、interface命名约定4.1Applacation S/R Port Interface AsrConventionAsr NameExampleDescr4.2Applacation C/S Port Interface AcsConventionAcs NameExampleDescr4.3Server S/R Port Interface SsrConventionSsr NameExampleDescr4.4Server C/S Port Interface ScsConventionScs NameExampleDescr五、runnable命名约定5.Runnable EntityConventionRunnable module name_功能描述init周期ExampleRunnableDoor_AglDet_10msDescr回到总目录
RELATED

相关推荐

使用paho.mqtt.embedded-c和openssl实现MQTT的单向认证功能

使用paho.mqtt.embedded-c和openssl实现MQTT的单向认证功能

1、背景 由于项目有需求在一个现有的产品上增加MQTT通信的功能,且出于安全考虑,MQTT要走TLS,采用单向认证的方式。 2、方案选择 由于是在现有的产品上新增功能,那么为了减少总的成本,故选择只动应用软件的来实现需求。…

📅 2026/9/27 22:14:42
dubbo 负载均衡之最小活跃度的实现原理

dubbo 负载均衡之最小活跃度的实现原理

1.概括dubbo 2.7 中提供了4中负载均衡算法,分别为:随机、轮询、一致性哈希、最小活跃度,分别对应于源码文件的 RandomLoadBalance.class、RoundRobinLoadBalance.class、ConsistentHashLoadBalance、LeastActiveLoadBalance.class。2.使用对于…

📅 2026/10/28 19:13:05
Electron Node.js 依赖升级实战指南:从 e sync --3 补丁冲突修复到上游测试套件运行

Electron Node.js 依赖升级实战指南:从 e sync --3 补丁冲突修复到上游测试套件运行

Electron Node.js 依赖升级实战指南:从 e sync --3 补丁冲突修复到上游测试套件运行 【免费下载链接】electron :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS 项目地址: https://gitcode.com/GitHub_Trending/el/electron …

📅 2026/9/7 9:56:13
MORE NEWS

更多资讯

📰

启动报Port 8088 was already in use?先查是谁占的

启动报Port 8088 was already in use?先查是谁占的 项目启动报 Port 8088 was already in use,意思很直白:这个端口已经有人占了。 先说原理:端口是"门牌号",一间房只住一个进程 端口就是一台机器上的门牌号…

📰

担心文档上云?本地运行的办公AI才敢放心用

单位上周开了个会,主题是"AI 提效",散会时领导补了一句:涉及客户资料的文档,不许往云端传。这话一出,会议室里本来跃跃欲试的同事全蔫了——大家平时用的那些在线 AI,文档一上传就不知道存哪儿去…

📰

先能用,再好用:从烂尾复盘到两周上线,全栈项目的‘原型—快速迭代‘方法论

先能用,再好用:从烂尾复盘到两周上线,全栈项目的“原型—快速迭代”方法论 全栈学习路径的文章已经很多了:怎么选技术栈、怎么搭环境、怎么记文档,几乎每个方向都有人写。但一个更扎心的问题很少有人正面讨论——为什…

📰

深度思考模式把 ARC-AGI-2 从 17.6% 拉到 45.1%:对照 Gemini 3 Pro 的三份能力评测,看‘会思考‘改写了哪些边界

深度思考模式把 ARC-AGI-2 从 17.6% 拉到 45.1%:对照 Gemini 3 Pro 的三份能力评测,看“会思考”改写了哪些边界 一、先说结论:变强的不是“知识”,而是“解法” 每次新模型发布,评测榜单都会涨几个点,大…

📰

1.c++入门篇

1.c中的关键字asmdoifreturntrycontinueautodoubleinlineshorttypedefforbooldynamic_castintsignedtypeidpublicbreakelselongsizeoftypenamethrowcaseenummutablestaticunionwchar_tcatchexplicitnamespacestatic_castunsigneddefaultcharexportnewstructusingfriendclassext…

📰

《江灯合声》:有可行的分框版,也仍可以选择连续鸣谢

武汉江岸区栎坡合唱团在免费节目册《江灯合声》中,以表格集中鸣谢资助者。各家共同要求改为独立小框,团里仍想保留表格。现有全名与支持事项清楚可见,双方此前未承诺具体排版。我支持保留表格。补充的试排材料让选择更具体:分框能…

TODAY

今日更新

THIS WEEK

本周精选

THIS MONTH

本月热门

读完文章,想聊聊您的网站?

告诉我们您的行业与需求,资深顾问一对一梳理方案与报价,全程免费。

📞 💬