当前位置:网站首页>【AutoSAR 九 C/S原理架构】
【AutoSAR 九 C/S原理架构】
2022-07-02 23:49:00 【柯宇谦】
AutoSAR 九 C/S原理架构
1 同步调用
- 同步调用Server是可以设置时限(Timeout)的,一旦超过时限就Return(timeout)。
- 同步是在Rte_Call的时候开始计时
2 异步调用
2.1 带时限 Timeout
- 异步调用的时限和同步调用的时限是不同的,同步是在Rte_Call的时候开始计时,异步是在RequestResult的时候开始计时。
2.2 循环等待 Polling
- 隔一段时间去索取一下结果,如果没有就继续执行下面的代码,直到下一个间隔再去索取一遍,最后直到索取到结果为止。
2.3 触发 Trigger
- 触发的方式有点像是ADC中断,一旦ADC转换完成会产生一个中断,在中断中将ADC数据做一些初步处理。
- 一旦Server执行完成后,就触发一个回调的Runnable2函数执行,将Server的数据Return到这个Runnable2中做一些初步处理(比如放入某个全局变量中供其他代码使用)
边栏推荐
- [shutter] image component (image component introduction | image constructor | image.network constructor | image.asset constructor)
- Detailed explanation of pod life cycle
- Go custom sort
- Win10 多种方式解决无法安装.Net3.5的问题
- 奥斯陆大学:Li Meng | 基于Swin-Transformer的深度强化学习
- An excellent orm in dotnet circle -- FreeSQL
- 可下载《2022年中国数字化办公市场研究报告》详解1768亿元市场
- Pat 1030 travel plan (30 points) (unfinished)
- 多进程编程(三):消息队列
- Bloom filter
猜你喜欢
【AutoSAR 五 方法论】
Rust ownership (very important)
logback配置文件
How SQLSEVER removes data with duplicate IDS
Bigder: how to deal with the bugs found in the 32/100 test if they are not bugs
Nacos+openfeign error reporting solution
Use Jenkins II job
redis21道经典面试题,极限拉扯面试官
pageoffice-之bug修改之旅
The "2022 China Digital Office Market Research Report" can be downloaded to explain the 176.8 billion yuan market in detail
随机推荐
图解网络:什么是虚拟路由器冗余协议 VRRP?
AEM: Nanlin fan Ben et al. - plant rhizosphere growth promoting bacteria control soybean blight
NC50528 滑动窗口
Centos7 one click compilation to build MySQL script
About qbytearray storage hexadecimal and hexadecimal conversion
Kubernetes simple introduction to writing YML
Hundreds of continuous innovation to create free low code office tools
Andorid 获取系统标题栏高度
Logback configuration file
Program analysis and Optimization - 9 appendix XLA buffer assignment
Nacos+openfeign error reporting solution
NC24325 [USACO 2012 Mar S]Flowerpot
NC24325 [USACO 2012 Mar S]Flowerpot
Detailed explanation of pod life cycle
可下载《2022年中国数字化办公市场研究报告》详解1768亿元市场
Some introduction and precautions about XML
v8
1.12 - 指令
Use Jenkins II job
AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决